Skip to content

MCP server · API reference

The MCP endpoint for AI assistants and agents.

Send a JSON-RPC message to the MCP server

POST/mcp

Scope : * Any token: each action checks its own scope

Creation: the Idempotency-Key header prevents duplicates for 24 hours.

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringnoUne clé de votre choix (255 caractères au plus) : rejouée dans les 24 heures, la même requête rend la première réponse sans rien recréer ; en cours, 409 ; sur une autre route, 422.

Request body

Un message JSON-RPC 2.0 du protocole MCP (initialize, ping, tools/list, tools/call)

Request example
curl -X POST 'https://www.artibox-calendar.com/api/v1/mcp' \
  -H "x-api-key: $RDV_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Responses

  • 200 Success
  • 401 Missing, unknown or expired token
  • 403 Missing scope or right refused
  • 404 Not found (or another organisation's)
  • 409 Conflict: slot taken or request in progress
  • 422 Data refused: details are given field by field
  • 429 Too many calls: wait for Retry-After

MCP stream (not offered: 405)

GET/mcp

Scope : * Any token: each action checks its own scope

Request example
curl -X GET 'https://www.artibox-calendar.com/api/v1/mcp' \
  -H "x-api-key: $RDV_TOKEN"

Responses

  • 200 Success
  • 401 Missing, unknown or expired token
  • 403 Missing scope or right refused
  • 404 Not found (or another organisation's)
  • 422 Data refused: details are given field by field
  • 429 Too many calls: wait for Retry-After

MCP stream (not offered: 405)

DELETE/mcp

Scope : * Any token: each action checks its own scope

Request example
curl -X DELETE 'https://www.artibox-calendar.com/api/v1/mcp' \
  -H "x-api-key: $RDV_TOKEN"

Responses

  • 200 Success
  • 401 Missing, unknown or expired token
  • 403 Missing scope or right refused
  • 404 Not found (or another organisation's)
  • 429 Too many calls: wait for Retry-After