/** * MCP console endpoints — the dashboard's /mcp page lists every * registered tool and lets the operator invoke one with JSON args. Runs * in-process against the same ToolContext the MCP server uses, so * behavior matches a call from Claude Code 1:1. * * - GET /api/mcp/tools — catalog: name, description, inputSchema * - POST /api/mcp/tools/:name/invoke — execute with JSON args; returns result + elapsed ms + traceId */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=mcp-tools.d.ts.map