discord-mcp

Delete invite

discord_delete_invite

Destructive

Toolset
Invites invites
Discord permissions
Manage Channels, or Manage Server
Context cost
172 tokens, estimated687 bytes of definition, divided by 4

Revoke an invite by its code so it can no longer be used. IRREVERSIBLE (the code is freed). Requires the Manage Channels permission (or Manage Server). The reason is recorded in the audit log.

Risk and annotations

Read-onlyreadOnlyHintnoCan modify your server.
DestructivedestructiveHintyesMay perform destructive updates, so clients can ask before running it.
IdempotentidempotentHintnoRepeating the call can have an additional effect.
Open worldopenWorldHintyesInteracts with an external system: Discord.

Annotations are hints the server declares. Clients use them to decide when to ask you before a call.

Parameters

ParameterTypeRulesDescription
invite_coderequiredstring
none
The invite code to revoke. A full discord.gg/<code> URL is also accepted.
reasonoptionalstring
none
Optional reason recorded in the server audit log.

Output

This tool declares no output schema. Its description says what it returns; this page shows no example rather than invent one.

Related tools

Also in Invites

Raw definition (687 bytes)
{
  "name": "discord_delete_invite",
  "description": "Revoke an invite by its code so it can no longer be used. IRREVERSIBLE (the code is freed). Requires the Manage Channels permission (or Manage Server). The reason is recorded in the audit log.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "invite_code": {
        "type": "string",
        "description": "The invite code to revoke. A full discord.gg/<code> URL is also accepted."
      },
      "reason": {
        "description": "Optional reason recorded in the server audit log.",
        "type": "string"
      }
    },
    "required": [
      "invite_code"
    ],
    "additionalProperties": false
  },
  "annotations": {
    "title": "Delete invite",
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true
  }
}