discord-mcp
io.github.PaSympa/discord-mcp
Run your Discord from Claude, Codex, Cursor or VS Code: messages, moderation, roles, forums, events
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/PaSympa/discord-mcp
- Website
- pasympa.github.io/discord-mcp/
- Version
- 2.6.2
- Author
- PaSympa (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 28, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: DISCORD_TOKEN, DISCORD_MCP_TOOLSETS, DISCORD_MCP_READ_ONLY, DISCORD_MCP_CONFIRM, DISCORD_ALLOWED_GUILDS, DISCORD_MESSAGE_CONTENT, DISCORD_GUILD_MEMBERS, DISCORD_MCP_TRANSPORT, DISCORD_MCP_HTTP_TOKEN, DISCORD_MCP_HTTP_HOST, DISCORD_MCP_HTTP_PORT, DISCORD_MCP_HTTP_ALLOWED_HOSTS.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -e DISCORD_MCP_TOOLSETS=YOUR_DISCORD_MCP_TOOLSETS -e DISCORD_MCP_READ_ONLY=YOUR_DISCORD_MCP_READ_ONLY -e DISCORD_MCP_CONFIRM=YOUR_DISCORD_MCP_CONFIRM -e DISCORD_ALLOWED_GUILDS=YOUR_DISCORD_ALLOWED_GUILDS -e DISCORD_MESSAGE_CONTENT=YOUR_DISCORD_MESSAGE_CONTENT -e DISCORD_GUILD_MEMBERS=YOUR_DISCORD_GUILD_MEMBERS -e DISCORD_MCP_TRANSPORT=YOUR_DISCORD_MCP_TRANSPORT -e DISCORD_MCP_HTTP_TOKEN=YOUR_DISCORD_MCP_HTTP_TOKEN -e DISCORD_MCP_HTTP_HOST=YOUR_DISCORD_MCP_HTTP_HOST -e DISCORD_MCP_HTTP_PORT=YOUR_DISCORD_MCP_HTTP_PORT -e DISCORD_MCP_HTTP_ALLOWED_HOSTS=YOUR_DISCORD_MCP_HTTP_ALLOWED_HOSTS -- npx -y @pasympa/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@pasympa/[email protected]"
],
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN",
"DISCORD_MCP_TOOLSETS": "YOUR_DISCORD_MCP_TOOLSETS",
"DISCORD_MCP_READ_ONLY": "YOUR_DISCORD_MCP_READ_ONLY",
"DISCORD_MCP_CONFIRM": "YOUR_DISCORD_MCP_CONFIRM",
"DISCORD_ALLOWED_GUILDS": "YOUR_DISCORD_ALLOWED_GUILDS",
"DISCORD_MESSAGE_CONTENT": "YOUR_DISCORD_MESSAGE_CONTENT",
"DISCORD_GUILD_MEMBERS": "YOUR_DISCORD_GUILD_MEMBERS",
"DISCORD_MCP_TRANSPORT": "YOUR_DISCORD_MCP_TRANSPORT",
"DISCORD_MCP_HTTP_TOKEN": "YOUR_DISCORD_MCP_HTTP_TOKEN",
"DISCORD_MCP_HTTP_HOST": "YOUR_DISCORD_MCP_HTTP_HOST",
"DISCORD_MCP_HTTP_PORT": "YOUR_DISCORD_MCP_HTTP_PORT",
"DISCORD_MCP_HTTP_ALLOWED_HOSTS": "YOUR_DISCORD_MCP_HTTP_ALLOWED_HOSTS"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@pasympa/[email protected]"
],
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN",
"DISCORD_MCP_TOOLSETS": "YOUR_DISCORD_MCP_TOOLSETS",
"DISCORD_MCP_READ_ONLY": "YOUR_DISCORD_MCP_READ_ONLY",
"DISCORD_MCP_CONFIRM": "YOUR_DISCORD_MCP_CONFIRM",
"DISCORD_ALLOWED_GUILDS": "YOUR_DISCORD_ALLOWED_GUILDS",
"DISCORD_MESSAGE_CONTENT": "YOUR_DISCORD_MESSAGE_CONTENT",
"DISCORD_GUILD_MEMBERS": "YOUR_DISCORD_GUILD_MEMBERS",
"DISCORD_MCP_TRANSPORT": "YOUR_DISCORD_MCP_TRANSPORT",
"DISCORD_MCP_HTTP_TOKEN": "YOUR_DISCORD_MCP_HTTP_TOKEN",
"DISCORD_MCP_HTTP_HOST": "YOUR_DISCORD_MCP_HTTP_HOST",
"DISCORD_MCP_HTTP_PORT": "YOUR_DISCORD_MCP_HTTP_PORT",
"DISCORD_MCP_HTTP_ALLOWED_HOSTS": "YOUR_DISCORD_MCP_HTTP_ALLOWED_HOSTS"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pasympa/[email protected]"
],
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN",
"DISCORD_MCP_TOOLSETS": "YOUR_DISCORD_MCP_TOOLSETS",
"DISCORD_MCP_READ_ONLY": "YOUR_DISCORD_MCP_READ_ONLY",
"DISCORD_MCP_CONFIRM": "YOUR_DISCORD_MCP_CONFIRM",
"DISCORD_ALLOWED_GUILDS": "YOUR_DISCORD_ALLOWED_GUILDS",
"DISCORD_MESSAGE_CONTENT": "YOUR_DISCORD_MESSAGE_CONTENT",
"DISCORD_GUILD_MEMBERS": "YOUR_DISCORD_GUILD_MEMBERS",
"DISCORD_MCP_TRANSPORT": "YOUR_DISCORD_MCP_TRANSPORT",
"DISCORD_MCP_HTTP_TOKEN": "YOUR_DISCORD_MCP_HTTP_TOKEN",
"DISCORD_MCP_HTTP_HOST": "YOUR_DISCORD_MCP_HTTP_HOST",
"DISCORD_MCP_HTTP_PORT": "YOUR_DISCORD_MCP_HTTP_PORT",
"DISCORD_MCP_HTTP_ALLOWED_HOSTS": "YOUR_DISCORD_MCP_HTTP_ALLOWED_HOSTS"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
[discord-mcp — L’Agora](https://lagora.dev/en/entry/io.github.pasympa/discord-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.pasympa/discord-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.pasympa/discord-mcp"><img src="https://lagora.dev/badge/io.github.pasympa/discord-mcp.svg?lang=en" alt="io.github.PaSympa/discord-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.