# Discord

An MCP server that gives an AI assistant Discord tools: post and read channel messages, handle forum posts, add reactions, manage webhooks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: slimslenderslacks
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/slimslenderslacks/mcp-discord
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/discord

## What it does

The server turns Discord actions into MCP tools. An assistant can sign the bot in, post into a channel, pull recent messages or delete one, list forum channels and open, read or remove posts, create and drop text channels, and touch reactions. Webhook tools go from creating a hook to sending a message through it, editing and deleting it.

This is a TypeScript project you build yourself: `git clone https://github.com/barryyip0625/mcp-discord.git`, then `npm install` and `npm run build`. Node.js 16.0.0 or newer and npm 7.0.0 or newer are required. The bot token sits in the `DISCORD_TOKEN` environment variable, or you hand it over as JSON via `--config`. Client configs point `node` at `build/index.js`; on Cursor the command is wrapped in `cmd /c`.

Grab the token from the Discord Developer Portal and switch on Message Content Intent, Server Members Intent and Presence Intent for that bot. Inside your server it needs rights to send messages, start and manage public threads, manage channels and add reactions. Without the token the tools never register, so there is nothing to call.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- post a release note to a channel without opening the Discord app
- pull recent channel messages into the assistant's context
- open a forum post and answer in its thread
- react to a message with one or several emoji
- create a webhook and push notifications through it

## Example prompts
- Log the bot in and list the channels on my server
- Post to `#general` that the deploy finished
- Read the last messages in `#support` and list the questions nobody answered

## Similar
- [discord-webhooks](https://affpapa.org/en/nevibecode/skills/discord-webhooks.md) — skill · 131 installs
- [discord-reader](https://affpapa.org/en/nevibecode/skills/discord-reader.md) — skill · 1600 installs
- [discord-notifications](https://affpapa.org/en/nevibecode/hooks/discord-notifications.md) — hook · 217 installs
- [discord-clawd](https://affpapa.org/en/nevibecode/skills/discord-clawd.md) — skill · 122 installs
- [discord-bot-architect](https://affpapa.org/en/nevibecode/skills/discord-bot-architect.md) — skill · 106 installs
- [pots-setup](https://affpapa.org/en/nevibecode/skills/pots-setup.md) — skill · ★ 79 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
