Skip to content

Configure discord-mcp

discord-mcp receives its runtime settings through environment variables in your MCP client configuration. Start with the smallest safe configuration, verify it, then add controls for the behavior you need.

Set the bot token and leave the remaining controls at their defaults:

Terminal window
DISCORD_TOKEN=your-discord-bot-token

This starts the server with REST-only transport, info logging, retry, circuit breaking, and audit logging enabled. Destructive tools stay in dry-run mode until you explicitly opt in.

Run the online doctor after the client has started the server:

Terminal window
discord-mcp doctor --online

It reports missing or invalid schema-backed environment variables. Use the environment variable reference for the exact accepted values and defaults. MCP_DRY_RUN is intentionally not part of that schema validation, so verify that value byte-for-byte before enabling writes.