mcp

Create Mcp Token

Mint a new MCP token. The raw secret is returned once — store it securely.

post/api/v1/mcp/tokens

Request

  • Base URL: https://api.cohearence.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.cohearence.app/api/v1/mcp/tokens
  • Auth: HTTP bearer

Request body

labelstring nullable
expiry_preset'30d' | '90d' | '1y' | 'never' required

Response

Successful Response

idinteger required
tokenstring required
token_prefixstring required
labelstring nullable required
expires_atstring date-time nullable required
mcp_urlstring required
cursor_snippetstring required

Changes

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