MCP.so
登录

Discord MCP Server

@v-3

基本信息

分类

沟通协作

传输方式

stdio

作者

v-3

关于 Discord MCP Server

Discord MCP Server for Claude Integration

#discordmcp#discord-integration#llm-assistant

Discord MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "discordmcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "build/index.js"
      ]
    }
  }
}

Discord MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Discord MCP Server?

A Model Context Protocol server that enables LLMs like Claude to read messages from and send messages to Discord channels through the Discord API, while maintaining user control and security via explicit approval for sending operations.

How to use Discord MCP Server?

Install Node.js 16+, clone the repo, run npm install, create a .env file with your Discord bot token, then npm run build. For Claude for Desktop, add a server entry to claude_desktop_config.json pointing to build/index.js with the DISCORD_TOKEN environment variable set.

Key features of Discord MCP Server

  • Send messages to Discord channels using channel names or IDs
  • Read recent messages from Discord channels
  • Automatic server and channel discovery
  • Proper error handling and validation
  • User approval required for all send operations

Use cases of Discord MCP Server

  • Ask an AI to read the last few messages in a Discord channel
  • Have an AI send automated announcements to a channel
  • Query recent discussions about a specific topic in a development channel

常见问题

1

What permissions does the Discord bot need?

The bot must be invited with Read Messages/View Channels, Send Messages, and Read Message History permissions.

2

What are the runtime requirements?

Node.js version 16.x or higher is required. The server runs as a local Node process.

3

How does the server handle authentication?

The Discord bot token is provided via a `DISCORD_TOKEN` environment variable. This token must never be committed to version control.

4

What tools does the server expose?

It exposes two tools: `send-message` (with optional `server`, required `channel`, and `message` parameters) and `read-messages` (with optional `server`, required `channel`, and optional `limit` defaulting to 50, max 100).

5

Can the server read any channel?

No. The bot can only read and send to channels it has been granted access to by its Discord role permissions.

评论

沟通协作 分类下的更多 MCP 服务器