/** * AgentProbe MCP Server - Expose AgentProbe as MCP tools for any AI agent. * * Tools: * run_test - Run a single test file * run_suite - Run a test suite * analyze_trace - Analyze an agent trace * security_scan - Run security scan on agent traces * generate_test - Generate test from natural language description * compare_results - Compare two test runs * get_coverage - Get test coverage report * benchmark_agent - Run benchmark suite * compliance_audit - Run compliance audit * mcp_security_scan - Scan MCP server security */ export interface MCPToolDefinition { name: string; description: string; inputSchema: { type: 'object'; properties: Record; required?: string[]; }; } export interface MCPServerOptions { /** Working directory for test/trace resolution */ cwd?: string; /** Enable debug logging to stderr */ debug?: boolean; } export declare class AgentProbeMCPServer { private initialized; private buffer; private readonly cwd; private readonly debug; constructor(opts?: MCPServerOptions); /** Start the server on stdin/stdout. */ start(): void; private log; private send; private onData; private handleNotification; private handleRequest; private handleInitialize; private handleToolsList; private handleToolsCall; /** Get tool definitions (for testing). */ getTools(): MCPToolDefinition[]; /** Get tool names. */ getToolNames(): string[]; } /** * Create and start an MCP server instance. */ export declare function startMCPServer(opts?: MCPServerOptions): AgentProbeMCPServer; //# sourceMappingURL=mcp-server.d.ts.map