Install guide · Claude Desktop
Install discord-mcp for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "qungtai-discord-mcp": { "command": "npx", "args": [ "-y", "@qungtai/discord-mcp@0.2.0" ], "env": { "DISCORD_TOKEN": "YOUR_DISCORD_TOKEN", "DISCORD_MCP_ALLOWED_GUILDS": "", "DISCORD_MCP_TOOLSETS": "core,messages,reactions,threads", "DISCORD_MCP_READ_ONLY": "false", "DISCORD_MCP_APPROVAL": "elicitation", "DISCORD_MCP_ALLOW_DMS": "false", "DISCORD_MCP_FILE_ROOTS": "", "DISCORD_MCP_DOWNLOAD_DIR": "", "DISCORD_MCP_MAX_DOWNLOAD_BYTES": "104857600", "DISCORD_MCP_MAX_UPLOAD_BYTES": "20971520", "DISCORD_MCP_REQUEST_TIMEOUT_MS": "15000", "DISCORD_MCP_RATE_LIMIT_WAIT_MS": "5000" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |