---
title: "MCP endpoint"
method: POST
path: "/v1/mcp"
tags: ["MCP"]
---

# MCP endpoint

`POST /v1/mcp`

## Request

- Base URL: `https://www.chatrail.dev`
- URL: `https://www.chatrail.dev/v1/mcp`
- Auth: HTTP bearer

Model Context Protocol over a stateless streamable HTTP transport. Read-only by default; mutating tools preview and apply only when called again with `confirm: true`. No tool returns message content.

## Response `200`

An MCP response.

## Other responses

- `402`: MCP is not on this plan.

---

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