localvectordb_server.mcp package
LocalVectorDB MCP Server Module
Provides Model Context Protocol (MCP) server implementation for LocalVectorDB, enabling LLMs and tools like Claude Desktop to interact with vector databases.
Submodules
- localvectordb_server.mcp.config module
MCPConfigMCPConfig.modeMCPConfig.databases_rootMCPConfig.databases_mapMCPConfig.db_defaultsMCPConfig.remote_defaultsMCPConfig.max_concurrent_operationsMCPConfig.operation_timeoutMCPConfig.log_operationsMCPConfig.log_levelMCPConfig.read_only_toolsMCPConfig.write_toolsMCPConfig.check_write_permission()MCPConfig.get_database_path()MCPConfig.get_enabled_tools()MCPConfig.from_env()MCPConfig.from_file()MCPConfig.load()MCPConfig.__init__()
- localvectordb_server.mcp.server module
MCPManagerlifespan()register_tool()register_mcp_tool()list_databases()get_database_info()query_database()find_related_documents()filter_documents()get_document()check_documents_exist()get_metadata_schema()get_system_info()create_database()delete_database()upsert_documents()update_document()patch_document()delete_document()update_metadata_schema()run_mcp_server()