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>"
  ]
}

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.