MCP server for controlling Discord servers via bot token
npx -y @mahesvara/discord-mcpserver{
"DISCORD_BOT_TOKEN": "YOUR_SECRET_VALUE",
"TRANSPORT": "stdio",
"PORT": "3000",
"HOST": "localhost"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-oratorian-discord-node-mcp": {
"command": "npx",
"args": [
"-y",
"@mahesvara/discord-mcpserver"
],
"env": {
"DISCORD_BOT_TOKEN": "YOUR_SECRET_VALUE",
"TRANSPORT": "stdio",
"PORT": "3000",
"HOST": "localhost"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
discord-node-mcp is an MCP server for MCP server for controlling Discord servers via bot token. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y @mahesvara/discord-mcpserver; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y @mahesvara/discord-mcpserver. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y @mahesvara/discord-mcpserver. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y @mahesvara/discord-mcpserver. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y @mahesvara/discord-mcpserver. Add required environment variables before starting Cursor or VS Code.
discord-node-mcp uses STDIO transport. Use the package or command config in Install.
discord-node-mcp inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
discord-node-mcp is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
@mahesvara/discord-mcpserverstdio | npm | 1.1.4 | Env: DISCORD_BOT_TOKEN required secret Env: TRANSPORT Env: PORT Env: HOST |