UNPKG

lance-mcp

Version:

MCP server for interacting with LanceDB database

10 lines (9 loc) 535 B
import * as lancedb from "@lancedb/lancedb"; import { LanceDB } from "@langchain/community/vectorstores/lancedb"; export declare let client: lancedb.Connection; export declare let chunksTable: lancedb.Table; export declare let chunksVectorStore: LanceDB; export declare let catalogTable: lancedb.Table; export declare let catalogVectorStore: LanceDB; export declare function connectToLanceDB(databaseUrl: string, chunksTableName: string, catalogTableName: string): Promise<void>; export declare function closeLanceDB(): Promise<void>;