---
title: "MCP JSON-RPC proxy"
method: POST
path: "/mcp"
tags: ["MCP"]
---

# MCP JSON-RPC proxy

`POST /mcp`

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.

## Headers

- `X-Grafana-Org-Id` string

## Request body

- MCPRequest — MCP JSON-RPC 2.0 request
  - `jsonrpc` '2.0', required
  - `id` string, nullable — Request ID (string or integer, nullable for notifications)
  - `method` string, required — MCP method name (e.g., 'tools/list', 'tools/call')
  - `params` object — Method-specific parameters

## Response `200`

MCP JSON-RPC 2.0 response

- MCPResponse — MCP JSON-RPC 2.0 response
  - `jsonrpc` '2.0', required
  - `id` string, nullable, required — Request ID matching the original request
  - `result` unknown
  - `error` object — Error object (mutually exclusive with result)
    - `code` integer, required
    - `message` string, required
    - `data` unknown

## Other responses

- `400` — Bad request (invalid parameters or malformed request body)
- `500` — Internal server error

---

[API](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) · [All operations](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/consensys/ask-o11y-ai-powered-observability-assistant-api/versions/3ccc03eccaef/schema)
