Discord MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DISCORD_BOT_TOKEN | Yes | The Discord bot token used to authenticate with the Discord REST API. | |
| DISCORD_ALLOWED_GUILDS | Yes | The numeric guild ID that the server is restricted to. This is required; the server will fail to start without it. | |
| DISCORD_ALLOWED_CHANNELS | No | Optional 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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