Scoped tokens
Tokens are minted at Settings → MCP & API (/app/<brandSlug>/settings/mcp).
Format
Plaintext prefix tlc_mcp_ followed by random material. Only a SHA-256 hash is stored in public.mcp_grants.
Example placeholder (invalid): tlc_mcp_demo_7f3c9b2e4a1d8f6e5c0b3a9f2e1d4c7b8a6f5e4d3c2b1a0
Scopes (V1)
| Scope | Access |
|---|---|
| journeys.read / journeys.write | List and draft journeys |
| templates.read / templates.write | List and draft templates |
| segments.read / segments.write | List and draft segment definitions |
| broadcasts.read / broadcasts.write | Draft broadcasts |
| attributes.read | Attribute schema only |
| analytics.read | Aggregate send metrics |
| deliverability.read | Aggregate domain health |
| imports.write | Built-in import agent |
profiles.read and profiles.read_phi are rejected at mint time.
Revocation
Owners revoke grants from the same page. Revoked tokens fail immediately; refresh reuse revokes the entire grant per OpenSpec policy.