configure_community_engagement
Unified setup configurator for Booster Perks, Starboard, Reaction Roles, Reaction Triggers, Activity Reward, Bump Reminder, and Match Together across their dedicated DBs.
Overview
Configures seven community engagement modules through a single discriminated module interface, writing to each feature dedicated MongoDB database (taicket_booster, taicket_starboard, taicket_reaction_roles, taicket_reaction_trigger, taicket_match_together, and core collections).
All assigned roles in Booster Perks, Reaction Roles, and Activity Reward are verified with isRoleSafeForDelegation (isOwner: false). Deleting a Reaction Role panel or applying Discord permission overwrites to a Match Together queue voice channel strictly requires mcp:destructive and verified human browser approval.
Permissions
- Required Scopes
- mcp:writeConditional: mcp:destructive (required when deleting a reaction-roles panel or locking a match-together queue voice channel)
- Discord Role Access
- Real Admin or active Temp Admin.
- Server-Side Guard
- checkManageGuild + isRoleSafeForDelegation (isOwner: false) + cross-guild channel check
- Subscription Tier
- Available on Free, Pro, and Enterprise.
Dashboard-only security boundaries
Deleting live member Custom Booster Roles on Discord remains dashboard-only.
Input Schema
JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.
{
"type": "object",
"properties": {
"guildId": {
"type": "string",
"pattern": "^\\d{17,22}$",
"description": "Discord server (guild) snowflake ID."
},
"mode": {
"type": "string",
"enum": [
"preview",
"apply"
],
"default": "preview",
"description": "Execution mode. Use preview to validate and inspect changes before writing."
},
"module": {
"type": "string",
"enum": [
"booster",
"starboard",
"reaction-roles",
"reaction-triggers",
"activity-reward",
"bump-reminder",
"match-together"
],
"description": "Target engagement module: booster, starboard, reaction-roles, reaction-triggers, activity-reward, bump-reminder, or match-together."
},
"action": {
"type": "string",
"enum": [
"upsert",
"upsert_config",
"upsert_panel",
"delete_panel",
"lock_queue_voice"
],
"default": "upsert",
"description": "Sub-operation. Use upsert for module configuration, upsert_panel/delete_panel for reaction-roles panels, or lock_queue_voice for verified structural queue lockdown in match-together."
},
"config": {
"type": "object",
"additionalProperties": {},
"description": "Module-specific configuration object matching the target engagement module."
},
"panelId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Reaction-role panel identifier when updating or deleting a panel."
},
"planId": {
"type": "string",
"maxLength": 128,
"description": "Approved preview plan ID required for destructive/structural operations."
},
"confirmationToken": {
"type": "string",
"maxLength": 128,
"description": "Single-use confirmation token required after browser approval for destructive/structural operations."
}
},
"required": [
"guildId",
"module"
],
"additionalProperties": false
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| guildId | string | Required | Discord server (guild) snowflake ID. |
| mode | string | Optional (preview) | Execution mode. Use preview to validate and inspect changes before writing. Allowed: preview | apply |
| module | string | Required | Target engagement module: booster, starboard, reaction-roles, reaction-triggers, activity-reward, bump-reminder, or match-together. Allowed: booster | starboard | reaction-roles | reaction-triggers | activity-reward | bump-reminder | match-together |
| action | string | Optional (upsert) | Sub-operation. Use upsert for module configuration, upsert_panel/delete_panel for reaction-roles panels, or lock_queue_voice for verified structural queue lockdown in match-together. Allowed: upsert | upsert_config | upsert_panel | delete_panel | lock_queue_voice |
| config | object | Optional | Module-specific configuration object matching the target engagement module. |
| panelId | string | Optional | Reaction-role panel identifier when updating or deleting a panel. |
| planId | string | Optional | Approved preview plan ID required for destructive/structural operations. |
| confirmationToken | string | Optional | Single-use confirmation token required after browser approval for destructive/structural operations. |
Example
Preview setting up a Starboard board with a 5-star threshold.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "configure_community_engagement",
"arguments": {
"guildId": "1200000000000000000",
"mode": "preview",
"module": "starboard",
"action": "upsert",
"config": {
"boardName": "Hall of Fame",
"channelId": "1200000000000000044",
"threshold": 5,
"displayStyle": "container"
}
}
}
}Response
Validated preview diff, human approval prompt for destructive operations, or saved engagement config.
{
"mode": "preview",
"module": "starboard",
"valid": true,
"summary": "Update Starboard configuration (1 board(s))"
}Errors
| Error Code | Condition | Resolution |
|---|---|---|
| UNAUTHORIZED | Missing, expired, or revoked Bearer access token or scoped Personal Access Token. | Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account. |
| FORBIDDEN | Token lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions. | Grant the required scope during consent or confirm your Discord server role permissions. |
| RATE_LIMITED | Caller exceeded the per-user sliding-window request limit. | Wait for the Retry-After window before issuing another request. |
| VALIDATION_ERROR | Input arguments failed Zod schema validation or contained invalid Discord snowflakes. | Inspect the parameter schema and supply valid Discord snowflake IDs and field types. |
| CROSS_GUILD_RESOURCE | A referenced channel, category, or role does not belong to the specified guildId. | Call get_server_topology for the target server and reference only resources returned for that guild. |
| HUMAN_APPROVAL_REQUIRED | Destructive deletion or structural Discord setup requires browser-verified human approval before execution. | Run with mode="preview" (or preview_setup), open the returned approvalUrl in a browser signed into Discord, approve the summary, then apply the plan with confirmationToken. |
| CONFIRMATION_REQUIRED | confirmed was false or missing, confirmationToken was invalid, or planId has expired past its 15-minute TTL. | Confirm the plan with the server manager or generate a fresh preview via preview_setup. |
| NOT_FOUND | The requested panel, item, command, or setup plan was not found for this server. | Inspect current resources with get_server_configuration and supply a valid ID. |
| DISCORD_API_ERROR | Discord REST API returned an error or the Taicket bot is not in the target server. | Confirm Taicket is installed in the server via get_discord_servers and retry. |
Behavior
- Verifies every channel and category ID against live guild channels and enforces Discord channel types where applicable.
- Strictly rejects administrative, managed, or hierarchy-unsafe roles in reaction-roles, booster perk tiers/status rules, and activity-reward winnerRoleId.
- Checks cross-guild panelId collisions on ReactionRolePanel and syncs LiveboardConfig.enabledPeriods when ActivityRewardConfig.leaderboardType changes.
- Requires mcp:destructive and browser-verified human approval before deleting reaction-role panels or modifying Discord permission overwrites on Match Together queue voice channels.