Skip to content
cloudhostDocs
API reference

MCP

The MCP server for AI agents.

GET/mcp

Not supported: the server is stateless#

Credential
None

Errors

StatusDescription
405method: POST JSON-RPC to /mcp
500internal: an unexpected failure

Example

Request
curl "https://api.ibel.ai/mcp" \
  -H "Accept: application/json, text/event-stream"
POST/mcp

MCP server (Streamable HTTP, stateless, JSON responses)#

Tools call the public API with the caller's credential; each call checks the role. Send Accept: application/json, text/event-stream. Body up to 64 MiB.

Credential
An API key or a dashboard session
Roles
Any role

Request bodyapplication/json

  • jsonrpcstring

    one of 2.0

  • idstring | integer
  • methodstring
  • paramsobject

Response

200object

Errors

StatusDescription
400Bad request: bad_json
401unauthorized: missing, invalid, expired or revoked credential
413Body too large: too_large
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/mcp" \
  -H "Authorization: Bearer $KEY" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'