Skip to main content
Glama
JoelBChapmanII

Discord MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DISCORD_BOT_TOKENYesThe Discord bot token used to authenticate with the Discord REST API.
DISCORD_ALLOWED_GUILDSYesThe numeric guild ID that the server is restricted to. This is required; the server will fail to start without it.
DISCORD_ALLOWED_CHANNELSNoOptional comma-separated list of channel IDs that are allowed. When set, all reads outside these channels are rejected.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
discord_list_guildsA

Lists only the Discord guilds explicitly allowed by local configuration.

discord_list_channelsA

Lists channels in one allowlisted Discord guild. Optional channel allowlisting is applied.

discord_get_channelA

Gets metadata for one allowlisted guild channel. This does not fetch messages.

discord_list_messagesA

Reads a bounded page of messages from one allowlisted guild channel. The Discord application must have Message Content Intent enabled.

discord_get_messageA

Gets one message from an allowlisted guild channel. The Discord application must have Message Content Intent enabled.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoelBChapmanII/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server