curl --request POST \
--url https://development.knotapi.com/mcp/tokens/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "123abc",
"expires_in": 3600
}
'
{
"token": "sn_mcp_wyLZTDc3_HzXo5lcRkkbZpnmFfg5DU63nHnUsyPQbi0",
"expires_at": "2026-10-21T15:30:00Z"
}
Supernova MCP
Create MCP Token
Create a short-lived token to connect your agent to the Supernova MCP for a given user.
POST
/
mcp
/
tokens
/
create
curl --request POST \
--url https://development.knotapi.com/mcp/tokens/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "123abc",
"expires_in": 3600
}
'
{
"token": "sn_mcp_wyLZTDc3_HzXo5lcRkkbZpnmFfg5DU63nHnUsyPQbi0",
"expires_at": "2026-10-21T15:30:00Z"
}
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Body
application/json
The user to scope the token to, and optionally its lifetime and phone number.
Your unique identifier for the user.
Maximum string length:
256Example:
"123abc"
Seconds until the token expires. Defaults to 1 day; maximum 30 days.
Required range:
60 <= x <= 2592000Example:
3600
User's phone number in E.164 format. Must be a valid US or Canadian phone number. Required for the Supernova MCP to create sign-in links (see Knot Zero links).
Example:
"+12025550123"
Was this page helpful?