Jede Region hat einen MCP-Endpoint, /mcp/ auf dem Inference-Host. Er spricht MCP über Streamable HTTP und liefert gemeinsam die Tools der MCP-Server, die deine Organisation in der Console unter MCPs installiert hat. Tool-Namen tragen den Alias der Installation als Präfix, also <alias>-<tool>.
Einen Client verbinden
Jeder MCP-Client, der Streamable HTTP und einen eigenen Header unterstützt, funktioniert. Zum Beispiel:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ccsio": {
"type": "remote",
"url": "https://api.eu.ccsio.ai/mcp/",
"headers": { "Authorization": "Bearer {env:CCSIO_API_KEY}" }
}
}
}Das Protokoll direkt verwenden
curl
# 1. Open a session. The answer's Mcp-Session-Id header names it.
curl -i "https://api.eu.ccsio.ai/mcp/" \
-H "Authorization: Bearer $CCSIO_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "initialize",
"params": {"protocolVersion": "2025-06-18", "capabilities": {},
"clientInfo": {"name": "my-app", "version": "1.0.0"}}}'
# 2. List the tools of every MCP server your organization installed.
curl "https://api.eu.ccsio.ai/mcp/" \
-H "Authorization: Bearer $CCSIO_API_KEY" \
-H "Mcp-Session-Id: <the id from step 1>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc": "2.0", "id": 2, "method": "tools/list"}'
# 3. End the session when you are done.
curl -X DELETE "https://api.eu.ccsio.ai/mcp/" \
-H "Authorization: Bearer $CCSIO_API_KEY" \
-H "Mcp-Session-Id: <the id from step 1>"initializeöffnet eine Session; sende derenMcp-Session-Idbei jeder weiteren Anfrage mit. Die Protokollversionen sind2025-06-18und2025-03-26.- Der Stream vom Server zum Client (
GET /mcp/) wird nicht angeboten: Er antwortet mit405. - Für Tool-Aufrufe brauchst du die Berechtigung
mcp.invoke, die jede eingebaute Rolle hat. Eine Installation kann auf einzelne Teams beschränkt werden.