Skip to main content
Glama
RossH121

Discord MCP Server

by RossH121

Discord MCP 服务器

一个用于 Discord API 与 Claude 集成的 MCP(模型上下文协议)服务器。该服务器允许 Claude 通过执行发送消息、阅读消息和管理服务器资源等操作的工具与 Discord 服务器进行交互。

先决条件

  • Node.js 16 或更高版本

  • Discord 机器人令牌(在Discord 开发者门户上创建一个)

  • 适当的机器人权限:

    • 阅读消息/查看频道

    • 发送消息

    • 阅读消息历史记录

    • (可选)根据需要的功能管理角色、管理频道等

Related MCP server: Discord Bridge MCP Server

安装

  1. 克隆此存储库

  2. 安装依赖项:

    npm install
  3. 构建项目:

    npm run build

配置

使用以下命令在根目录中创建.env文件:

DISCORD_TOKEN=your_discord_bot_token_here

用法

  1. 启动服务器:

    npm start
  2. 配置Claude桌面:

    • 在Claude Desktop的配置文件中添加:GXP5

可用工具

  • send-message :向 Discord 频道发送消息

  • read-messages :阅读 Discord 频道的最新消息

  • list-channels :列出服务器中可用的频道

  • list-servers :列出机器人可以访问的服务器

  • get-user-info :获取特定用户的信息

安全注意事项

  • Discord 机器人令牌可授予您访问 Discord 机器人的权限。请务必确保其安全。

  • 该机器人只能访问被邀请的服务器。

  • 每个服务器中的机器人的操作受到权限的限制。

执照

麻省理工学院

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • An MCP server that integrates with Discord to provide AI-powered features.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RossH121/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server