---
title: "MCP transport (Streamable HTTP): JSON-RPC requests"
method: POST
path: "/mcp"
tags: ["MCP"]
---

# MCP transport (Streamable HTTP): JSON-RPC requests

`POST /mcp`

## Request

- Base URL: `https://api.historis.app`
- URL: `https://api.historis.app/mcp`
- Auth: HTTP bearer

Model Context Protocol endpoint. The server is stateless: only POST is supported (GET/DELETE return 405 Allow: POST). Authenticated with a Supabase OAuth 2.1 access token (Bearer); an unauthenticated request returns 401 with a WWW-Authenticate challenge pointing at /.well-known/oauth-protected-resource (RFC 9728).

## Request body

- object

## Response `200`

JSON-RPC response

- object

## Other responses

- `400`: Request failed schema validation
- `401`: Missing or invalid credentials
- `429`: Rate limit exceeded for the caller's identity/plan
- `500`: Internal server error

---

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