/** * Instrumented MCP server — patches registerTool to wrap callbacks with timing. * Zero changes to any tool file — instrumentation is invisible to them. */ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { MetricsCollector } from "./metrics-collector.js"; /** * Patch the server's registerTool method to wrap all tool callbacks with * timing instrumentation. Returns the same server instance (mutated). */ export declare function createInstrumentedServer(server: McpServer, collector: MetricsCollector): McpServer; //# sourceMappingURL=instrumented-server.d.ts.map