> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://docs.butterix.com/en/llms.txt
> - v0: https://docs.butterix.com/en/v0/llms.txt

> For the MDX source of any page, append .mdx to the page URL.
> For a complete documentation index, see https://docs.butterix.com/en/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.butterix.com/_mcp/server.
> If something on this page is wrong or missing, POST JSON {"page": "<page URL>", "message": "<what is wrong>"} to https://docs.butterix.com/_biti/feedback/agent.

# Organization MCP server

`POST /mcp`

The organization's MCP server (Streamable HTTP transport, JSON responses), read-only. Accepts organization API keys only; for the tools see [Hosted platform](https://docs.butterix.com/en/guides/deploy/platform.md#organization-mcp-server).
`GET` requests get 405; each API key is limited to 120 calls per minute, beyond which you get 429.

Base URL: https://api.butterix.com/v1

Authentication: bearer token in Authorization header

## Request body

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `jsonrpc` | "2.0" | yes | Allowed: `2.0`. |
| `id` | string | no |  |
| `method` | enum | yes | Allowed: `initialize`, `ping`, `tools/list`, `tools/call`. |
| `params` | object | no |  |

## Example request

```bash
curl -X POST https://api.butterix.com/v1/mcp \
     -H "Authorization: Bearer <token>" \
     -H "Content-Type: application/json" \
     -d '{
         "jsonrpc": "2.0",
         "id": 1,
         "method": "tools/call",
         "params": {
           "name": "list_sites",
           "arguments": {}
         }
       }'
```

## Responses

### 200

JSON-RPC response

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `jsonrpc` | string | no |  |
| `id` | string | no |  |
| `result` | object | no |  |
| `error` | object | no |  |
| `error.code` | integer | no |  |
| `error.message` | string | no |  |

### 202

Notification, no response body

### 401

Not logged in, or invalid credentials

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `error` | string | yes | Human-readable error message |
| `code` | string | no | Machine-readable error code (some endpoints) |

### Example response (200)

```json
{
  "jsonrpc": "string",
  "id": "string",
  "result": {},
  "error": {
    "code": 1,
    "message": "string"
  }
}
```
