{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.PaSympa/discord-mcp",
  "slug": "pasympa.discord-mcp",
  "title": "discord-mcp",
  "summary": "Run your Discord from Claude, Codex, Cursor or VS Code: messages, moderation, roles, forums, events",
  "version": "2.6.2",
  "serverKey": "discord-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/pasympa.discord-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/pasympa.discord-mcp/install.md",
  "trust": {
    "score": 60,
    "grade": "C",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T10:03:00.781943604Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pasympa/discord-mcp@2.6.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add discord-mcp -e 'DISCORD_TOKEN=<DISCORD_TOKEN>' -- npx -y @pasympa/discord-mcp@2.6.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@pasympa/discord-mcp@2.6.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"<DISCORD_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@pasympa/discord-mcp@2.6.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"<DISCORD_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DISCORD_TOKEN\",\n      \"id\": \"discord-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@pasympa/discord-mcp@2.6.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"${input:discord-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.discord-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@pasympa/discord-mcp@2.6.2\"]\nenv = { \"DISCORD_TOKEN\" = \"<DISCORD_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DISCORD_TOKEN",
        "docker.io/pasympa/discord-mcp:2.6.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add discord-mcp -e 'DISCORD_TOKEN=<DISCORD_TOKEN>' -- docker run -i --rm -e DISCORD_TOKEN docker.io/pasympa/discord-mcp:2.6.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DISCORD_TOKEN\",\n        \"docker.io/pasympa/discord-mcp:2.6.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"<DISCORD_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DISCORD_TOKEN\",\n        \"docker.io/pasympa/discord-mcp:2.6.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"<DISCORD_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DISCORD_TOKEN\",\n      \"id\": \"discord-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"discord-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DISCORD_TOKEN\",\n        \"docker.io/pasympa/discord-mcp:2.6.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DISCORD_TOKEN\": \"${input:discord-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.discord-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"DISCORD_TOKEN\", \"docker.io/pasympa/discord-mcp:2.6.2\"]\nenv = { \"DISCORD_TOKEN\" = \"<DISCORD_TOKEN>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "DISCORD_TOKEN",
      "required": true,
      "secret": true,
      "description": "Discord bot token",
      "help": "Discord bot token",
      "placeholder": "<DISCORD_TOKEN>"
    },
    {
      "name": "DISCORD_MCP_TOOLSETS",
      "required": false,
      "secret": false,
      "description": "Comma-separated toolsets to expose: discovery, messages, channels, permissions, members, roles, moderation, screening, stats, forums, webhooks, scheduled_events, invites, dm, polls, or all. An unknown name stops the server at startup.",
      "help": "Comma-separated toolsets to expose: discovery, messages, channels, permissions, members, roles, moderation, screening, stats, forums, webhooks, scheduled_events, invites, dm, polls, or all. An unknown name stops the server at startup.",
      "default": "all",
      "placeholder": "all"
    },
    {
      "name": "DISCORD_MCP_READ_ONLY",
      "required": false,
      "secret": false,
      "description": "Set to true to expose only the read-only tools of the selected toolsets: write tools are neither listed nor callable. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup.",
      "help": "Set to true to expose only the read-only tools of the selected toolsets: write tools are neither listed nor callable. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup.",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "DISCORD_MCP_CONFIRM",
      "required": false,
      "secret": false,
      "description": "Set to false to stop asking the user to confirm a dry_run: false call to the six tools that preview by default. The server asks only over stdio, and only a client that supports form elicitation. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup.",
      "help": "Set to false to stop asking the user to confirm a dry_run: false call to the six tools that preview by default. The server asks only over stdio, and only a client that supports form elicitation. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup.",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "DISCORD_ALLOWED_GUILDS",
      "required": false,
      "secret": false,
      "description": "Comma-separated guild IDs the server may act on. Calls that target any other guild are rejected, and the DM tools refuse a user who is not a member of any listed guild. Unset allows every guild.",
      "help": "Comma-separated guild IDs the server may act on. Calls that target any other guild are rejected, and the DM tools refuse a user who is not a member of any listed guild. Unset allows every guild.",
      "placeholder": "<DISCORD_ALLOWED_GUILDS>"
    },
    {
      "name": "DISCORD_MESSAGE_CONTENT",
      "required": false,
      "secret": false,
      "description": "Set to false to stop requesting the Message Content privileged intent at connect time.",
      "help": "Set to false to stop requesting the Message Content privileged intent at connect time.",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "DISCORD_GUILD_MEMBERS",
      "required": false,
      "secret": false,
      "description": "Set to false to stop requesting the Server Members privileged intent at connect time.",
      "help": "Set to false to stop requesting the Server Members privileged intent at connect time.",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "DISCORD_MCP_TRANSPORT",
      "required": false,
      "secret": false,
      "description": "stdio, or http to serve Streamable HTTP on /mcp for remote clients such as the OpenAI Responses API, Codex or n8n. Any other value stops the server at startup.",
      "help": "stdio, or http to serve Streamable HTTP on /mcp for remote clients such as the OpenAI Responses API, Codex or n8n. Any other value stops the server at startup.",
      "default": "stdio",
      "placeholder": "stdio"
    },
    {
      "name": "DISCORD_MCP_HTTP_TOKEN",
      "required": false,
      "secret": true,
      "description": "Bearer token every HTTP request must carry. Required when DISCORD_MCP_TRANSPORT is http: at least 32 characters from the RFC 6750 b64token alphabet, different from DISCORD_TOKEN. Generate one with openssl rand -hex 32.",
      "help": "Bearer token every HTTP request must carry. Required when DISCORD_MCP_TRANSPORT is http: at least 32 characters from the RFC 6750 b64token alphabet, different from DISCORD_TOKEN. Generate one with openssl rand -hex 32.",
      "placeholder": "<DISCORD_MCP_HTTP_TOKEN>"
    },
    {
      "name": "DISCORD_MCP_HTTP_HOST",
      "required": false,
      "secret": false,
      "description": "Address the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. Keep 127.0.0.1 outside a container. In the Docker image, set 0.0.0.0, since 127.0.0.1 is unreachable from outside the container, and publish the port on the host loopback only: -p 127.0.0.1:3000:3000.",
      "help": "Address the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. Keep 127.0.0.1 outside a container. In the Docker image, set 0.0.0.0, since 127.0.0.1 is unreachable from outside the container, and publish the port on the host loopback only: -p 127.0.0.1:3000:3000.",
      "default": "127.0.0.1",
      "placeholder": "127.0.0.1"
    },
    {
      "name": "DISCORD_MCP_HTTP_PORT",
      "required": false,
      "secret": false,
      "description": "Port the HTTP server listens on when DISCORD_MCP_TRANSPORT is http.",
      "help": "Port the HTTP server listens on when DISCORD_MCP_TRANSPORT is http.",
      "default": "3000",
      "placeholder": "3000"
    },
    {
      "name": "DISCORD_MCP_HTTP_ALLOWED_HOSTS",
      "required": false,
      "secret": false,
      "description": "Comma-separated hostnames, without port, accepted in the Host header of HTTP requests besides localhost, 127.0.0.1 and [::1], such as the public name a reverse proxy forwards.",
      "help": "Comma-separated hostnames, without port, accepted in the Host header of HTTP requests besides localhost, 127.0.0.1 and [::1], such as the public name a reverse proxy forwards.",
      "placeholder": "<DISCORD_MCP_HTTP_ALLOWED_HOSTS>"
    }
  ],
  "expectedTools": [
    "discord_list_guilds",
    "discord_get_guild_info",
    "discord_list_channels",
    "discord_find_channel_by_name",
    "discord_read_messages",
    "discord_send_message",
    "discord_reply_message",
    "discord_edit_message",
    "discord_add_reaction",
    "discord_list_channel_threads",
    "discord_create_thread",
    "discord_add_thread_member",
    "discord_remove_thread_member",
    "discord_bulk_delete_messages",
    "discord_send_embed",
    "discord_edit_embed",
    "discord_send_multiple_embeds",
    "discord_delete_message",
    "discord_pin_message",
    "discord_search_messages",
    "discord_search_guild_messages",
    "discord_crosspost_message",
    "discord_remove_reactions",
    "discord_get_reactions",
    "discord_get_message_attachments",
    "discord_fetch_pinned_messages",
    "discord_forward_message",
    "discord_create_channel",
    "discord_delete_channel",
    "discord_edit_channel",
    "discord_move_channel",
    "discord_clone_channel",
    "discord_set_channel_position",
    "discord_follow_announcement_channel",
    "discord_lock_channel_permissions",
    "discord_get_channel_permissions",
    "discord_set_role_permission",
    "discord_set_member_permission",
    "discord_reset_channel_permissions",
    "discord_copy_permissions",
    "discord_audit_permissions",
    "discord_list_members",
    "discord_get_member_info",
    "discord_kick_member",
    "discord_ban_member",
    "discord_unban_member",
    "discord_timeout_member",
    "discord_search_members",
    "discord_set_nickname",
    "discord_list_bans",
    "discord_bulk_ban",
    "discord_prune_members",
    "discord_list_roles",
    "discord_create_role",
    "discord_edit_role",
    "discord_delete_role",
    "discord_add_role",
    "discord_remove_role",
    "discord_bulk_add_role",
    "discord_bulk_remove_role",
    "discord_get_role_members",
    "discord_set_role_position",
    "discord_set_role_icon",
    "discord_get_audit_log",
    "discord_get_membership_screening",
    "discord_update_membership_screening",
    "discord_get_server_stats",
    "discord_get_forum_channels",
    "discord_create_forum_channel",
    "discord_create_forum_post",
    "discord_get_forum_post",
    "discord_list_forum_threads",
    "discord_reply_to_forum",
    "discord_delete_forum_post",
    "discord_get_forum_tags",
    "discord_set_forum_tags",
    "discord_update_forum_post",
    "discord_create_webhook",
    "discord_send_webhook_message",
    "discord_edit_webhook",
    "discord_delete_webhook",
    "discord_list_webhooks",
    "discord_edit_webhook_message",
    "discord_delete_webhook_message",
    "discord_fetch_webhook_message",
    "discord_list_scheduled_events",
    "discord_get_scheduled_event",
    "discord_create_scheduled_event",
    "discord_edit_scheduled_event",
    "discord_delete_scheduled_event",
    "discord_get_event_subscribers",
    "discord_create_event_invite",
    "discord_list_invites",
    "discord_get_invite",
    "discord_create_invite",
    "discord_delete_invite",
    "discord_list_channel_invites",
    "discord_send_dm",
    "discord_send_dm_embed",
    "discord_edit_dm",
    "discord_edit_dm_embed",
    "discord_delete_dm",
    "discord_read_dms",
    "discord_reply_dm",
    "discord_create_poll",
    "discord_get_poll_results",
    "discord_end_poll",
    "discord_get_poll_voters"
  ],
  "agentSteps": [
    "Ask the user for: DISCORD_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: discord_list_guilds, discord_get_guild_info, discord_list_channels, discord_find_channel_by_name, discord_read_messages, discord_send_message, discord_reply_message, discord_edit_message, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "warnings": [
    "Has high-severity static-analysis findings pending human review."
  ],
  "generatedAt": "2026-12-01T10:03:00.781943604Z"
}
