loading…
Search for a command to run...
loading…
An MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It
An MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It allows users to send messages, read channel history, and manage reactions directly from their local environment.
An MCP (Model Context Protocol) server that gives Claude Code native Discord tools. Enables bidirectional communication between your local Claude Code session and remote AI agents (or humans) through Discord.
This server exposes 6 Discord tools to Claude Code:
| Tool | Description |
|---|---|
discord_send |
Send a message to any channel |
discord_read |
Read recent messages (with pagination) |
discord_reply |
Reply to a specific message |
discord_react |
React to a message with emoji |
discord_channels |
List all text channels |
discord_check_mentions |
Find messages that @mention you |
Uses the Discord REST API directly -- no WebSocket gateway connection needed. Lightweight, stateless, ~250 lines of code.
Send Messages + Read Message History permissionsnpm install
claude mcp add discord-bridge \
-e DISCORD_BOT_TOKEN=your-bot-token \
-e DISCORD_GUILD_ID=your-server-id \
-e DISCORD_DEFAULT_CHANNEL=general \
-- node /path/to/index.js
Copy talk.md to ~/.claude/commands/talk.md. Then type /talk in Claude Code to check for new messages and respond.
┌─────────────────┐ stdio ┌─────────────────┐ REST API ┌─────────┐
│ Claude Code │◄──────────────►│ Discord Bridge │◄─────────────►│ Discord │
│ (local CLI) │ MCP │ (MCP Server) │ HTTPS │ API │
└─────────────────┘ └─────────────────┘ └─────────┘
│
┌─────┴─────┐
│ Discord │
│ Server │
│ (channels) │
└─────┬─────┘
│
┌───────┴───────┐
│ Remote Agents │
│ (or humans) │
└───────────────┘
Claude Code communicates with the MCP server over stdio. The MCP server translates tool calls into Discord REST API requests. Remote agents (or humans) see messages in Discord and can respond. Claude Code picks up responses on the next /talk invocation.
| Variable | Required | Description |
|---|---|---|
DISCORD_BOT_TOKEN |
Yes | Discord bot token |
DISCORD_GUILD_ID |
Yes | Discord server (guild) ID |
DISCORD_DEFAULT_CHANNEL |
No | Default channel name (defaults to "general") |
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"discord-bridge-mcp-server": {
"command": "npx",
"args": []
}
}
}