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.
Start with a safe baseline
Section titled “Start with a safe baseline”Set the bot token and leave the remaining controls at their defaults:
DISCORD_TOKEN=your-discord-bot-tokenThis 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.
Add controls by intent
Section titled “Add controls by intent”Verify before using an agent
Section titled “Verify before using an agent”Run the online doctor after the client has started the server:
discord-mcp doctor --onlineIt 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.