Handle native MCP Streamable HTTP JSON-RPC

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.

post/api/mcp

Request

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

Request body

object required

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

Response

MCP JSON-RPC or SSE response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.