---
title: "MCP server (Model Context Protocol)"
method: POST
path: "/api/mcp"
tags: ["System"]
---

# MCP server (Model Context Protocol)

`POST /api/mcp`

Stateless Streamable HTTP transport for MCP-compatible AI agents.
Provides 5 tools: get_context, get_metric, list_briefings, list_metrics, get_health.

Configure in your MCP client:
```json
{
  "mcpServers": {
    "prereason": {
      "url": "https://api.prereason.com/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

## Response `200`

MCP response

## Other responses

- `401` — Authentication required

---

[API](https://skmtc.dev/prereason/apis/prereason-api.md) · [All operations](https://skmtc.dev/prereason/apis/prereason-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prereason/prereason-api/revisions/2a607b0906fc/schema)
