---
title: "MCP JSON-RPC Endpoint"
method: POST
path: "/api/v1/gateway/mcp/endpoint"
tags: ["MCP"]
---

# MCP JSON-RPC Endpoint

`POST /api/v1/gateway/mcp/endpoint`

## Request

- Base URL: `http://dobby-ai.com`
- URL: `http://dobby-ai.com/api/v1/gateway/mcp/endpoint`
- Auth: HTTP bearer

Handle MCP JSON-RPC 2.0 messages. Supports tools/list, tools/call, resources/list, etc.

## Headers

- `X-Tenant-Id` string, required

## Request body

- JsonRpcRequest
  - `jsonrpc` string, required
  - `id` integer
  - `method` string, required
  - `params` object

## Response `200`

JSON-RPC response

- JsonRpcResponse
  - `jsonrpc` string
  - `id` integer
  - `result` object
  - `error` object

---

[API](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api.md) · [All operations](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dobby-ai/apis/dobby-gateway-api/revisions/c189542f9647?raw)
