Skip to main content
POST
/
mcp
Send a JSON-RPC request to the MCP server
curl --request POST \
  --url https://app.myhero.so/mcp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "<string>",
  "params": "<unknown>",
  "result": "<unknown>",
  "id": "<string>"
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": [
    "<unknown>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Implements the MCP Streamable HTTP transport (spec 2025-03-26). Accepts a JSON-RPC 2.0 message or batch array whose shape varies per method (initialize, tools/call, resources/list, etc.). Include mcp-session-id to resume an existing session; omit it to start a new one. The response may be a single JSON-RPC reply or an SSE stream depending on the request.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

mcp-session-id
string

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
string
params
any
result
any
error
object
id

Response

JSON-RPC response or SSE stream of responses.