v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Authentication

Create Mcp Token

Create an MCP Token

post/api/v1/auth/app/{app_id}/mcp-token

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

expiryinteger nullable

How long the token will be valid for in seconds.

Response

tokenstring required

The MCP access token.

Pass it to the MCP server as Authorization: Bearer <token>. It also encodes the application id, so the server needs nothing else to identify the app.

slugstring required

URL-safe slug derived from the customer's app portal display name (or the organization name when it isn't set). The client builds the MCP server name (<slug>-webhooks) from it. The server URL itself is /app/<app_id>, which is what keeps servers distinct.