/**
 * MCP (Model Context Protocol) server for codegraph.
 * Exposes codegraph queries as tools that AI coding assistants can call.
 *
 * Requires: npm install @modelcontextprotocol/sdk
 */
import { findDbPath } from '../db/index.js';
import type { CodegraphConfig, MCPServerOptions } from '../types.js';
export interface McpToolContext {
    dbPath: string | undefined;
    getQueries(): Promise<any>;
    getDatabase(): any;
    findDbPath: typeof findDbPath;
    allowedRepos: string[] | undefined;
    MCP_MAX_LIMIT: number;
}
interface MCPServerOptionsInternal extends MCPServerOptions {
    config?: CodegraphConfig;
}
export declare function startMCPServer(customDbPath?: string, options?: MCPServerOptionsInternal): Promise<void>;
export {};
//# sourceMappingURL=server.d.ts.map