Skip to main content
POST
/
mcp
curl --request POST \
--url https://api.altostrat.io/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": "req-1",
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18"
}
}'
{
  "jsonrpc": "2.0",
  "result": {},
  "id": "request-id-12345"
}

Authorizations

Authorization
string
header
required

Authentication is performed via an OAuth 2.0 Bearer Token. The token should be included in the Authorization header.

Body

application/json

A standard JSON-RPC 2.0 request object. The params will vary based on the method.

jsonrpc
string
required

Specifies the version of the JSON-RPC protocol. MUST be "2.0".

Example:

"2.0"

method
string
required

A string containing the name of the method to be invoked.

Example:

"tools/list"

id
string
required

A unique identifier established by the client. The server MUST reply with the same value in the response.

Example:

"request-id-12345"

params
object

A structured value that holds the parameter values to be used during the invocation of the method. The structure of this object is method-dependent.

Example:
{ "limit": 20, "cursor": "abc-123" }

Response

A standard JSON-RPC 2.0 success response. The structure of the result object depends on the method called in the request.

jsonrpc
string
required

Specifies the version of the JSON-RPC protocol.

Example:

"2.0"

result
object
required

The value returned by the invoked method. Its structure is determined by the specific method that was called.

id
string
required

The identifier from the corresponding request.

Example:

"request-id-12345"