Skip to content
AI Support / Dev Center

10 results · Esc to close

Documentation/MCP and actions

BUILD

MCP and actions

Session MCP servers

POST /api/widget/sessions

The backend can send up to eight servers in mcpServers. Omit the list for context-only chat.

JSON
{
  "userId": "usr_ana",
  "mcpServers": [
    {
      "id": "billing",
      "url": "https://billing.example/mcp",
      "accessToken": "TOKEN_BILLING"
    },
    {
      "id": "crm",
      "url": "https://crm.example/mcp",
      "accessToken": "TOKEN_CRM"
    }
  ]
}

Authorization: Bearer

Use a short-lived token per server and user. The provider checks audience, expiry, organization and permissions on every call. Renew tokens on the backend.

tools/list → tools/call

Chat discovers each server's paginated catalog. Tools with readOnlyHint: true can run directly.

replyToMessageId

Other tools require confirmation of their arguments in the same session within five minutes. The provider receives Idempotency-Key. Check uncertain results in the source application.

CONTINUE HEREStaging