Support & AImcp:write

configure_ai_support

Configure AI Ticket System Panels 1 to 3, escalation hubs, rules channels, knowledge base articles, memory exceptions, and the Server Information directory.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: false

Overview

Configures AIPanelConfig for Panels 1 through 3 (ai-default, ai-panel-2, ai-panel-3) including panel appearance, categories, staff roles, escalation and log channels, persona tone, response language, rules channels, knowledge base articles, exception memory, and allowed actions, plus the ServerInformation channel/role directory.

Enforces strict Free/Pro/Enterprise limits. Panel 4 is permanently unavailable over MCP.

Permissions

Required Scopes
mcp:write
Discord Role Access
Real Discord Admin or active Temp Admin.
Server-Side Guard
checkManageGuild + live guild channel verification + enforceAiTicketsPremium
Subscription Tier
Free: blocked (TIER_UPGRADE_REQUIRED). Pro: Panel 1 (ai-default) only, 1 rules channel, 5 KB articles (1,500 chars), 50 exceptions, warnings/timeouts only. Enterprise: Panels 1 to 3, 3 rules channels, 25 KB articles (5,000 chars), 1,000 exceptions, kicks/bans allowed.

Dashboard-only security boundaries

Internal Panel 4 whitelists are never exposed or writable over MCP.

Input Schema

JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.

configure_ai_support.inputSchema.jsonjson
{
  "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."
    },
    "panelSlot": {
      "type": "string",
      "default": "ai-default",
      "description": "AI Support panel identifier: ai-default (Panel 1), ai-panel-2 (Enterprise), or ai-panel-3 (Enterprise)."
    },
    "settings": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        },
        "accentColor": {
          "type": "string",
          "maxLength": 32
        },
        "mediaUrl": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "type": "null"
            }
          ]
        },
        "footerText": {
          "type": "string",
          "maxLength": 500
        },
        "panelLayout": {
          "type": "object",
          "properties": {
            "accentColor": {
              "type": "string",
              "maxLength": 32
            },
            "blocks": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {}
              },
              "maxItems": 30
            }
          },
          "required": [
            "blocks"
          ],
          "additionalProperties": false
        },
        "parentCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "fallbackCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "closedCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "staffRoleId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\d{17,22}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "staffRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 3
        },
        "forceAdminRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "escalationChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pingStaffOnEscalation": {
          "type": "boolean"
        },
        "actionLogChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "csatLogChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "aiTranscriptsEnabled": {
          "type": "boolean"
        },
        "aiTranscriptChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "rulesChannelIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 10
        },
        "responseLanguage": {
          "type": "string",
          "minLength": 2,
          "maxLength": 32
        },
        "personaTone": {
          "type": "string",
          "enum": [
            "clear",
            "guide",
            "formal",
            "discord_admin",
            "professional",
            "friendly",
            "strict"
          ]
        },
        "allowedActions": {
          "type": "object",
          "properties": {
            "warnings": {
              "type": "boolean"
            },
            "timeouts": {
              "type": "boolean"
            },
            "timeoutMaxDuration": {
              "type": "string",
              "enum": [
                "5m",
                "15m",
                "1h",
                "1d",
                "1w"
              ]
            },
            "kicks": {
              "type": "boolean"
            },
            "bans": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "criticalActionSafeguard": {
          "type": "string",
          "enum": [
            "approval_required",
            "autonomous_high_confidence"
          ]
        },
        "customInstructions": {
          "type": "string",
          "maxLength": 200
        },
        "csatEnabled": {
          "type": "boolean"
        },
        "greetingMessage": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "additionalProperties": false,
      "description": "AIPanelConfig routing, channel/category IDs, persona tone, language, rules channels, and allowed actions."
    },
    "knowledgeBase": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "articleId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "category": {
            "type": "string",
            "maxLength": 50,
            "default": "General"
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 5500
          },
          "isEnabled": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "title",
          "content"
        ],
        "additionalProperties": false
      },
      "maxItems": 30,
      "description": "Knowledge base articles validated against tier article count and character caps."
    },
    "exceptionsMemory": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pattern": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          },
          "resolution": {
            "type": "string",
            "minLength": 1,
            "maxLength": 600
          }
        },
        "required": [
          "pattern",
          "resolution"
        ],
        "additionalProperties": false
      },
      "maxItems": 1100,
      "description": "Custom resolution exception patterns (Pro: max 50, Enterprise: max 1,000)."
    },
    "serverInformation": {
      "type": "object",
      "properties": {
        "textChannels": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "channelId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "default": ""
              },
              "description": {
                "type": "string",
                "maxLength": 150,
                "default": ""
              },
              "accessibleRoleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                "maxItems": 25,
                "default": []
              }
            },
            "required": [
              "channelId"
            ],
            "additionalProperties": false
          },
          "maxItems": 200
        },
        "voiceChannels": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "channelId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "default": ""
              },
              "description": {
                "type": "string",
                "maxLength": 150,
                "default": ""
              },
              "accessibleRoleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                "maxItems": 25,
                "default": []
              }
            },
            "required": [
              "channelId"
            ],
            "additionalProperties": false
          },
          "maxItems": 200
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "categoryId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "default": ""
              },
              "description": {
                "type": "string",
                "maxLength": 150,
                "default": ""
              },
              "accessibleRoleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                "maxItems": 25,
                "default": []
              }
            },
            "required": [
              "categoryId"
            ],
            "additionalProperties": false
          },
          "maxItems": 100
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "roleId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "default": ""
              },
              "description": {
                "type": "string",
                "maxLength": 150,
                "default": ""
              }
            },
            "required": [
              "roleId"
            ],
            "additionalProperties": false
          },
          "maxItems": 200
        }
      },
      "additionalProperties": false,
      "description": "ServerInformation directory entries (textChannels, voiceChannels, categories, roles with 150-char descriptions)."
    }
  },
  "required": [
    "guildId"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (apply)

Execution mode: preview diffs or apply changes.

Allowed: preview | apply

panelSlotstringOptional (ai-default)

AI Support panel identifier: ai-default (Panel 1), ai-panel-2 (Enterprise), or ai-panel-3 (Enterprise).

settingsobjectOptional

AIPanelConfig routing, channel/category IDs, persona tone, language, rules channels, and allowed actions.

knowledgeBasearray<object>Optional

Knowledge base articles validated against tier article count and character caps.

exceptionsMemoryarray<object>Optional

Custom resolution exception patterns (Pro: max 50, Enterprise: max 1,000).

serverInformationobjectOptional

ServerInformation directory entries (textChannels, voiceChannels, categories, roles with 150-char descriptions).

Example

Preview configuring AI Support Panel 1 with Guide tone, escalation channel, and a rules channel.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_ai_support",
    "arguments": {
      "guildId": "1100000000000000001",
      "mode": "preview",
      "panelSlot": "ai-default",
      "settings": {
        "parentCategoryId": "1200000000000000001",
        "escalationChannelId": "1200000000000000012",
        "personaTone": "guide",
        "rulesChannelIds": [
          "1200000000000000005"
        ],
        "allowedActions": {
          "warnings": true,
          "timeouts": true,
          "timeoutMaxDuration": "1h"
        }
      }
    }
  }
}

Response

Validated preview diff or saved AI Support configuration.

Structured Tool Resultjson
{
  "mode": "preview",
  "panelSlot": "ai-default",
  "planTier": "pro",
  "valid": true,
  "changes": [
    {
      "tool": "configure_ai_support",
      "module": "ai-tickets",
      "field": "personaTone",
      "before": "clear",
      "after": "guide"
    }
  ]
}

Errors

Error CodeConditionResolution
UNAUTHORIZEDMissing, 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.
FORBIDDENToken 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_LIMITEDCaller exceeded the per-user sliding-window request limit.Wait for the Retry-After window before issuing another request.
VALIDATION_ERRORInput 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_RESOURCEA 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_REQUIREDThe 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.
DISCORD_API_ERRORDiscord 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 all 7 channel/category fields and rulesChannelIds against live guild channels.
  • Rejects Free servers, Panel 2/3 on Pro servers, kick/ban actions on Pro servers, and all Panel 4 requests.
  • Truncates ServerInformation channel, category, and role descriptions to 150 characters matching production limits.