Support & AImcp:write

configure_ticket_system

Configure Standard Ticket System settings, ticket panels and intake forms, and quick response snippets with exact Free/Pro/Enterprise enforcement.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: false

Overview

Manages allowlisted GuildConfig ticket fields (staff, trial, mentor, and manager roles, mentorship pairs, voice support, CSAT feedback, welcome guide, SLA duration targets, routing strategy, command permissions, and verified log/category channels), PanelConfig intake forms, and QuickResponse snippets.

Deleting a ticket panel or quick response snippet requires the mcp:destructive scope and browser-verified human approval before any deletion executes.

Permissions

Required Scopes
mcp:writeConditional: mcp:destructive (required when deleting a ticket panel or snippet)
Discord Role Access
Real Discord Admin or active Temp Admin.
Server-Side Guard
checkManageGuild + cross-guild channel and role checks + ticket/snippet tier policy
Subscription Tier
Free: manual routing, SLA off, 0 voice rooms, no file-upload intake questions, no mentorship, max 15 snippets. Pro: round-robin/least-busy, single SLA, voice rooms, file-upload fields, max 50 snippets. Enterprise: unlimited voice/snippets, multi SLA, mentorship pairs and mandatory approval.

Dashboard-only security boundaries

Server Settings fields (tempAdminUserIds, botBranding, linkedMainServer) cannot be modified through this tool. Live ticket closures, transcript deletions, and staff metric resets remain on the dashboard or Discord.

Input Schema

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

configure_ticket_system.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 without writing, or apply changes."
    },
    "action": {
      "type": "string",
      "enum": [
        "update_settings",
        "upsert_panel",
        "delete_panel",
        "upsert_snippet",
        "delete_snippet"
      ],
      "description": "Operation to perform on the Standard Ticket System."
    },
    "settings": {
      "type": "object",
      "properties": {
        "staffRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "trialStaffRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "mentorRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "managerRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "mentorPairs": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "trialStaffId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              },
              "mentorId": {
                "type": "string",
                "pattern": "^\\d{17,22}$"
              }
            },
            "required": [
              "trialStaffId",
              "mentorId"
            ],
            "additionalProperties": false
          },
          "maxItems": 100
        },
        "mandatoryMentorApproval": {
          "type": "boolean"
        },
        "voiceCallEnabled": {
          "type": "boolean"
        },
        "feedbackEnabled": {
          "type": "boolean"
        },
        "guideEnabled": {
          "type": "boolean"
        },
        "guideTitle": {
          "type": "string",
          "maxLength": 200
        },
        "guideText": {
          "type": "string",
          "maxLength": 2000
        },
        "guideTips": {
          "type": "string",
          "maxLength": 2000
        },
        "sla": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "durationMs": {
              "type": "integer",
              "minimum": 30000,
              "maximum": 604800000
            },
            "durationText": {
              "type": "string",
              "maxLength": 40
            }
          },
          "additionalProperties": false
        },
        "maxOpenTicketsPerUser": {
          "type": "integer",
          "minimum": 1,
          "maximum": 25
        },
        "defaultDenialMessage": {
          "type": "string",
          "maxLength": 1000
        },
        "commandPermissions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "commandName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "allowedRoleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                "maxItems": 25,
                "default": []
              }
            },
            "required": [
              "commandName"
            ],
            "additionalProperties": false
          },
          "maxItems": 40
        },
        "defaultAssignmentMode": {
          "type": "string",
          "enum": [
            "manual",
            "round_robin",
            "least_busy"
          ]
        },
        "transcriptChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "feedbackChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "voiceCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "closedCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "staffControlLayout": {
          "type": "object",
          "properties": {
            "accentColor": {
              "type": "string",
              "maxLength": 32
            },
            "showIntakeDetails": {
              "type": "boolean"
            },
            "showTimestamps": {
              "type": "boolean"
            },
            "showAssignedStaff": {
              "type": "boolean"
            },
            "showSeparators": {
              "type": "boolean"
            },
            "actionRows": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "hasSeparatorAfter": {
                    "type": "boolean"
                  },
                  "buttons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 80
                        },
                        "style": {
                          "type": "string",
                          "maxLength": 24
                        },
                        "emoji": {
                          "type": "string",
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 5
                  }
                },
                "required": [
                  "buttons"
                ],
                "additionalProperties": false
              },
              "maxItems": 5
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false,
      "description": "Allowlisted GuildConfig ticket settings when action is update_settings."
    },
    "panel": {
      "type": "object",
      "properties": {
        "panelId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 150
        },
        "description": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "accentColor": {
          "type": "string",
          "maxLength": 32
        },
        "footerText": {
          "type": "string",
          "maxLength": 300
        },
        "deliveryMode": {
          "type": "string",
          "enum": [
            "thread",
            "channel"
          ]
        },
        "parentChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "primaryCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "fallbackCategoryId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "namingFormat": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "assignmentMode": {
          "type": "string",
          "enum": [
            "manual",
            "round_robin",
            "least_busy"
          ]
        },
        "actionRows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64
              },
              "type": {
                "type": "string",
                "maxLength": 32,
                "default": "buttons"
              },
              "hasSeparatorAfter": {
                "type": "boolean",
                "default": false
              },
              "buttons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 80
                    },
                    "style": {
                      "type": "string",
                      "maxLength": 24,
                      "default": "primary"
                    },
                    "emoji": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "customId": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "label"
                  ],
                  "additionalProperties": false
                },
                "maxItems": 5,
                "default": []
              }
            },
            "additionalProperties": false
          },
          "maxItems": 5
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "categoryId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "label": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "description": {
                "type": "string",
                "maxLength": 200,
                "default": ""
              },
              "emoji": {
                "type": "string",
                "maxLength": 64,
                "default": ""
              },
              "modalTitle": {
                "type": "string",
                "maxLength": 45,
                "default": "Ticket Intake Form"
              },
              "modalFields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "customId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 45
                    },
                    "fieldType": {
                      "type": "string",
                      "enum": [
                        "short",
                        "paragraph",
                        "attachment_link"
                      ],
                      "default": "short"
                    },
                    "placeholder": {
                      "type": "string",
                      "maxLength": 100,
                      "default": ""
                    },
                    "required": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "required": [
                    "customId",
                    "label"
                  ],
                  "additionalProperties": false
                },
                "maxItems": 5,
                "default": []
              },
              "customStaffRoleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{17,22}$"
                },
                "maxItems": 15,
                "default": []
              }
            },
            "required": [
              "categoryId",
              "label"
            ],
            "additionalProperties": false
          },
          "maxItems": 25
        }
      },
      "additionalProperties": false,
      "description": "PanelConfig payload when action is upsert_panel."
    },
    "panelId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Existing ticket panel ID when updating or deleting a panel."
    },
    "snippet": {
      "type": "object",
      "properties": {
        "shortcut": {
          "type": "string",
          "minLength": 1,
          "maxLength": 40
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        }
      },
      "required": [
        "shortcut",
        "content"
      ],
      "additionalProperties": false,
      "description": "Quick response snippet payload when action is upsert_snippet."
    },
    "shortcut": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40,
      "description": "Quick response shortcut name when action is delete_snippet."
    },
    "planId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "description": "Approved preview plan ID for destructive deletion actions."
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "description": "Server-issued confirmation token returned by preview mode for destructive deletion."
    }
  },
  "required": [
    "guildId",
    "action"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (apply)

Execution mode: preview diffs without writing, or apply changes.

Allowed: preview | apply

actionstringRequired

Operation to perform on the Standard Ticket System.

Allowed: update_settings | upsert_panel | delete_panel | upsert_snippet | delete_snippet

settingsobjectOptional

Allowlisted GuildConfig ticket settings when action is update_settings.

panelobjectOptional

PanelConfig payload when action is upsert_panel.

panelIdstringOptional

Existing ticket panel ID when updating or deleting a panel.

snippetobjectOptional

Quick response snippet payload when action is upsert_snippet.

shortcutstringOptional

Quick response shortcut name when action is delete_snippet.

planIdstringOptional

Approved preview plan ID for destructive deletion actions.

confirmationTokenstringOptional

Server-issued confirmation token returned by preview mode for destructive deletion.

Example

Preview updating standard ticket settings with round-robin routing and a 20-minute SLA target.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_ticket_system",
    "arguments": {
      "guildId": "1100000000000000001",
      "mode": "preview",
      "action": "update_settings",
      "settings": {
        "defaultAssignmentMode": "round_robin",
        "transcriptChannelId": "1200000000000000011",
        "sla": {
          "enabled": true,
          "durationText": "20m"
        }
      }
    }
  }
}

Response

Validated preview diff or saved Standard Ticket System configuration.

Structured Tool Resultjson
{
  "mode": "preview",
  "action": "update_settings",
  "valid": true,
  "requiresHumanApproval": false,
  "changes": [
    {
      "tool": "configure_ticket_system",
      "module": "tickets",
      "field": "defaultAssignmentMode",
      "before": "manual",
      "after": "round_robin"
    }
  ]
}

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.
HUMAN_APPROVAL_REQUIREDDestructive 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_REQUIREDconfirmed 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.
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.
NOT_FOUNDThe 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.

Behavior

  • Verifies every channel and category snowflake against live guild channels before saving.
  • Parses SLA targets via parseSlaDurationText (30s to 7d, or "off") and blocks Pro/Enterprise options on Free servers.
  • Deleting a ticket panel or quick response snippet always creates a human approval preview plan at /oauth/approve-action and never deletes on a single AI call.