UNPKG

@codai/cbd

Version:

Codai Better Database - High-Performance Vector Memory System with HPKV-inspired architecture and MCP server

56 lines 1.27 kB
/*! * CBD MCP Server * Model Context Protocol server for CBD (Codai Better Database) * Provides direct vector database operations and management */ import { CBDMCPConfig } from './config.js'; export declare class CBDMCPServer { private server; private engine; private config; private initialized; constructor(config?: Partial<CBDMCPConfig>); /** * Setup MCP request handlers */ private setupHandlers; /** * Ensure the CBD engine is initialized */ private ensureInitialized; /** * Handle health check tool */ private handleHealthCheck; /** * Handle get server stats tool */ private handleGetServerStats; /** * Handle vector search tool */ private handleVectorSearch; /** * Handle vector store tool */ private handleVectorStore; /** * Handle search memory tool */ private handleSearchMemory; /** * Handle get memory tool */ private handleGetMemory; /** * Start the MCP server */ start(): Promise<void>; /** * Stop the MCP server */ stop(): Promise<void>; } export { CBDMCPConfig } from './config.js'; export * from './types.js'; //# sourceMappingURL=server.d.ts.map