API reference
MCP
The MCP server for AI agents.
GET
/mcpNot supported: the server is stateless#
- Credential
- None
Errors
| Status | Description |
|---|---|
| 405 | method: POST JSON-RPC to /mcp |
| 500 | internal: an unexpected failure |
Example
Request
curl "https://api.ibel.ai/mcp" \
-H "Accept: application/json, text/event-stream"POST
/mcpMCP 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
jsonrpcstringone of
2.0idstring | integermethodstringparamsobject
Response
200object
Errors
| Status | Description |
|---|---|
| 400 | Bad request: bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 413 | Body too large: too_large |
| 500 | internal: 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"}'