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)

ScopeAccess
journeys.read / journeys.writeList and draft journeys
templates.read / templates.writeList and draft templates
segments.read / segments.writeList and draft segment definitions
broadcasts.read / broadcasts.writeDraft broadcasts
attributes.readAttribute schema only
analytics.readAggregate send metrics
deliverability.readAggregate domain health
imports.writeBuilt-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.