Authentication

Scopes & Permissions

Granular MCP bearer scopes (mcp:read, mcp:write, mcp:deploy, mcp:destructive) and how they intersect with live Discord RBAC and subscription tiers.

Supported OAuth & PAT Scopes

Every OAuth 2.1 grant and Scoped Personal Access Token carries an explicit array of scopes selected by the user during consent or PAT creation. Scopes do not imply each other automatically: a token granted only mcp:write cannot call read-only discovery tools unless mcp:read is also granted.

ScopeConsent LabelCapabilities CoveredRate Limit Bucket
mcp:readViewRead user profile, server list, live channels/roles topology, feature eligibility, module configs, read-only plans, logs/analytics, MCP resources, and prompts60 requests / min
mcp:writeConfigureNon-destructive module configuration updates (preview or apply) across supported Taicket dashboard modules and apply_setup for config-only plans20 requests / min
mcp:deployDeploy PanelsPost or update verified Discord Components V2 panels, dispatch test messages, and trigger AI/AutoMod rules ingestion sync10 requests / min
mcp:destructiveDeletions & Structural SetupDelete ticket panels, custom commands, component items, or reaction role panels; execute Verification or Jail auto-setup that creates channels, roles, and permission overwrites (also requires human browser approval)5 requests / min

Conditional Scope Escalation

Several domain tools operate under mcp:write for normal configuration updates but dynamically require mcp:destructive (plus human browser approval at /oauth/approve-action) when the requested action deletes persisted records or mutates Discord server structure.

ToolBase ScopeEscalates to mcp:destructive When
apply_setupmcp:writeThe previewed planId includes any deletion or structural Discord auto-setup operation
configure_ticket_systemmcp:writeDeleting a Ticket Panel (PanelConfig) or batch-deleting Quick Snippets
configure_verificationmcp:writeRunning Pro Verification auto-setup (creates channels, roles, and category permission overwrites)
configure_jailmcp:writeRunning Jail one-click auto-setup (creates jail role, category, channels, and overwrites)
configure_community_engagementmcp:writeDeleting a Reaction Role panel or Booster/Starboard configuration entity
configure_automation_and_utilitymcp:writeDeleting a Custom Command workflow or Component Builder item

Intersection of Scopes, Live RBAC, and Plan Tiers

Granting a broad token scope never elevates a Discord user beyond their live server permissions or subscription tier. Every tool invocation must satisfy all four independent authorization layers:

  1. Token Scope:: The active Bearer token must include the required scope for the tool and requested action.
  2. Grant Server Allowlist:: Target guildId must match allowedGuildIds (either null for all manageable servers or explicitly listed on the grant/PAT).
  3. Live Discord & Database RBAC:: The authenticated userId must currently hold the exact dashboard permission required by the module (Real Discord Admin, Temp Admin, Anti-Nuke Owner/Trusted, Interviewer, Server Dashboard Staff, or Component Builder delegate).
  4. 18-Surface Premium Policy Engine:: The target server subscription tier (Free, Pro, or Enterprise) must unlock the requested module, action, or quota cap.

Dashboard-only privilege boundaries

Even with all four scopes granted and Real Discord Admin or Owner permissions, Temp Admin delegation, Anti-Nuke Trusted Staff edits, Anti-Nuke Emergency Lockdown, Anti-Nuke Backup Restore, live member punishments, and subscription billing mutations are unconditionally rejected with DASHBOARD_ONLY.

Related documentation