Motivation
Code-Mode clients (Anthropic, Cloudflare) generate typed wrappers from tool schemas. Exposing schemas at a discoverable HTTP endpoint (rather than only inside tools/list payloads) makes codegen and IDE tooling straightforward.
Proposal
GET /mcp/tools → list of { name, summary } for all registered tools
GET /mcp/tools/{name}/schema → full JSON Schema for that tool's input + output
Auth model mirrors tools/list (anonymous discovery allowed; no data access).
Acceptance criteria
Related
Part of the "Code Mode" support umbrella. Enables the TypeScript SDK sample (separate issue).
Motivation
Code-Mode clients (Anthropic, Cloudflare) generate typed wrappers from tool schemas. Exposing schemas at a discoverable HTTP endpoint (rather than only inside
tools/listpayloads) makes codegen and IDE tooling straightforward.Proposal
GET /mcp/tools→ list of{ name, summary }for all registered toolsGET /mcp/tools/{name}/schema→ full JSON Schema for that tool's input + outputAuth model mirrors
tools/list(anonymous discovery allowed; no data access).Acceptance criteria
MCPProtocolController(or sibling controller)AzureCosmosDB.MCP.Toolkit.TestsRelated
Part of the "Code Mode" support umbrella. Enables the TypeScript SDK sample (separate issue).