configure_chatbot
Configure Community ChatBot enabled state, allowed Discord channels, Pro custom personality, and Enterprise server FAQ context.
Overview
Manages ChatBotConfig for conversational community replies in designated server channels.
Verifies every channel against live guild channels and enforces Free, Pro, and Enterprise feature boundaries.
Permissions
- Required Scopes
- mcp:write
- Discord Role Access
- Real Discord Admin, active Temp Admin, or Server Dashboard leadership.
- Server-Side Guard
- checkManageGuild or checkServerDashboardAccess leadership + live channel check + enforceChatBotPremium
- Subscription Tier
- Free: max 2 allowed channels. Pro: unlimited channels + custom personality. Enterprise: unlimited channels + custom personality + Server FAQ injection.
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": "apply",
"description": "Execution mode: preview diffs or apply changes."
},
"enabled": {
"type": "boolean",
"description": "Enable or disable the community ChatBot."
},
"allowedChannelIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 100,
"description": "Discord text channel IDs where ChatBot responds (Free: max 2, Pro+: unlimited)."
},
"customPersonality": {
"type": "string",
"maxLength": 500,
"description": "Custom persona and tone instructions (Pro and Enterprise only, max 500 chars)."
},
"includeServerFaq": {
"type": "boolean",
"description": "Include Server FAQ and knowledge base context in ChatBot replies (Enterprise only)."
}
},
"required": [
"guildId"
],
"additionalProperties": false
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| guildId | string | Required | Discord server (guild) snowflake ID. |
| mode | string | Optional (apply) | Execution mode: preview diffs or apply changes. Allowed: preview | apply |
| enabled | boolean | Optional | Enable or disable the community ChatBot. |
| allowedChannelIds | array<string> | Optional | Discord text channel IDs where ChatBot responds (Free: max 2, Pro+: unlimited). |
| customPersonality | string | Optional | Custom persona and tone instructions (Pro and Enterprise only, max 500 chars). |
| includeServerFaq | boolean | Optional | Include Server FAQ and knowledge base context in ChatBot replies (Enterprise only). |
Example
Preview enabling Community ChatBot in a single lounge channel.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "configure_chatbot",
"arguments": {
"guildId": "1100000000000000001",
"mode": "preview",
"enabled": true,
"allowedChannelIds": [
"1200000000000000030"
]
}
}
}Response
Validated preview diff or saved ChatBot configuration.
{
"mode": "preview",
"planTier": "free",
"valid": true,
"changes": [
{
"tool": "configure_chatbot",
"module": "chatbot",
"field": "enabled",
"before": false,
"after": true
}
]
}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. |
| TIER_UPGRADE_REQUIRED | The requested module, quota, or option requires a Pro or Enterprise subscription. | Review current plan limits with get_server_configuration or upgrade at https://taicket.xyz/dashboard/{guildId}/premium. |
Behavior
- Verifies every channel ID in allowedChannelIds belongs to the target guild.
- Rejects more than 2 channels on Free servers, customPersonality on Free servers, and includeServerFaq on non-Enterprise servers.
Related Tools