---
title: "MCP server endpoint (GET/streaming)"
method: GET
path: "/api/mcp"
tags: ["MCP"]
---

# MCP server endpoint (GET/streaming)

`GET /api/mcp`

## Request

- Base URL: `https://intentdocs.com`
- URL: `https://intentdocs.com/api/mcp`
- Auth: OAuth 2 (authorization code, authorization URL `https://intentdocs.com/api/oauth/authorize`, token URL `https://intentdocs.com/api/oauth/token`, scopes: `read:maps`, `write:maps`)

MCP Server-Sent Events endpoint for streaming responses.

## Response `200`

SSE stream of MCP events

## Other responses

- `401`: Unauthorized — pass a Bearer intent_cli_* token

---

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