/** * MCP stdio server adapter for semantic codebase search. * * Exposes the SearchEngine as a single "search" tool over the Model Context Protocol, * enabling any MCP-compatible client to run semantic codebase queries. * * The server defaults to using its CWD as the search directory. Claude Code * launches MCP servers with CWD set to the project root, so no configuration * is needed for typical per-project usage. */ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; /** * Create an MCP server instance configured with the semantic search tool. * * @param defaultSearchDir - Default directory to index and search. Used when * the client doesn't specify `searchDir` in the tool call. Typically the * server's CWD, which Claude Code sets to the project root. */ export declare function createMcpServer(defaultSearchDir: string): Server; /** * Create and start an MCP server over stdio. * This blocks until the transport is closed. */ export declare function startServer(searchDir: string): Promise; //# sourceMappingURL=mcp-server.d.ts.map