Skip to main content
POST
/
mcp
curl --request POST \
  --url https://api.peel.sh/mcp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-11-25",
    "capabilities": {},
    "clientInfo": {
      "name": "example-client",
      "version": "1.0.0"
    }
  }
}
'
{
  "jsonrpc": "<string>",
  "result": {},
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

OAuth bearer token issued by Peel for hosted MCP clients.

Headers

Accept
string

Should include "application/json" and "text/event-stream".

MCP-Protocol-Version
enum<string>

Use the negotiated MCP protocol version on requests after initialize. If omitted, the server falls back to 2025-03-26 for backward compatibility.

Available options:
2025-11-25,
2025-03-26

Body

application/json
jsonrpc
string
required
Allowed value: "2.0"
method
string
required
Allowed value: "initialize"
params
object
required
id

Response

JSON-RPC result or error envelope.

jsonrpc
string
required
Allowed value: "2.0"
result
required
id