HD

hardheadhackerhead/discord-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

44 stars 6 forks 质量 73 趋势 1MIT

通过MCP,通过Claude Code、Claude Desktop、Cursor或Windsurf管理整个Discord服务器。拥有20个类别的134个管理工具。包含交互式设置向导。

概览

139个管理工具,涵盖20个类别——角色、频道、会员、消息、帖子、版主、论坛、舞台、网络钩子、活动、投票、私信等。只需用通俗易懂的英语与你的人工智能交流即可。 如果你觉得有用,可以考虑在GitHub上给它打星——它帮助别人发现这个项目! 一个命令。没有手动配置文件。没有复制ID。 互动向导会带你了解所有流程: 它会:1. 引导你创建 Discord 机器人(或使用现有机器人) 2.验证你的机器人令牌 3.自动生成带有所有必要权限的邀请网址 4.让你选择管理哪个服务器 5.自动检测你安装的 MCP 客户端并自动编写配置 向导会自动检测你安装的客户端: 选择一个、多个,或“全部检测到”,可以一次性配置所有内容。 一旦连接到Claude Code或Claude Co-Work,只需用自然语言提问:

概述(AI 翻译)

通过Claude Code、Claude Co-Work、Claude Desktop、Cursor或Windsurf管理整个Discord服务器。 139种管理工具,涵盖20个类别——角色、频道、成员、消息、帖子、版主、论坛、舞台、webhooks、活动、投票、私信等。只需用简单的英语与你的AI交流即可。

由 QuadsLab.io |Discord |NPM

如果你觉得有用,可以考虑在GitHub上给它打星——它帮助别人发现这个项目!


60秒后布置

一个命令。没有手动配置文件。没有复制ID。

互动向导会带你了解所有流程:

它将:

  1. 指导你创建一个 Discord 机器人(或使用现有的机器人)
  2. 实时验证你的机器人令牌
  3. 自动生成带有所有权限的邀请网址
  4. 让你选择管理哪个服务器
  5. 自动检测你已安装的MCP客户端,并为你编写配置

适用于所有MCP客户端

向导会自动检测你安装的客户端:

选择一个、多个,或“全部检测到”,可以一次性配置所有内容。

验证你的设置


你能拿它做什么?

一旦连接到Claude Code或Claude Co-Work,只需用自然语言提问:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

@quadslab.io/discord-mcp

Manage your entire Discord server from Claude Code, Claude Co-Work, Claude Desktop, Cursor, or Windsurf. 139 admin tools across 20 categories — roles, channels, members, messages, threads, moderation, forums, stages, webhooks, events, polls, DMs, and more. Just talk to your AI in plain English.

Built by QuadsLab.io | Discord | npm

If you find this useful, consider giving it a star on GitHub — it helps others discover the project!


Setup in 60 Seconds

One command. No manual config files. No copying IDs.

npx @quadslab.io/discord-mcp init

The interactive wizard walks you through everything:

It will:

  1. Guide you through creating a Discord bot (or use an existing one)
  2. Validate your bot token live
  3. Auto-generate the invite URL with all required permissions
  4. Let you pick which server to manage
  5. Auto-detect your installed MCP clients and write the config for you

Works With Every MCP Client

The wizard auto-detects which clients you have installed:

  Detected MCP clients:

  ● Claude Code      .mcp.json
  ● Claude Desktop   ~/Library/Application Support/Claude/claude_desktop_config.json
  ● Cursor           ~/.cursor/mcp.json
  ○ Windsurf         (not detected)

  ? Which client(s) to configure?
  1. Claude Code (detected)
  2. Claude Desktop (detected)
  3. Cursor (detected)
  4. Windsurf (not found)
  5. All detected (3 clients)
  6. Skip (show config to copy manually)

Select one, multiple, or “All detected” to configure everything at once.

Verify Your Setup

npx @quadslab.io/discord-mcp check
  QuadsLab.io [discord-mcp] — Health Check
  ────────────────────────────────────────────────────

  Token ............ present
  Bot .............. MyBot#1234
  Server ........... My Gaming Server (1,024 members)

  Permissions
  ────────────────────────────────────────────────────

  ✔ Manage Roles .............. yes
  ✔ Manage Channels ........... yes
  ✔ Kick Members .............. yes
在 GitHub 查看完整 README

安装

npx -y @quadslab.io/discord-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "discord": { "command": "npx", "args": ["-y", "@quadslab.io/discord-mcp"], "env": { "DISCORD_TOKEN": "your-bot-token", "DISCORD_GUILD_ID": "your-server-id" } } } }