mcp

Create Mcp Token

Mint a credential for one agent.

post/api/v1/auth/mcp-tokens

Request

  • Base URL: https://api.alert.camp (the document declares no server; this is the origin it was published from)
  • URL: https://api.alert.camp/api/v1/auth/mcp-tokens
  • Auth: none declared

Headers

authorizationstring nullable
x-dev-user-idstring nullable
x-app-versionstring nullable

Request body

namestring
scopesstring[] nullable

Subset of alerts:read / alerts:write. Default: both.

Response

Successful Response

jtistring required
namestring required
client_idstring nullable

The client's CIMD URL, for a token minted through the OAuth flow. name is the client's own claim about itself; this is the part that was verified.

scopesstring[] required
created_atstring date-time required
expires_atstring date-time nullable required
last_used_atstring date-time nullable required
revoked_atstring date-time nullable required
tokenstring required

Shown ONCE. Nothing recoverable is stored, so a lost token is re-minted rather than retrieved.

Changes

No recorded changes to this operation across all 1 revision of this API.