Skip to main content
POST
/
mcp
/
connections
/
{connectionId}
curl --request POST \
  --url https://mcp.cloud.cdata.com/mcp/connections/{connectionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {},
    "clientInfo": {
      "name": "my-client",
      "version": "1.0.0"
    }
  },
  "id": 1
}
'
{
  "jsonrpc": "2.0",
  "id": "<string>",
  "result": {},
  "error": {
    "code": 123,
    "message": "<string>",
    "data": "<unknown>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt

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

Authorizations

Authorization
string
header
required

JWT token authentication. Include the token in the Authorization header as 'Bearer '.

Path Parameters

connectionId
string<uuid>
required

The unique identifier of the connection to scope this request to.

Body

application/json
jsonrpc
enum<string>
required

JSON-RPC protocol version. Must be "2.0".

Available options:
2.0
method
string
required

MCP method name (e.g., initialize, tools/list, tools/call).

params
object

Method-specific parameters. May be omitted for parameterless methods.

id

Request identifier echoed in the response. Use a string or integer. Omit entirely to send a notification (no response will be returned).

Response

JSON-RPC response or SSE stream, depending on the request.

  • application/json — returned for a single request that includes an id. The body is a JsonRpcResponse object.
  • text/event-stream — returned when the server needs to stream multiple messages back (e.g., long-running tool calls, server-initiated notifications). Each SSE data: line is a JSON-encoded JsonRpcResponse object. The stream closes when the server has sent all messages for the request.
jsonrpc
enum<string>
required

JSON-RPC protocol version.

Available options:
2.0
id
required

Matches the id from the request. Null if the server could not determine the request id.

result
object

Present on success; mutually exclusive with error.

error
object