Skip to main content
Glama
FabioCG01

Discord MCP

by FabioCG01

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DISCORD_TOKENNoBot token (DISCORD_BOT_TOKEN also works)
DISCORD_MCP_HOSTNoHTTP bind address127.0.0.1
DISCORD_MCP_MODENofull, safe or readonlyfull
DISCORD_MCP_PORTNoHTTP port3333
DISCORD_BOT_TOKENNoAlias for DISCORD_TOKEN
DISCORD_MCP_GUILDSNoServer IDs the bot may touchany
DISCORD_TOKEN_FILENoFile holding the token./credentials.txt
DISCORD_MCP_COMPACTNoThree meta-tools instead of all toolsoff
DISCORD_MCP_GATEWAYNoon, lazy or offlazy (stdio), on (http)
DISCORD_MCP_INTENTSNoGateway intents; auto = all non-privileged plus the privileged ones enabled in the portalauto
DISCORD_MCP_TOOLSETSNoComma-separated toolsetsall
DISCORD_MCP_LOG_LEVELNodebug, info, warn, error, silent (logs go to stderr)info
DISCORD_MCP_TRANSPORTNoTransportstdio
DISCORD_MCP_AUTH_TOKENNoBearer token required from HTTP clients
DISCORD_MCP_FILE_ROOTSNoFolders local files may be uploaded fromnone
DISCORD_MCP_EVENT_BUFFERNoEvents kept in memory1000
DISCORD_MCP_INTERACTIONSNoHow slash commands are acknowledged: public, ephemeral or offpublic
DISCORD_MCP_CACHE_SECONDSNoHow long channel/role lists are reused10
DISCORD_MCP_DISABLE_TOOLSNoComma-separated tool names to hide
DISCORD_MCP_DEFAULT_REASONNoAudit-log reason used when a call gives none
DISCORD_MCP_ALLOWED_ORIGINSNoBrowser origins allowed to call the HTTP endpointlocalhost only
DISCORD_MCP_MAX_OUTPUT_CHARSNoTool results longer than this are trimmed60000
DISCORD_MCP_ALLOW_PRIVATE_URLSNoAllow fetching files from private or loopback addressesfalse
DISCORD_MCP_MAX_RATE_LIMIT_WAITNoSeconds to wait out a rate limit before reporting it60

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