Skip to main content
Glama

Discord MCP Server

Discord MCP 服务器

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

先决条件

  • Node.js 16 或更高版本
  • Discord 机器人令牌(在Discord 开发者门户上创建一个)
  • 适当的机器人权限:
    • 阅读消息/查看频道
    • 发送消息
    • 阅读消息历史记录
    • (可选)根据需要的功能管理角色、管理频道等

安装

  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 机器人的权限。请务必确保其安全。
  • 该机器人只能访问被邀请的服务器。
  • 每个服务器中的机器人的操作受到权限的限制。

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器允许 Claude 通过提供发送/读取消息的工具以及通过 Discord 的 API 管理服务器资源来与 Discord 进行交互。

  1. 先决条件
    1. 安装
      1. 配置
        1. 用法
          1. 可用工具
            1. 安全注意事项
              1. 执照

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  Provides Discord integration capabilities to MCP clients like Claude Desktop.
                  Last updated -
                  12
                  53
                  Python
                  MIT License
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  This server allows integration with Discord, enabling message exchanges between Claude and a Discord channel using prompts and notifications.
                  Last updated -
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.
                  Last updated -
                  2
                  108
                  195
                  TypeScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server that enables posting messages to Discord webhooks, allowing customization of content, username, and avatar URL.
                  Last updated -
                  1
                  0
                  JavaScript
                  MIT License

                View all related MCP servers

                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