🚀
Route Generator
Declarative catalog automatically generates tools with names, descriptions, and JSON schemas from Discord API routes
Safe, declarative Discord API access through MCP tools
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Enable desired packs
echo "PACK_ADMIN=1" >> .env
echo "PACK_MEDIA=1" >> .env
echo "PACK_COMMUNITY=1" >> .env
echo "PACK_DEVTOOLS=1" >> .env
# Run in development mode
npm run dev
Add to your mcp.json
:
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"DISCORD_BOT_TOKEN": "****",
"ALLOW_GUILD_IDS": "123,456",
"ALLOW_CHANNEL_IDS": "789,012",
"ALLOWED_MENTIONS": "none",
"GATEWAY_INTENTS": "1<<0|1<<9",
"PACK_ADMIN": "1",
"PACK_MEDIA": "1",
"PACK_COMMUNITY": "1",
"PACK_DEVTOOLS": "1"
}
}
}
}