---
title: "Handle Mcp Message"
method: POST
path: "/api/mcp"
tags: ["mcp"]
---

# Handle Mcp Message

`POST /api/mcp`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/mcp`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Handle MCP protocol messages via HTTP transport.

This endpoint implements the MCP Streamable HTTP transport.
Clients send JSON-RPC 2.0 messages and receive responses.

Supported methods:
- initialize: Protocol handshake
- notifications/initialized: Client acknowledgment (notification, no response)
- tools/list: List available tools
- tools/call: Execute a tool

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
