Skip to main content
Glama
discord-mcp

discord-mcp

by 20Youssef10

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level.info
LOG_FORMATNoLog format; logs go to stderr only.json
STORAGE_PATHNoSQLite file; empty or :memory: keeps state in memory.
HTTP_RUN_JOBSNoRun the announcement scheduler in the HTTP process.true
MCP_AUTH_MODENoAuthentication mode: none (loopback only), static, oidc.none
MCP_HTTP_HOSTNoHTTP bind address.127.0.0.1
MCP_HTTP_PATHNoHTTP endpoint path./mcp
MCP_HTTP_PORTNoHTTP bind port.3000
ENABLE_GATEWAYNoRequired for the Gateway worker app.false
MCP_OIDC_ISSUERNoOIDC issuer.
MCP_LOCAL_SCOPESNoScopes of the local operator identity.*
DISCORD_BOT_TOKENYesBot token; sent only to https://discord.com/api/v10.
MCP_OIDC_AUDIENCENoOIDC audience.
MCP_OIDC_JWKS_URINoOIDC JWKS URI.
MCP_STATIC_TOKENSNoStatic bearer tokens (JSON or file path).
MCP_HTTP_PUBLIC_URLNoExternal endpoint URL (behind a proxy).
AUDIT_RETENTION_DAYSNoAudit retention in days.90
DISCORD_APPLICATION_IDNoApplication id, informational.
MCP_HTTP_ALLOWED_HOSTSNoExtra accepted Host hostnames (no scheme, no port; DNS rebinding protection).loopback values
DISCORD_DEFAULT_PROFILENoCeiling for every caller: read_only, community_ops, admin.read_only
MCP_HTTP_MAX_BODY_BYTESNoRequest body size limit.1048576
ANALYTICS_RETENTION_DAYSNoAnalytics retention in days.365
CONFIRMATION_TTL_SECONDSNoLifetime of a single-use confirmation token.120
MCP_HTTP_ALLOWED_ORIGINSNoExtra accepted Origin hostnames (no scheme, no port; DNS rebinding protection).loopback values
DISCORD_ALLOWED_GUILD_IDSNoGuild allowlist; empty denies all.
DISCORD_ENABLE_MODERATIONNoTimeout, kick, ban, unban, prune.false
DISCORD_MASS_MENTION_MODENoallow passes @everyone and mass mentions through.deny
AUTOMATION_POLL_INTERVAL_MSNoScheduler tick interval.1000
DISCORD_ALLOWED_CHANNEL_IDSNoChannel allowlist; empty allows every channel of an allowed guild.
ENABLE_INTENT_GUILD_MEMBERSNoPrivileged guild members intent (also enabled in the developer portal).false
MCP_HTTP_REQUEST_TIMEOUT_MSNoHTTP request timeout.15000
ENABLE_INTENT_GUILD_PRESENCESNoRefused; the server does not use presence data.
ENABLE_INTENT_MESSAGE_CONTENTNoPrivileged message content intent (also enabled in the developer portal).false
DISCORD_ENABLE_DIRECT_MESSAGESNoDirect-message tools (personal data; admin profile only).false
DISCORD_ENFORCE_GUILD_ALLOWLISTNofalse disables the guild allowlist (only for a single trusted guild).true
AUTOMATION_MAX_SCHEDULE_AHEAD_HOURSNoHow 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources