Local, typed Model Context Protocol server for Discord bots - 192 tools for AI clients with safety controls and observability.
claude mcp add discord-mcp -- npx -y @discord-mcp/cli{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": ["-y", "@discord-mcp/cli"],
"env": {
"DISCORD_TOKEN": "<discord_token>"
}
}
}
}DISCORD_TOKENMCP Servers overview
<p align="center"> <img src="https://raw.githubusercontent.com/cappyeo/discord-mcp/main/.github/assets/discord-mcp-banner.jpg" alt="Discord MCP - connect Discord to the Model Context Protocol" width="1200" /> </p> <h1 align="center">discord-mcp</h1> <p align="center"> <a href="https://github.com/cappyeo/discord-mcp/actions/workflows/ci.yml"><img src="https://github.com/cappyeo/discord-mcp/actions/workflows/ci.yml/badge.svg" alt="CI status" /></a> <a href="https://www.npmjs.com/package/@discord-mcp/cli"><img src="https://img.shields.io/npm/v/%40discord-mcp%2Fcli?label=npm" alt="npm version" /></a> <a href="https://www.npmjs.com/package/@discord-mcp/cli"><img src="https://img.shields.io/node/v/%40discord-mcp%2Fcli" alt="Required Node.js version" /></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/cappyeo/discord-mcp" alt="MIT license" /></a> </p> <p align="center"> <strong>Connect your AI client to Discord through a local, typed, production-ready MCP server.</strong><br /> 192 tools for messages, moderation, members, channels, commands, webhooks, and more. </p> <p align="center"> <a href="https://cappyeo.github.io/discord-mcp/start/quickstart/"><strong>Quickstart</strong></a> · <a href="https://cappyeo.github.io/discord-mcp/tools/"><strong>Browse 192 tools</strong></a> · <a href="https://www.npmjs.com/package/@discord-mcp/cli"><strong>View on npm</strong></a> · <a href="https://cappyeo.github.io/discord-mcp/"><strong>Documentation</strong></a> </p> ## How it works <p align="center"> <img src="https://raw.githubusercontent.com/cappyeo/discord-mcp/main/.github/assets/discord-mcp-workflow.svg" alt="AI client connects to discord-mcp over stdio, then discord-mcp connects to Discord with confirmation gates, reliability controls, and observability." width="1200" /> </p> ## Quick start Requires Node.js 22.12 or later. ```bash # Install the MCP server npm install -g @discord-mcp/cli # Generate a client-specific configuration fragment for Codex discord-mcp init --client codex # Verify your Discord token and local configuration export DISCORD_TOKEN="Bot YOUR_DISCORD_BOT_TOKEN" discord-mcp doctor --online ``` On PowerShell, set the token with: ```powershell $env:DISCORD_TOKEN = "Bot YOUR_DISCORD_BOT_TOKEN" ``` `init` supports Codex, Claude Desktop, Claude Code, Cursor, and a generic MCP client. It prints a complete configuration fragment; merge it into an existing client configuration rather than overwriting it. The Codex fragment forwards `DISCORD_TOKEN` from its launch environment instead of storing the token in `~/.codex/config.toml`. See the [installation guide](https://cappyeo.github.io/discord-mcp/start/installation/) for non-interactive and client-specific setup. To run without a global install: ```bash npx -y @discord-mcp/cli init --client cursor ``` ## What you get | Area | Examples | | --- | --- | | Messages and channels | Send, edit, pin, search, manage threads, forums, and permissions | | Moderation and safety | Bans, role changes, AutoMod rules, bulk actions, and audit-aware operations | | Community operations | Members, roles, invites, onboarding, events, polls, soundboard, and voice | | Application APIs | Slash commands, interactions, application emojis, webhooks, and entitlements | | Agent workflows | Tool output schemas, predictable errors, migration adapters, and client config generation | Explore the complete, generated [tool reference](https://cappyeo.github.io/discord-mcp/tools/) and practical [recipes](https://cappyeo.github.io/discord-mcp/recipes/). ## Built for production use - **Safety controls** - destructive operations require explicit confirmation and can be governed by category-level controls. - **Reliable Discord access** - retries, timeouts, rate-limit handling, and circuit breaking protect agent workflows from transient API failures. - **Observability** - OpenTelemetry traces and metrics, structured logs, and audit events make operations inspectable. - **Typed contracts** - every tool is schema-defined; public core exports, CLI flags, configuration variables, and tool metadata are regression-tested. - **Supply-chain evidence** - npm releases are published from GitHub Actions with signed SLSA provenance. Read the [architecture](https://cappyeo.github.io/discord-mcp/architecture/), [operations guides](https://cappyeo.github.io/discord-mcp/operations/), and [v1.0 readiness plan](docs/v1.0.0-readiness.md) for implementation details and current stability commitments. ## Commands | Command | Purpose | | --- | --- | | `discord-mcp serve` | Start the stdio MCP server. This is the default command. | | `discord-mcp init` | Generate an MCP client configuration snippet. | | `discord-mcp doctor` | Check Node.js, token format, environment, audit configuration, and optional network connectivity. | | `discord-mcp migrate` | Create a migration report from a supported Discord MCP setup. | Run `discord-mcp --help` or see the full [CLI reference](https://cappyeo.github.io/discord-mcp/reference/cli/) for flags and examples. ## Packages | Package | Use it when | | --- | --- | | [@discord-mcp/cli](https://www.npmjs.com/package/@discord-mcp/cli) | You want to run Discord MCP from an AI client or terminal. | | [@discord-mcp/core](https://www.npmjs.com/package/@discord-mcp/core) | You are building an integration on the typed Discord MCP tool and server primitives. | The CLI runs on macOS, Linux, and Windows. Its executable is always `discord-mcp`. ## Migrate an existing setup `discord-mcp` includes migration adapters for established community projects, including PaSympa, quadslab, and discord-ops. Start with: ```bash discord-mcp migrate --list ``` Then use `discord-mcp migrate --from <adapter> --source <path>` to generate a tool-by-tool mapping report. The [migration guides](https://cappyeo.github.io/discord-mcp/migrate/) explain each adapter and its limits. ## Develop locally ```bash pnpm install pnpm build pnpm test ``` The repository is a pnpm workspace. For a real Discord smoke test, set `DISCORD_TOKEN` and run `node packages/mcp-server/dist/cli.js`; the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) is useful for verifying `tools/list` interactively. ## Project status `discord-mcp` is pre-1.0. The current public release is **v0.13.2**; its core exports, CLI surface, environment schema, and 192-tool registry are covered by contract tests. See the [changelog](https://cappyeo.github.io/discord-mcp/reference/changelog/) and [v1.0 readiness checklist](docs/v1.0.0-readiness.md) before depending on an unstable surface. ## License [MIT](LICENSE)
What people ask about discord-mcp
What is cappyeo/discord-mcp?
+
cappyeo/discord-mcp is mcp servers for the Claude AI ecosystem. Local, typed Model Context Protocol server for Discord bots - 192 tools for AI clients with safety controls and observability. It has 1 GitHub stars and was last updated today.
How do I install discord-mcp?
+
You can install discord-mcp by cloning the repository (https://github.com/cappyeo/discord-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is cappyeo/discord-mcp safe to use?
+
cappyeo/discord-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains cappyeo/discord-mcp?
+
cappyeo/discord-mcp is maintained by cappyeo. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to discord-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy discord-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/cappyeo-discord-mcp)<a href="https://claudewave.com/repo/cappyeo-discord-mcp"><img src="https://claudewave.com/api/badge/cappyeo-discord-mcp" alt="Featured on ClaudeWave: cappyeo/discord-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!