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

# MCP JSON-RPC proxy

`POST /mcp`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/mcp`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

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.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
