Endpoints
| Endpoint | Methods | Purpose |
|---|---|---|
/mcp | GET, POST, DELETE | MCP Streamable HTTP. Handles tools/list, tools/call, and session lifecycle. |
/heartbeat | GET | Returns {"success": true} when the server is accepting connections. |
tools/list
Returns all registered tools with their input schemas.
Request:
Schema generation
Input schemas are generated from the tool’sinputs block:
.terse type | JSON Schema type |
|---|---|
string | "string" |
int | "integer" |
float | "number" |
boolean | "boolean" |
datetime | "string" |
required array.
tools/call
Executes a tool with the provided arguments.
Request:
content array contains one text entry with JSON-encoded tool results.
Error response:
Heartbeat
200 OK when the HTTP server is accepting connections, regardless of connector health.
CORS
The runtime applies CORS headers to all responses:- Origins:
*(all) - Methods:
GET,POST,DELETE,OPTIONS - Headers:
Content-Type,Authorization,X-API-Key,Mcp-Session-Id
OPTIONS) requests are handled automatically. For production deployments behind a reverse proxy, configure CORS at the proxy layer and restrict the built-in policy to your domain.
HTTP headers in the execution context
HTTP request headers fromtools/call requests are forwarded into the execution pipeline so auth plugins can evaluate authentication data (X-API-Key, Authorization, and custom headers) when making access decisions.
Session management
The MCP Streamable HTTP transport supports session-based interaction via theMcp-Session-Id header. DELETE /mcp terminates a session.
For stateless tool invocation — the common case — sessions are not required. Each POST /mcp with a tools/call method is independently executed.