Loading
Handle ping requests in Orbit MCP server
What does this MR do?
POST /api/v4/orbit/mcp answered ping requests with HTTP 404 and JSON-RPC error -32601 Method not found. The Model Context Protocol specification requires the server to reply with an empty result ({}).
- Add
McpHandlers::Pinghandler that returns an empty hash{} - Register
pinginJSONRPC_METHOD_HANDLERS - Add unit spec for
McpHandlers::Ping - Add request spec asserting HTTP 200 and empty result
{}
References
Relates to #633038 (closed)
Issue #634954 (closed)
Edited by Abdullah Ayman