Skip to main content
Glama

Discord MCP Server

.env.example905 B
DISCORD_BOT_TOKEN=put-your-bot-token-here # Comma-separated allow lists; leave empty to allow all (not recommended for production) ALLOW_GUILD_IDS= ALLOW_CHANNEL_IDS= # Optional: default allowed mentions policy when posting (none|users|roles|everyone) ALLOWED_MENTIONS=none # Gateway intents bitfield (default: Guilds | GuildMessages). Add 1<<15 for MESSAGE_CONTENT if approved. GATEWAY_INTENTS= # Enable the raw REST tool (whitelisted routes only) ENABLE_RAW_REST= # Packs (enable by setting any non-empty value) PACK_ADMIN= PACK_MEDIA= PACK_COMMUNITY= PACK_DEVTOOLS= # Optional packs: EXPERIMENTAL (undocumented), OAUTH_ONLY (requires user OAuth bearer, not bot tokens) PACK_EXPERIMENTAL= PACK_OAUTH_ONLY= # MCP Transport configuration # TRANSPORT=stdio (default, for command-line MCP clients like Claude Desktop) # TRANSPORT=http (for HTTP-based MCP clients, requires PORT) TRANSPORT=stdio PORT=3000

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GustyCube/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server