原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Discord Server MCP

作者:pr5ias版本 1.0.0i★ 0i在你的电脑上运行
注册名称io.github.pr5ias/discord-server-mcp

安装方法

概览

作者提供的说明(英文原文)

Manage Discord servers through your own bots: build, moderate and automate, with previews.

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 聊天与邮件
  • 你需要填写:DISCORD_BOT_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Discord Server MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    获取密钥的方法见下方开发者的 README

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "discord": {
          "command": "npx",
          "args": [
            "-y",
            "discord-server-mcp"
          ],
          "env": {
            "DISCORD_BOT_TOKEN": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Discord Server MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Discord Server MCP,或回答中出现 Discord Server MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Discord Server MCP

Discord Server MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Discord Server MCP 的应用

  • 需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Discord Server MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    获取密钥的方法见下方开发者的 README

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add discord --env DISCORD_BOT_TOKEN=your-value -- npx -y discord-server-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Discord Server MCP 在列表中并显示已连接

  6. 试一试

    用 Discord Server MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Discord Server MCP,或回答中出现 Discord Server MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Discord Server MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Discord Server MCP 的设置中,DISCORD_BOT_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Discord Server MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Discord Server MCP,或回答中出现 Discord Server MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Discord Server MCP 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Discord Server MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Discord Server MCP 的设置中,DISCORD_BOT_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Discord Server MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Discord Server MCP,或回答中出现 Discord Server MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Discord Server MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add discord --env DISCORD_BOT_TOKEN=your-value -- npx -y discord-server-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": [
        "-y",
        "discord-server-mcp"
      ],
      "env": {
        "DISCORD_BOT_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": [
        "-y",
        "discord-server-mcp"
      ],
      "env": {
        "DISCORD_BOT_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "discord": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "discord-server-mcp"
      ],
      "env": {
        "DISCORD_BOT_TOKEN": "your-value"
      }
    }
  }
}

需要你填写的值

  • DISCORD_BOT_TOKEN 机密 env
    Bot token from the Discord Developer Portal (or run `discord-server-mcp init` to save it locally)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在你的电脑上运行
最新版本i
1.0.0
发布到注册中心i
2026年11月12日
代码最后更新i
2026年11月12日
作者
pr5ias
软件包
npm: discord-server-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 pr5ias 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于今天

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“聊天与邮件”中的其他服务器比较i

  • 星标数多于此分类中其他 1964 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1964 个服务器的 97% 更新
  • 基础检查结果等于或优于此分类中其他 1964 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Discord Server MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DISCORD_BOT_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于今天,最新版本(1.0.0)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Inbox Zero, Agent-Native Chat, draw.io

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

作者:elie222广泛使用★ 1.3万42天前更新

在云端运行

Agent-Native Chat

Minimal chat-first app with durable threads, actions, and the app-agent loop

作者:BuilderIO广泛使用★ 7672 整个仓库的星标2个月前更新

在云端运行

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

作者:jgraph广泛使用★ 5808昨天更新

在云端运行✓ draw.io

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

discord-server-mcp

Create, organise and moderate Discord servers from Claude (or any MCP client) through your own bot.

Ask in plain words: *"set up a server for my gaming group"*, *"add a Solved tag to the help forum"*, *"post this announcement with the image and ping @Announcements"*, *"who can see #staff-chat?"*. The assistant reads the server, shows you the plan, and acts once you agree.

  • 132 tools, of which only a core of 48 is on at first; the rest turn on when a task needs them, plus discord_api for any other Discord endpoint.
  • Live events: the assistant sees what happens as it happens: new messages, mentions of the bot, members joining or leaving, reactions and button clicks. It can also wait for something, such as a reply.
  • Automations:
  • role menus with buttons, a dropdown or reactions;
  • welcome messages with auto-roles, and verification with an "I accept the rules" button;
  • numbered support tickets in private channels; a staff-only channel gets a line when each one opens (with a Claim button), is claimed and closes (with a summary and the full transcript), and ticket_history finds any past ticket;
  • support forums: new posts get an Open tag and a Solved button, staff can claim them, solved posts close, idle ones close after a few days;
  • the server's own slash commands, such as /rules or /links;
  • rules, "when this happens, do that": answer words, delete links, give a role on a reaction, DM new members, time out spammers;
  • scheduled and recurring messages, in any time zone;
  • moderation logs, in one channel, split by kind, or in a forum with one post per member and tags per kind (filter by member, kind or both): deleted and edited messages with what they said, joins and leaves, kicks, bans, timeouts, nickname and role changes with who did it and why, AutoMod blocks. The bot's own automations and ticket channels are left out, and every entry is kept for search_mod_log and /modlog;
  • staff alerts: a role ping in a staff channel and/or DMs on bans, kicks, timeouts, AutoMod blocks and raids;
  • staff slash commands inside Discord: /lock, /unlock, /slowmode, /purge, /timeout, /untimeout, /kick, /ban, /unban, /role add|remove, /announce, /ticket close|claim, /modlog. Discord shows each one only to members with the matching permission, they respect the role order, and the log shows who used them.

Members see these texts in the server's language: English, Portuguese (Portugal and Brazil), Spanish, French, German, Italian, Russian, Japanese, Chinese (simplified), Korean, Polish or Turkish. Every text can be changed, then or later, so any other language works too. Staff command names can be in English, translated for each member, or in one language for everyone. They run while the assistant is open, or around the clock with discord-server-mcp run or Docker.

  • Background jobs: big builds, role changes for many members, message backups (JSON, Markdown and HTML transcripts) and restores. Each job shows its progress and can be cancelled or resumed.
  • Local or remote: stdio for desktop apps, or Streamable HTTP with a bearer token (serve --http).
  • Guided from zero: /discord finds what is already set up, lets you pick a server, and walks you through creating a bot, adding it to an existing server, or creating a brand-new server. The new server gets built step by step: questions, plan, structure, rules and welcome texts, then Community, onboarding and AutoMod.
  • Several bots and servers:
  • add as many bots as you like and move between their servers;
  • each request uses the bot that is in that server, or the one you chose for it;
  • every result says which bot acted.
  • Warns about 2FA: when a server requires two-factor authentication for moderation, it says who needs 2FA and why.
  • Templates, layouts and backups: build a whole server from a template, a layout you describe, or a backup. Only what is missing is created, and an interrupted build can be resumed.
  • Safe by design:
  • every change can be previewed (dry_run);
  • permanent actions need confirm: true;
  • there are read-only and preview-only modes, an allow-list of servers and selectable tool packs;
  • nobody is pinged unless you ask.
  • Built for Claude: a /discord command with a menu and a guided setup, and skills that make Claude show the plan before acting.
  • Easy install:
  • one-click extension for Claude Desktop (asks for the token in a form);
  • a plugin for Claude Code;
  • a setup command (init) for every other client.
  • Names, not ids: announcements, @Moderator, alice. Emoji prefixes are ignored when matching, and typos get "did you mean…?" suggestions.
  • Files and images from your computer or the web, inside messages and embeds, and as icons, emojis and banners.
  • Online presence: the bot shows as online with your status text while it runs.

Install

1. Create the bot (2 minutes)
  1. Go to discord.com/developers/applications, click New Application, open Bot and click Reset Token. Copy the token and keep it secret: it controls the bot.
  2. Optional: on the same page, turn on Server Members Intent so member lists and role member counts work.
  3. Add the bot to your server: OAuth2 → URL Generator → scope bot → permission Administrator → open the link. The /discord command and the init command also give you this link.
  4. In Server Settings → Roles, drag the bot's role near the top. A bot can only manage roles and members below its own highest role.
2. Add it to your app

Claude Desktop: download discord-server-mcp- .mcpb from the latest release and double-click it. Claude Desktop shows a form; paste the token there. Node.js is not needed because Claude Desktop includes it.

Claude Code:

/plugin install discord-server --marketplace pr5ias/discord-server-mcp

Then run /discord: Claude walks you through creating the bot and asks for the token in a private box, or, if your app has none, on a one-time page in your browser at 127.0.0.1. The token goes straight to the server and is saved in ~/.discord-mcp/bots.json, never into the chat. On older versions, run /plugin marketplace add pr5ias/discord-server-mcp first, then /plugin install discord-server@discord-server-mcp. The same .plugin file from the releases also installs in the Claude app.

Cursor, Windsurf, VS Code and other MCP clients (needs Node.js 22+):

npx discord-server-mcp init

Without npm, clone this repository and run node dist/index.mjs init instead.

The wizard checks the token, saves it to ~/.discord-mcp/bots.json (run it again to add more bots), prints the invite link, and adds the server to Claude Desktop, Claude Code, Cursor and Windsurf if you want. To set it up by hand, start the server with npx -y discord-server-mcp and give it the token as DISCORD_BOT_TOKEN.

3. Use it

Restart the app and type `/discord` (in Claude), or just ask *"show my Discord server"*. If something is off, /discord setup or node dist/index.mjs check tells you exactly what to fix.

The /discord command

  • /discord shows what is set up and asks which server to work on, or offers to add a bot, add it to another server, or create a new server. With no bot yet it explains how bots work and walks you through creating one. After you pick a server, a menu opens:
  • Check-up: finds problems, such as missing topics, empty channels, risky roles or a bot role that is too low.
  • Build or reorganise: templates, layouts and restores.
  • Messages & announcements.
  • Roles, members & moderation.
  • Build or reorganise includes Build a server from scratch:
  1. Questions about the server: what it is for, languages, which areas, size.
  2. A starting point: a built-in template, a template from the internet, a copy of another of your servers, or your own description. It is adapted to your answers, then a preview: the channel sidebar as members will see it, the roles, and a grid of who can see and write where. Approve it, ask for changes, or try another template, as many times as you like.
  3. The structure: roles, channels and permissions.
  4. The rules, welcome, FAQ and first announcement, written for you to approve before they are posted.
  5. Optional settings: Community, onboarding, the welcome screen, verification, AutoMod and an invite link.
  • /discord setup walks through the setup one step at a time.
  • /discord skips the menu, e.g. /discord build the project template.

Tools

132 tools in packs. Only the core pack (48 tools) is on at first, so the model has fewer tools to choose from and each request stays small. When a task needs more, the assistant calls enable_tools and the pack appears at once. In apps that do not refresh their tool list, the assistant calls the same tools through use_tool, so nothing is out of reach. DISCORD_TOOLSETS=all turns everything on.

PackTools
core (always on)setup_check (bots, their servers, what to fix, 2FA notes, invite links), list_bots, add_bot (private token box or a one-time local page, never in the chat), use_bot, set_server_bot, remove_bot, bot_invite_link, configure, enable_tools, use_tool, list_servers, get_server, edit_server, create_invite, create_category, create_channel (text, announcement, forum, media, voice, stage; private), edit_channel, delete_channel, reorder_channels, set_permissions, set_forum_tags, create_forum_post, create_thread, read_messages, get_message, send_message (embeds, files, link buttons, polls, replies, pings, silent, publish), edit_message, delete_messages, pin_message, react, search_messages, list_roles, create_role, edit_role, delete_role, list_members, get_member, set_member_roles, timeout_member, kick_member, ban_member, check_permissions (effective permissions; who can see a channel), list_templates, import_discord_template (discord.new links), preview_blueprint (sidebar, roles and a who-sees-what grid), export_server_structure, apply_blueprint, job_status
automationscreate_role_menu (buttons or reactions), set_welcome (message, embed, DM, auto-roles), create_ticket_panel, create_command (the server's own slash commands), set_mod_log (moderation log channel or forum), set_staff_alerts, enable_staff_commands, search_mod_log, ticket_history, set_support_forum, create_rule, create_verification, schedule_message, edit_automation (language and any text, later), list_automations, remove_automation. Menus and tickets take language and texts to change what members see.
liveevents_status, get_events (messages, mentions, edits, deletions, reactions, joins, leaves, bans, threads, clicks), wait_for_event
jobslist_jobs, cancel_job, resume_job, bulk_role_update, backup_messages, restore_messages
moderationlock_channel, unlock_channel, purge_messages, list_automod_rules, create_automod_rule, delete_automod_rule, prune_members, audit_roles, get_audit_log, list_bans, unban_user, edit_member, reorder_roles, export_members (CSV)
messaginglist_webhooks, create_webhook, delete_webhook, send_webhook_message (custom name and avatar), edit_webhook_message, send_dm, list_pins, publish_message, end_poll, list_reactions, poll_results
organizingclone_channel, add_forum_tags, list_threads, edit_thread, follow_announcement_channel, sync_permissions, copy_permissions

| server_settings | get_onboarding, `edit_o

只显示了开头部分;其余内容请在仓库中阅读