Skip to content

Environment variable reference

This is the complete runtime contract for discord-mcp. Every setting is read when the server starts; invalid schema-backed values make serve exit with a precise error and are reported by discord-mcp doctor.

For deployment decisions and a safe starting point, see Configure discord-mcp.

Most variables are defined in the Zod schema. The exception is MCP_DRY_RUN: the confirmation precondition reads it directly from process.env, so doctor cannot validate it.