---
title: "MCP Streamable HTTP transport"
method: POST
path: "/api/mcp"
---

# MCP Streamable HTTP transport

`POST /api/mcp`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/mcp`
- Auth: HTTP bearer

Model Context Protocol (MCP) Streamable HTTP endpoint served by the Donut backend. Clients negotiate MCP over JSON-RPC with a Donut personal bearer token. Tool schemas are defined by the MCP protocol, not this OpenAPI document. Requests without a current valid token receive 401 without a sign-in redirect. When an Origin header is supplied, invalid origins are refused with 403.

## Headers

- `Accept` unknown, required
- `Origin` unknown

## Response `200`

JSON-RPC response

- unknown

## Other responses

- `401`: Missing, invalid, or withdrawn personal token
- `403`: Invalid Origin header

## Changes

- **2026-10-27** `e29bde250ffb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/changes/api/mcp/post.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api.md) - [All operations](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/revisions/193c5e89085a?raw)
