v1

latestOpenAPI 3.0.3MIT2026-07-17323590.7 KB
MCP

MCP JSON-RPC proxy

Raw MCP protocol JSON-RPC 2.0 proxy endpoint. Forwards requests to configured MCP servers. This is a low-level endpoint; most users should use /api/mcp/tools and /api/mcp/call-tool instead.

post/mcp

Headers

X-Grafana-Org-Idstring

Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.

Request body

jsonrpc'2.0' required
idstring nullable

Request ID (string or integer, nullable for notifications)

methodstring required

MCP method name (e.g., 'tools/list', 'tools/call')

paramsobject

Method-specific parameters

Response

MCP JSON-RPC 2.0 response

jsonrpc'2.0' required
idstring nullable required

Request ID matching the original request

{"stackTrail":"components:schemas:MCPResponse:properties:result","oasType":"schema","type":"unknown","description":"Success result (mutually exclusive with error)"}