Skip to main content
Glama

Discord MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_GUILD_IDSNoComma-separated list of allowed guild IDs
ALLOW_CHANNEL_IDSNoComma-separated list of allowed channel IDs
DISCORD_BOT_TOKENYesYour Discord bot token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
discord_send_message

Send a message to a Discord channel, optionally with up to 10 files

discord_edit_message

Edit a previously sent message

discord_delete_message

Delete a message

discord_add_reaction

Add a reaction to a message

discord_remove_reaction

Remove a reaction from a message

discord_get_message_history

Get message history from a Discord channel with optional filtering

discord_search_messages

Search for messages in a Discord channel with text query and filters

discord_get_message

Get a specific message by ID with full attachment details

discord_list_attachments

List all attachments in a Discord channel from recent messages

discord_download_attachment

Download a Discord attachment and return it as MCP file reference

discord_cleanup_download

Clean up a previously downloaded Discord attachment file

discord_get_channel

Get information about a Discord channel

discord_get_dm_channels

Get list of DM channels for the current user

discord_create_dm

Create or get existing DM channel with a user

discord_get_friends

Get list of friends for the current user

discord_add_friend

Send a friend request to a user

discord_remove_friend

Remove a friend or cancel a friend request

discord_update_presence

Update your Discord presence/status

discord_clear_presence

Clear your Discord presence/activity

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/GustyCube/discord-mcp'

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