Safe Discord access for reading guild data and optionally managing bot messages
registry version 0.1.1
npm
npx -y @hypark5540/discord-mcpnpm
npx -y @hypark5540/discord-mcp@0.1.1Python
uvx hypark-discord-mcpPython
uvx hypark-discord-mcp@0.1.1Docker
docker run -i --rm ghcr.io/hypark5540/discord-mcp:0.1.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp@0.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env DISCORD_TOKEN=<YOUR_DISCORD_TOKEN> discord-mcp-3 -- npx -y @hypark5540/discord-mcp
claude mcp add --env DISCORD_TOKEN=<YOUR_DISCORD_TOKEN> discord-mcp-3 -- npx -y @hypark5540/discord-mcp@0.1.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp@0.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"servers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp@0.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-3": {
"command": "npx",
"args": [
"-y",
"@hypark5540/discord-mcp@0.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
DISCORD_TOKEN required secret — Discord bot tokenDISCORD_ENABLE_WRITES — Expose message send and edit toolsDISCORD_ENABLE_DELETES — Expose the own-message delete tool; writes must also be enabledDISCORD_ALLOW_UNRESTRICTED_WRITES — Permit writes without a guild or channel allowlistDISCORD_ALLOWED_GUILD_IDS — Comma-separated Discord guild IDsDISCORD_ALLOWED_CHANNEL_IDS — Comma-separated Discord channel IDsDISCORD_MAX_RESPONSE_CHARS — Maximum serialized MCP response size in characters最近更新于 31 天前 · MIT license
Distributed as npm, Python, Docker, listed under Communication. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/hypark5540/discord-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/discord-mcp-3/)
HTML
<a href="https://mcpnav.net/server/discord-mcp-3/"><img src="https://mcpnav.net/badge/discord-mcp-3.svg" alt="Listed on MCPNav" height="20"></a>