MCP Discord
-
Install Meshagent:
-
Sign up and authenticate with Meshagent (one-time):
- Follow instructions: Meshagent CLI Get Started
-
Start the MCP-Discord server in a Meshagent Room:
- This command starts the MCP-Discord server in a meshagent room named
test
. - The room auto-closes if it goes inactive.
Required environment variables:
DISCORD_TOKEN
: Your Discord bot token (from Discord Developer Portal)
Other useful settings:
MESHAGENT_PORT=8001
: Sets the service listening port for the MCP server.
- This command starts the MCP-Discord server in a meshagent room named
-
Start a chatbot agent that can use the Discord MCP tools:
-
This launches a chatbot in the same Meshagent Room, ready to use the Discord MCP tools.
-
You may add multiple toolkits with
--toolkit
for a multi-tool agent. -
After join: The CLI will output a link to the room. Use this link to open the room and interact with your templated agent and Discord tools.
-
Tools Available
This MCP server gives you access to 20 Discord-focused automation tools for channel management, messaging, reactions, and webhooks.
Tools Summary
Tool Name | Short Description |
---|---|
discord_add_multiple_reactions | Adds multiple emoji reactions to a Discord message at once |
discord_add_reaction | Adds an emoji reaction to a specific Discord message |
discord_create_forum_post | Creates a new post in a Discord forum channel with optional tags |
discord_create_text_channel | Creates a new text channel in a Discord server with an optional topic |
discord_create_webhook | Creates a new webhook for a Discord channel |
discord_delete_channel | Deletes a Discord channel with an optional reason |
discord_delete_forum_post | Deletes a forum post or thread with an optional reason |
discord_delete_message | Deletes a specific message from a Discord text channel |
discord_delete_webhook | Deletes an existing webhook for a Discord channel |
discord_edit_webhook | Edits an existing webhook for a Discord channel |
discord_get_forum_channels | Lists all forum channels in a specified Discord server (guild) |
discord_get_forum_post | Retrieves details about a forum post including its messages |
discord_get_server_info | Retrieves detailed info about a Discord server, including channels/members |
discord_login | Logs in to Discord using the configured token |
discord_read_messages | Retrieves messages from a Discord text channel with a configurable limit |
discord_remove_reaction | Removes a specific emoji reaction from a Discord message |
discord_reply_to_forum | Adds a reply to an existing forum post or thread |
discord_send | Sends a message to a specified Discord text channel |
discord_send_webhook_message | Sends a message to a Discord channel using a webhook |
test | A simple test tool to verify the MCP server is working |
Tools Details
discord_add_multiple_reactions
Adds multiple emoji reactions to a Discord message at once
channelId
: stringemojis
: arraymessageId
: string
discord_add_reaction
Adds an emoji reaction to a specific Discord message
channelId
: stringemoji
: stringmessageId
: string
discord_create_forum_post
Creates a new post in a Discord forum channel with optional tags
content
: stringforumChannelId
: stringtitle
: stringtags
: array (optional)
discord_create_text_channel
Creates a new text channel in a Discord server with an optional topic
channelName
: stringguildId
: stringtopic
: string (optional)
discord_create_webhook
Creates a new webhook for a Discord channel
channelId
: stringname
: stringavatar
: string (optional)reason
: string (optional)
discord_delete_channel
Deletes a Discord channel with an optional reason
channelId
: stringreason
: string (optional)
discord_delete_forum_post
Deletes a forum post or thread with an optional reason
threadId
: stringreason
: string (optional)
discord_delete_message
Deletes a specific message from a Discord text channel
channelId
: stringmessageId
: stringreason
: string (optional)
discord_delete_webhook
Deletes an existing webhook for a Discord channel
webhookId
: stringreason
: string (optional)webhookToken
: string (optional)
discord_edit_webhook
Edits an existing webhook for a Discord channel
webhookId
: stringavatar
: string (optional)channelId
: string (optional)name
: string (optional)reason
: string (optional)webhookToken
: string (optional)
discord_get_forum_channels
Lists all forum channels in a specified Discord server (guild)
guildId
: string
discord_get_forum_post
Retrieves details about a forum post including its messages
threadId
: string
discord_get_server_info
Retrieves detailed info about a Discord server, including channels/members
guildId
: string
discord_login
Logs in to Discord using the configured token
random_string
: string (optional)
discord_read_messages
Retrieves messages from a Discord text channel with a configurable limit
channelId
: stringlimit
: number (optional)
discord_remove_reaction
Removes a specific emoji reaction from a Discord message
channelId
: stringemoji
: stringmessageId
: stringuserId
: string (optional)
discord_reply_to_forum
Adds a reply to an existing forum post or thread
message
: stringthreadId
: string
discord_send
Sends a message to a specified Discord text channel
channelId
: stringmessage
: string
discord_send_webhook_message
Sends a message to a Discord channel using a webhook
content
: stringwebhookId
: stringwebhookToken
: stringavatarURL
: string (optional)threadId
: string (optional)username
: string (optional)
test
A simple test tool to verify the MCP server is working correctly
Meshagent Resources
- Meshagent Website: https://www.meshagent.com/
- Room API - Getting Started: https://docs.meshagent.com/room_api/get_started
- Room API - Overview: https://docs.meshagent.com/room_api/overview
- Meshagent MCP Discord Tool Image: https://hub.docker.com/r/meshagent/mcp-mcp-discord