---
title: "Handle native MCP Streamable HTTP JSON-RPC"
method: POST
path: "/api/mcp"
---

# Handle native MCP Streamable HTTP JSON-RPC

`POST /api/mcp`

## Request

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

Native MCP endpoint for clients such as Claude Code, Cursor, OpenAI Codex, and Windsurf. Use the official MCP client transport rather than hand-written OpenAPI calls when possible.

## Request body

- object: MCP JSON-RPC initialize, tools/list, tools/call, resources, or prompts request.

## Response `200`

MCP JSON-RPC or SSE response

- object

## Other responses

- `401`: Missing or invalid API key/session

---

[API](https://skmtc.dev/pascal/apis/pascal-editor-scene-api.md) · [All operations](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/revisions/08f1f3f41067?raw)
