# MCP Streamable HTTP JSON-RPC

> POST /mcp: MCP Streamable HTTP JSON-RPC

`POST https://usedocs.app/mcp`

Model Context Protocol endpoint (JSON-RPC 2.0). Tools: ask_docs, search_docs, get_bot_config. Pass botId and botKey in tool arguments. See https://usedocs.app/developers#mcp.

## Request body

Required, `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `jsonrpc` | `string` | Yes |  |
| `id` | `any` |  |  |
| `method` | `string` | Yes |  |
| `params` | `object` |  |  |

## Responses

| Status | Description |
| --- | --- |
| `200` | JSON-RPC response |
| `400` | Structured JSON error |

## Response fields

| Field | Type | Description |
| --- | --- | --- |
| `jsonrpc` | `string` |  |
| `id` | `any` |  |
| `result` | `any` |  |
| `error` | `object` |  |