discord node mcp for VS Code
io.github.oratorian/discord-node-mcp
MCP server for controlling Discord servers via bot token
client:VS Code
transport:stdio
runtime:npm
Install discord node mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "discord-bot-token",
"description": "DISCORD_BOT_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "transport",
"description": "TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
},
{
"type": "promptString",
"id": "host",
"description": "HOST",
"password": true
}
],
"servers": {
"discord-node-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mahesvara/discord-mcpserver"
],
"env": {
"DISCORD_BOT_TOKEN": "${input:discord-bot-token}",
"TRANSPORT": "${input:transport}",
"PORT": "${input:port}",
"HOST": "${input:host}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs