メインコンテンツへスキップ
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.

承認

Authorization
string
header
必須

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

パスパラメータ

connectionId
string<uuid>
必須

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

ボディ

application/json
jsonrpc
enum<string>
必須

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

利用可能なオプション:
2.0
method
string
必須

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).

レスポンス

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>
必須

JSON-RPC protocol version.

利用可能なオプション:
2.0
id
必須

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