Operations
Start with a safe runtime baseline, then add observability, resilience, and an audit sink deliberately. These pages distinguish startup configuration from mutable session state and document where a control does - and does not - apply.
Configure discord-mcpStart with a safe production baseline, then add only the runtime controls your deployment needs.
Credential lifecycleRotate or revoke a caller-owned bot token without storing it in discord-mcp, and lock deployments to the intended bot identity.
Safe guild blueprintsTurn one request into a target-bound dry-run, confirmed resumable apply, and independent Discord readback.
OpenAI remote MCPRun a bearer-protected Streamable HTTP endpoint for the Responses API and Codex, with deployment boundaries made explicit.
HTTP security auditThreat model, attack-oriented evidence, remediations, and residual proxy obligations for the shipped HTTP transport.
TelemetryExport OpenTelemetry traces and metrics over OTLP HTTP/protobuf, with stdio-safe operating guidance.
ResilienceThe shared bulkhead, circuit breaker, retry, and timeout policy around Discord REST calls.
Audit loggingConfigure four sinks, inspect the JSONL schema, and understand the current idempotency-based coverage and redaction limits.
Choose a connection modeDecide between stdio and HTTP, progressive and full tool discovery, and optional stdio-only Gateway notifications.
Quick environment-variable orientation
Section titled “Quick environment-variable orientation”If you only read one section, read Resilience -
it’s the one set of knobs that affects every Discord call the server makes.
Telemetry is opt-in (OTEL_ENABLED=false by default, zero overhead) and
audit is on by default but can be tuned per-sink.
For the exact environment-variable contract (tokens, category allowlist, dry-run
mode), see Environment variables.
For a bot installed in more than one Discord server, set ALLOWED_GUILDS so
discord-mcp verifies the target server before executing guild-scoped calls.
Looking for something else?
Section titled “Looking for something else?”- How to set up your client → Get started → Client setup.
- Single-tool reference → Tools.
- Multi-step workflows → Recipes.
- How the server is built → Architecture.

