Skip to main content

What is the MCP Protocol?

The Model Context Protocol (MCP) is an open standard for communication between AI clients (Claude, Cursor, Windsurf) and tool servers. GetMCP implements the MCP specification using the Streamable HTTP transport.

Endpoint

Each GetMCP server exposes a single HTTP endpoint:

Transport: Streamable HTTP

All MCP requests use the Streamable HTTP transport:

Headers

Required for POST requests:
Optional session tracking:
If Mcp-Session-Id is not provided, a new session ID is generated and returned in the response. Authentication (if server requires it):

JSON-RPC 2.0

All POST request bodies and responses follow the JSON-RPC 2.0 specification.

Request Format

Response Format

Success:
Error:

Batch Requests

GetMCP supports JSON-RPC batch requests — send an array of request objects and receive an array of responses:

Notifications

Requests without an id field are notifications. GetMCP processes them but returns no response (HTTP 202).

Supported Methods

Error Codes