Discord MCP for VS Code
io.github.cappyeo/discord-mcp
Caller-owned Discord operations for AI agents with 209 typed tools and verifiable guild builds.
client:VS Code
transport:stdio
runtime:npm
Install Discord MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "discord-token",
"description": "DISCORD_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "discord-expected-bot-id",
"description": "DISCORD_EXPECTED_BOT_ID",
"password": true
},
{
"type": "promptString",
"id": "allowed-guilds",
"description": "ALLOWED_GUILDS",
"password": true
}
],
"servers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "${input:discord-token}",
"DISCORD_EXPECTED_BOT_ID": "${input:discord-expected-bot-id}",
"ALLOWED_GUILDS": "${input:allowed-guilds}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs