Repository navigation
Description
Summary
The REST tool-listing surface was removed upstream, but the docs still present it as available. Gateway v0.56.1 dropped GET /v1/mcp/tools: the route is gone from cmd/gateway/main.go and ListToolsResponse / MCPTool are gone from openapi.yaml, so the request now falls through to the 404 NoRoute handler. The same schemas v0.34.2 sync removed the listing method from every SDK: Python list_tools (python-sdk v0.21.0), TypeScript listTools (typescript-sdk v0.25.1), Go ListTools (sdk v1.40.1) and Rust list_tools (rust-sdk v0.27.1). Tool discovery now goes through tools/list on POST /mcp, which the SDKs expose as mcp_jsonrpc / mcpJsonRpc / MCPJSONRPC / mcp_json_rpc, each with a protected-resource-metadata getter.
Two related MCP claims have no code behind them either. GET /v1/mcp/health was never a gateway route, since cmd/gateway/main.go registers no /v1/mcp/* routes. The mcp_* metric names in mcp.md are never emitted. MCP tool calls are recorded as inference_gateway_tool_calls_total (gen_ai_tool_type=mcp) and gen_ai_execute_tool_duration_seconds in internal/platform/otel/otel.go.
Acceptance Criteria
-
api-reference.md"MCP status endpoints": removeGET /v1/mcp/tools(removed in gateway v0.56.1, now 404) andGET /v1/mcp/health(never registered incmd/gateway/main.go); point tool discovery attools/listonPOST /mcpand health probes atGET /health -
api-reference.md"MCP Tool Schemas": removeListToolsResponseandMCPTool, which no longer exist in the gatewayopenapi.yaml -
mcp.md: remove the "Check MCP Server Health" section (GET /v1/mcp/health), the note that the legacyGET /v1/mcp/toolslisting "is being removed" (it is gone), and thecurl http://localhost:8080/v1/mcp/healthline under Troubleshooting > Health Checks -
mcp.md"Metrics": replacemcp_requests_total,mcp_request_durationandmcp_tool_calls_total(never emitted) with the series the gateway records for MCP tool calls:inference_gateway_tool_calls_totalwithgen_ai_tool_type=mcp, andgen_ai_execute_tool_duration_seconds(as listed inobservability.md) -
sdks.md"Picking an SDK": the sentence "The SDKs exposelist_toolsfor discovery" and theMCP_EXPOSE"listing endpoint" note are outdated; no SDK ships a listing method any more, and discovery goes throughtools/listonPOST /mcp -
sdks.mdPython "Models, tools, and health": droplist_toolsand its example (removed in python-sdk v0.21.0); covermcp_jsonrpcandget_mcp_protected_resource_metadatainstead -
sdks.mdTypeScript "Models, tools, and health": droplistToolsand its example (removed in typescript-sdk v0.25.1); covermcpJsonRpcandgetMCPProtectedResourceMetadatainstead -
sdks.mdGo "Models, tools, and health": dropListTools, the "/mcp/toolsendpoint" sentence and the example call (removed in sdk v1.40.1); coverMCPJSONRPCandGetMCPProtectedResourceMetadatainstead -
sdks.mdRust "Models, tools, and health": droplist_toolsandListToolsResponsefrom the prose, the imports and the example (removed in rust-sdk v0.27.1); covermcp_json_rpcandmcp_protected_resource_metadatainstead
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 25, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Sep 25, 2026
Claude finished @edenreich's task in 6m 6s —— View job •
docs/issue-775-20260925-2134• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-775-20260925-2134?quick_pull=1&title=Issue%20%23775%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23775%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #783
api-reference.md,mcp.md,sdks.md)api-reference.md: droppedGET /v1/mcp/tools+GET /v1/mcp/health; the section now states no/v1/mcp/*routes are registered and points discovery attools/listonPOST /mcp, probes atGET /healthapi-reference.md: removed the whole "MCP Tool Schemas" section (ListToolsResponse,MCPTool) and the dangling#listtoolsresponselinkmcp.md: removed "Check MCP Server Health", the "is being removed" note, and the/v1/mcp/healthcurl under Troubleshooting > Health Checksmcp.md: Metrics now listsinference_gateway_tool_calls_total(gen_ai_tool_type=mcp) andgen_ai_execute_tool_duration_seconds, linking Observabilitysdks.md: "Picking an SDK" prose fixed; the capability row is now "MCP JSON-RPC client"sdks.md: Python / TypeScript / Go / Rust sections covermcp_jsonrpc/mcpJsonRpc/MCPJSONRPC/mcp_json_rpcplus each protected-resource-metadata getterlint:md,format:check,bun test(12 pass),build- all greenNotes
mcp_jsonrpc(method, params, request_id, client_info), the TSSchemaMcpjsonrpcRequestenvelope, Go'ssdk.NewMCPJSONRPCRequest+sdk.ToolsList/sdk.ToolsCall, and Rust'sMcpjsonrpcRequest::tools_list/tools_callconstructors.resultis an untyped JSON object in all four, so the examples narrow it explicitly instead of pretending there is a typedtoolsfield.mcp_errors_totalwas dropped alongside the other threemcp_*names (equally never emitted), and the capability matrix row "MCP tools (list)" was renamed, since it asserted the same removed feature.GET /healthresponse inapi-reference.mdis a bare200 OKwith no dependency detail, so I did not claim it reports per-MCP-server health.Tracked on the Roadmap 2026 board, Status = QA.
| branch
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.9.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀