discord-mcp
by 20Youssef10
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level. | info |
| LOG_FORMAT | No | Log format; logs go to stderr only. | json |
| STORAGE_PATH | No | SQLite file; empty or :memory: keeps state in memory. | |
| HTTP_RUN_JOBS | No | Run the announcement scheduler in the HTTP process. | true |
| MCP_AUTH_MODE | No | Authentication mode: none (loopback only), static, oidc. | none |
| MCP_HTTP_HOST | No | HTTP bind address. | 127.0.0.1 |
| MCP_HTTP_PATH | No | HTTP endpoint path. | /mcp |
| MCP_HTTP_PORT | No | HTTP bind port. | 3000 |
| ENABLE_GATEWAY | No | Required for the Gateway worker app. | false |
| MCP_OIDC_ISSUER | No | OIDC issuer. | |
| MCP_LOCAL_SCOPES | No | Scopes of the local operator identity. | * |
| DISCORD_BOT_TOKEN | Yes | Bot token; sent only to https://discord.com/api/v10. | |
| MCP_OIDC_AUDIENCE | No | OIDC audience. | |
| MCP_OIDC_JWKS_URI | No | OIDC JWKS URI. | |
| MCP_STATIC_TOKENS | No | Static bearer tokens (JSON or file path). | |
| MCP_HTTP_PUBLIC_URL | No | External endpoint URL (behind a proxy). | |
| AUDIT_RETENTION_DAYS | No | Audit retention in days. | 90 |
| DISCORD_APPLICATION_ID | No | Application id, informational. | |
| MCP_HTTP_ALLOWED_HOSTS | No | Extra accepted Host hostnames (no scheme, no port; DNS rebinding protection). | loopback values |
| DISCORD_DEFAULT_PROFILE | No | Ceiling for every caller: read_only, community_ops, admin. | read_only |
| MCP_HTTP_MAX_BODY_BYTES | No | Request body size limit. | 1048576 |
| ANALYTICS_RETENTION_DAYS | No | Analytics retention in days. | 365 |
| CONFIRMATION_TTL_SECONDS | No | Lifetime of a single-use confirmation token. | 120 |
| MCP_HTTP_ALLOWED_ORIGINS | No | Extra accepted Origin hostnames (no scheme, no port; DNS rebinding protection). | loopback values |
| DISCORD_ALLOWED_GUILD_IDS | No | Guild allowlist; empty denies all. | |
| DISCORD_ENABLE_MODERATION | No | Timeout, kick, ban, unban, prune. | false |
| DISCORD_MASS_MENTION_MODE | No | allow passes @everyone and mass mentions through. | deny |
| AUTOMATION_POLL_INTERVAL_MS | No | Scheduler tick interval. | 1000 |
| DISCORD_ALLOWED_CHANNEL_IDS | No | Channel allowlist; empty allows every channel of an allowed guild. | |
| ENABLE_INTENT_GUILD_MEMBERS | No | Privileged guild members intent (also enabled in the developer portal). | false |
| MCP_HTTP_REQUEST_TIMEOUT_MS | No | HTTP request timeout. | 15000 |
| ENABLE_INTENT_GUILD_PRESENCES | No | Refused; the server does not use presence data. | |
| ENABLE_INTENT_MESSAGE_CONTENT | No | Privileged message content intent (also enabled in the developer portal). | false |
| DISCORD_ENABLE_DIRECT_MESSAGES | No | Direct-message tools (personal data; admin profile only). | false |
| DISCORD_ENFORCE_GUILD_ALLOWLIST | No | false disables the guild allowlist (only for a single trusted guild). | true |
| AUTOMATION_MAX_SCHEDULE_AHEAD_HOURS | No | How far an announcement may be scheduled. | 720 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues