Discord MCP Server
by hypark5540io.github.hypark5540/discord-mcpv0.1.1
Safe Discord access for reading guild data and optionally managing bot messages
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Discord MCP server
Install in Claude Code
claude mcp add discord-hypark5540 -e DISCORD_TOKEN='<discord-token>' -- npx -y @hypark5540/discord-mcpInstall in Cursor
{
"mcpServers": {
"discord-hypark5540": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"discord-hypark5540": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"discord-hypark5540": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"discord-hypark5540": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DISCORD_TOKEN | yes | yes | Discord bot token |
| DISCORD_ENABLE_WRITES | — | — | Expose message send and edit tools |
| DISCORD_ENABLE_DELETES | — | — | Expose the own-message delete tool; writes must also be enabled |
| DISCORD_ALLOW_UNRESTRICTED_WRITES | — | — | Permit writes without a guild or channel allowlist |
| DISCORD_ALLOWED_GUILD_IDS | — | — | Comma-separated Discord guild IDs |
| DISCORD_ALLOWED_CHANNEL_IDS | — | — | Comma-separated Discord channel IDs |
| DISCORD_MAX_RESPONSE_CHARS | — | — | Maximum serialized MCP response size in characters |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-22 · 3mo ago · GitHub
Latest release
2026-07-22 · 3mo ago · GitHub · v0.1.1
Package published
no data · npm/PyPI
Registry entry updated
2026-07-22 · 3mo ago · official registry · v0.1.1
FAQ
›How do I install the Discord MCP server in Claude Code?
Run: claude mcp add discord-hypark5540 -e DISCORD_TOKEN='<discord-token>' -- npx -y @hypark5540/discord-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Discord require an API key?
Yes. It expects DISCORD_TOKEN, of which 1 is a secret.
›Can I use Discord as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Discord in the official MCP registry?
Yes, as io.github.hypark5540/discord-mcp.
Alternatives to Discord
Other communication MCP servers.