MCP server for controlling Discord servers via bot token
Connect Runs on your machine
claude mcp add discord-node-mcp -e DISCORD_BOT_TOKEN=<DISCORD_BOT_TOKEN> -e TRANSPORT=<TRANSPORT> -e PORT=<PORT> -e HOST=<HOST> -- npx -y @mahesvara/[email protected]
{
"mcpServers": {
"discord-node-mcp": {
"command": "npx",
"args": [
"-y",
"@mahesvara/[email protected]"
],
"env": {
"DISCORD_BOT_TOKEN": "<DISCORD_BOT_TOKEN>",
"TRANSPORT": "<TRANSPORT>",
"PORT": "<PORT>",
"HOST": "<HOST>"
}
}
}
}
{
"mcpServers": {
"discord-node-mcp": {
"command": "npx",
"args": [
"-y",
"@mahesvara/[email protected]"
],
"env": {
"DISCORD_BOT_TOKEN": "<DISCORD_BOT_TOKEN>",
"TRANSPORT": "<TRANSPORT>",
"PORT": "<PORT>",
"HOST": "<HOST>"
}
}
}
}
{
"servers": {
"discord-node-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mahesvara/[email protected]"
],
"env": {
"DISCORD_BOT_TOKEN": "<DISCORD_BOT_TOKEN>",
"TRANSPORT": "<TRANSPORT>",
"PORT": "<PORT>",
"HOST": "<HOST>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DISCORD_BOT_TOKENRequired, secret | Your Discord bot token |
TRANSPORTOptional | Transport type: stdio or http |
PORTOptional | Port for HTTP transport |
HOSTOptional | Host for HTTP transport |
Details
| Package | @mahesvara/[email protected] (NPM, stdio) |
| First published | 29 Jan 2026 |
| Last updated | 29 Jan 2026 |
| Registry name | io.github.Oratorian/discord-node-mcp |
More communication servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
