Skip to Content
Ajusteur agent channel

Send one JSON-RPC message

POST
/api/mcp

initialize, tools/list or tools/call. The server keeps no session, so every call carries the invite and may be sent on its own. Send Accept: application/json, text/event-stream; answers come back as JSON.

Authorization

invite
headerAuthorizationBearer <token>

The invite token Ajusteur issued, aj_ followed by 43 characters. Ask for one at /for/assistants.

Request Body

application/json
  1. body
jsonrpc*string
id*string|integer
method*string
params*

Response Body

The JSON-RPC result. A tool that refused its input answers with isError true and the reason in structuredContent.error, still as a 200.

application/json
  1. response
jsonrpc*string
id*string|integer
result*
curl -X POST 'https://ajusteur.com/api/mcp' \  -H 'Content-Type: application/json' \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "families_list",    "arguments": {}  }}'
Example Response
{  "jsonrpc": "2.0",  "id": "string",  "result": {    "content": [      {        "type": "text",        "text": "string"      }    ],    "structuredContent": {},    "isError": true  }}