POST
/
mcp
curl --request POST \
--url https://api.stackone.com/mcp \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'x-account-id: <x-account-id>' \
--data '{
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"clientInfo": {
"name": "my-client",
"version": "1.0.0"
},
"protocolVersion": "2025-03-26",
"capabilities": {}
},
"id": "init-1"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

x-account-id
string
required

Account secure id for the target provider account

mcp-session-id
string

Session id; omit for initialize, include for subsequent calls

Body

application/json

JSON-RPC 2.0 message

The body is of type object.

Response

Processed successfully