使用说明
断开MCP服务器
A. 模型上下文协议 为人工智能代理提供对Discord的REST API和网关事件的安全访问的服务器。
特性
🔧 120+Discord API工具 -全面覆盖Discord的REST API
🔒 安全第一 -帮派/频道满配,安全默认,无意外提及
⚡ 实时事件 -用于实时Discord活动的网关集成
🎯 智能路由 -来自声明性API目录的自动生成工具
📦 模块化包装 -仅启用所需的功能
快速开始
# Clone and install
git clone https://github.com/GustyCube/discord-mcp
cd discord-mcp
npm install
# Configure your bot
cp .env.example .env
# Add your DISCORD_BOT_TOKEN and other settings
# Build and run
npm run build
npm start
文档
📖 完整的文档可在 不一致-mcp.gustycube.com
快速链接
示例:Claude桌面集成
添加到您的 mcp.json:
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["/path/to/discord-mcp/dist/index.js"],
"env": {
"DISCORD_BOT_TOKEN": "your_bot_token_here",
"ALLOW_GUILD_IDS": "123456789,987654321",
"ALLOW_CHANNEL_IDS": "111111111,222222222"
}
}
}
}
你能做什么
- 📝 消息管理 -发送、编辑、删除消息和反应
- 👥 用户和公会信息 -获取用户资料、公会详细信息、成员列表
- 🔊 渠道运作 -列出频道、管理权限、创建线程
- 🎭 丰富的内容 -发送嵌入、管理webhooks、上传文件
- ⚡ 现场活动 -订阅消息事件、成员加入等。
- 🛡️ 节制 -管理禁令、踢腿、角色(具有适当的权限)
贡献
请参阅 全部文件 用于开发设置、API参考和贡献指南。
许可证
MIT许可证-请参阅 许可证 文件以获取详细信息。