---
title: "Versioned alias of /mcp"
method: POST
path: "/api/v2/agent/mcp"
tags: ["mcp"]
---

# Versioned alias of /mcp

`POST /api/v2/agent/mcp`

Identical to POST /mcp. The path carries the API version explicitly for clients that pin versions in the URL.

## Request body

- JsonRpcRequest — A JSON-RPC 2.0 request as defined by the Model Context Protocol.
  - `jsonrpc` '2.0', required
  - `id` union — Request id. Omitted for notifications.
    - string
    - number
  - `method` string, required — MCP method, e.g. initialize, tools/list, tools/call.
  - `params` object — Method parameters. For tools/call: { name, arguments }.

## Response `200`

JSON-RPC response (or SSE stream of responses).

- JsonRpcResponse — A JSON-RPC 2.0 response from the MCP server.
  - `jsonrpc` '2.0', required
  - `id` union
    - string
    - number
  - `result` object
  - `error` object
    - `code` integer, required
    - `message` string, required
    - `data` unknown

## Other responses

- `401` — Missing, expired, or revoked credential. The WWW-Authenticate header points at the RFC 9728 protected resource metadata to bootstrap OAuth discovery.
- `429` — Too many requests for this credential in the current window. Wait Retry-After seconds and retry.

---

[API](https://skmtc.dev/superset/apis/superset-api.md) · [All operations](https://skmtc.dev/superset/apis/superset-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/superset/superset-api/revisions/dee6e20fae0d/schema)
