Moderation & Securitymcp:write

configure_verification

Configure GuildVerification In-Discord Captcha or Pro Web Turnstile gate, delegation-safe role bindings, account age rules, category sync, household whitelist, custom panel, Enterprise auto-kick, and Pro auto-setup.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: true

Overview

Configures member verification settings in GuildVerification including verified/unverified roles (both checked with isRoleSafeForDelegation), verification and log channels, minimum account age, protected categories, household whitelist, panel customization, and unverified auto-kick timeout.

Enforces exact Free/Pro/Enterprise verification tier gates via enforceVerificationPremium. Running action="auto_setup" creates Discord roles and channels and therefore requires Pro+, mcp:destructive scope, preview mode, and human browser approval at /oauth/approve-action.

Permissions

Required Scopes
mcp:writeConditional: mcp:destructive (required when action is auto_setup)
Discord Role Access
Real Admin or active Temp Admin.
Server-Side Guard
checkManageGuild + isRoleSafeForDelegation (isOwner: false) + cross-guild channel check + enforceVerificationPremium
Subscription Tier
Free: In-Discord Visual Captcha only. Pro: Web Turnstile portal, category sync, auto-setup, household whitelist, custom panel container. Enterprise: adds unverified auto-kick timeout.

Input Schema

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

configure_verification.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": "Use preview to inspect validated diffs before writing, or apply to save."
    },
    "action": {
      "type": "string",
      "enum": [
        "update_config",
        "auto_setup"
      ],
      "default": "update_config",
      "description": "Update verification settings or execute Pro one-click structural Discord auto-setup."
    },
    "enabled": {
      "type": "boolean",
      "description": "Enable or disable the verification gate."
    },
    "verifyChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verification channel ID (canonical alias for channelId)."
    },
    "channelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verification channel ID."
    },
    "logsChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verification audit logs channel ID (canonical alias for logChannelId)."
    },
    "logChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verification audit logs channel ID."
    },
    "verifiedRoleId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Delegation-safe role granted upon passing verification."
    },
    "unverifiedRoleId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Delegation-safe role assigned to newly joined unverified members."
    },
    "minAccountAgeDays": {
      "type": "integer",
      "minimum": 0,
      "maximum": 3650,
      "description": "Minimum Discord account age in days required to pass verification."
    },
    "localVerificationEnabled": {
      "type": "boolean",
      "description": "true = In-Discord Visual Captcha (Free+); false = Web Turnstile Portal (Pro+)."
    },
    "verificationType": {
      "type": "string",
      "enum": [
        "discord_captcha",
        "web_turnstile"
      ],
      "description": "Convenience alias for localVerificationEnabled (discord_captcha=true, web_turnstile=false)."
    },
    "protectedCategoryIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 50,
      "description": "Category channel IDs synced to require @Verified (Pro+)."
    },
    "syncCategories": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 50,
      "description": "Alias for protectedCategoryIds (Pro+)."
    },
    "exemptUserIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 200,
      "description": "Household and shared-network alt-detection whitelist user IDs (Pro+)."
    },
    "panelTitle": {
      "type": "string",
      "maxLength": 100,
      "description": "Custom verification panel title (Pro+)."
    },
    "panelDescription": {
      "type": "string",
      "maxLength": 800,
      "description": "Custom verification panel description (Pro+)."
    },
    "panelAccentColor": {
      "type": "string",
      "pattern": "^#?[0-9a-fA-F]{6}$",
      "description": "Custom panel hex accent color such as #5865F2 (Pro+)."
    },
    "panelBannerUrl": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional public HTTPS banner image URL for the verification panel (Pro+)."
    },
    "panelButtonLabel": {
      "type": "string",
      "minLength": 1,
      "maxLength": 45,
      "description": "Custom verify button label (Pro+)."
    },
    "unverifiedKickMinutes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1440,
      "description": "Enterprise-only timeout in minutes to kick unverified joins (0 disables)."
    },
    "planId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Preview planId required when applying action=\"auto_setup\"."
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 8,
      "maxLength": 256,
      "description": "Single-use confirmationToken returned by preview mode for action=\"auto_setup\"."
    }
  },
  "required": [
    "guildId"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (apply)

Use preview to inspect validated diffs before writing, or apply to save.

Allowed: preview | apply

actionstringOptional (update_config)

Update verification settings or execute Pro one-click structural Discord auto-setup.

Allowed: update_config | auto_setup

enabledbooleanOptional

Enable or disable the verification gate.

verifyChannelIdstring | nullOptional

Verification channel ID (canonical alias for channelId).

channelIdstring | nullOptional

Verification channel ID.

logsChannelIdstring | nullOptional

Verification audit logs channel ID (canonical alias for logChannelId).

logChannelIdstring | nullOptional

Verification audit logs channel ID.

verifiedRoleIdstring | nullOptional

Delegation-safe role granted upon passing verification.

unverifiedRoleIdstring | nullOptional

Delegation-safe role assigned to newly joined unverified members.

minAccountAgeDaysintegerOptional

Minimum Discord account age in days required to pass verification.

localVerificationEnabledbooleanOptional

true = In-Discord Visual Captcha (Free+); false = Web Turnstile Portal (Pro+).

verificationTypestringOptional

Convenience alias for localVerificationEnabled (discord_captcha=true, web_turnstile=false).

Allowed: discord_captcha | web_turnstile

protectedCategoryIdsarray<string>Optional

Category channel IDs synced to require @Verified (Pro+).

syncCategoriesarray<string>Optional

Alias for protectedCategoryIds (Pro+).

exemptUserIdsarray<string>Optional

Household and shared-network alt-detection whitelist user IDs (Pro+).

panelTitlestringOptional

Custom verification panel title (Pro+).

panelDescriptionstringOptional

Custom verification panel description (Pro+).

panelAccentColorstringOptional

Custom panel hex accent color such as #5865F2 (Pro+).

panelBannerUrlstringOptional

Optional public HTTPS banner image URL for the verification panel (Pro+).

panelButtonLabelstringOptional

Custom verify button label (Pro+).

unverifiedKickMinutesintegerOptional

Enterprise-only timeout in minutes to kick unverified joins (0 disables).

planIdstringOptional

Preview planId required when applying action="auto_setup".

confirmationTokenstringOptional

Single-use confirmationToken returned by preview mode for action="auto_setup".

Example

Preview configuring In-Discord visual captcha verification.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_verification",
    "arguments": {
      "guildId": "1200000000000000000",
      "mode": "preview",
      "action": "update_config",
      "enabled": true,
      "verificationType": "discord_captcha",
      "verifyChannelId": "1200000000000000025",
      "verifiedRoleId": "1300000000000000010",
      "minAccountAgeDays": 3
    }
  }
}

Response

Validated verification preview, browser approval link (for auto_setup), or saved configuration.

Structured Tool Resultjson
{
  "mode": "preview",
  "valid": true,
  "guildId": "1200000000000000000",
  "planTier": "free",
  "requiresHumanApproval": false,
  "changes": [
    {
      "tool": "configure_verification",
      "module": "verification",
      "field": "enabled",
      "before": false,
      "after": true
    }
  ]
}

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.

Behavior

  • Enforces isRoleSafeForDelegation (isOwner: false) on both verifiedRoleId and unverifiedRoleId.
  • Verifies verifyChannelId, logsChannelId, and protectedCategoryIds belong to guildId.
  • Enforces Free vs Pro vs Enterprise verification feature boundaries with TIER_UPGRADE_REQUIRED.
  • Requires mcp:destructive scope and browser confirmation at /oauth/approve-action before action="auto_setup" creates Discord roles or channels.