|
| 1 | +# Mcp-discord MCP Server |
| 2 | + |
| 3 | +Interact with the Discord platform. |
| 4 | + |
| 5 | +[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol) |
| 6 | + |
| 7 | +## Characteristics |
| 8 | +Attribute|Details| |
| 9 | +|-|-| |
| 10 | +**Image Source**|Official Image |
| 11 | +|**Author**|[slimslenderslacks](https://github.com/slimslenderslacks) |
| 12 | +**Repository**|https://github.com/slimslenderslacks/mcp-discord |
| 13 | +**Dockerfile**|https://github.com/slimslenderslacks/mcp-discord/blob/slim/docker/Dockerfile |
| 14 | +**Docker Image built by**|Docker Inc. |
| 15 | +**Docker Scout Health Score**|  |
| 16 | +**Licence**|MIT License |
| 17 | + |
| 18 | +## Available Tools |
| 19 | +Tools provided by this Server|Short Description |
| 20 | +-|- |
| 21 | +`discord_add_multiple_reactions`|Adds multiple emoji reactions to a Discord message at once| |
| 22 | +`discord_add_reaction`|Adds an emoji reaction to a specific Discord message| |
| 23 | +`discord_create_forum_post`|Creates a new post in a Discord forum channel with optional tags| |
| 24 | +`discord_create_text_channel`|Creates a new text channel in a Discord server with an optional topic| |
| 25 | +`discord_create_webhook`|Creates a new webhook for a Discord channel| |
| 26 | +`discord_delete_channel`|Deletes a Discord channel with an optional reason| |
| 27 | +`discord_delete_forum_post`|Deletes a forum post or thread with an optional reason| |
| 28 | +`discord_delete_message`|Deletes a specific message from a Discord text channel| |
| 29 | +`discord_delete_webhook`|Deletes an existing webhook for a Discord channel| |
| 30 | +`discord_edit_webhook`|Edits an existing webhook for a Discord channel| |
| 31 | +`discord_get_forum_channels`|Lists all forum channels in a specified Discord server (guild)| |
| 32 | +`discord_get_forum_post`|Retrieves details about a forum post including its messages| |
| 33 | +`discord_get_server_info`|Retrieves detailed information about a Discord server including channels and member count| |
| 34 | +`discord_login`|Logs in to Discord using the configured token| |
| 35 | +`discord_read_messages`|Retrieves messages from a Discord text channel with a configurable limit| |
| 36 | +`discord_remove_reaction`|Removes a specific emoji reaction from a Discord message| |
| 37 | +`discord_reply_to_forum`|Adds a reply to an existing forum post or thread| |
| 38 | +`discord_send`|Sends a message to a specified Discord text channel| |
| 39 | +`discord_send_webhook_message`|Sends a message to a Discord channel using a webhook| |
| 40 | +`test`|A simple test tool to verify the MCP server is working correctly| |
| 41 | + |
| 42 | +--- |
| 43 | +## Tools Details |
| 44 | + |
| 45 | +#### Tool: **`discord_add_multiple_reactions`** |
| 46 | +Adds multiple emoji reactions to a Discord message at once |
| 47 | +Parameters|Type|Description |
| 48 | +-|-|- |
| 49 | +`channelId`|`string`| |
| 50 | +`emojis`|`array`| |
| 51 | +`messageId`|`string`| |
| 52 | + |
| 53 | +--- |
| 54 | +#### Tool: **`discord_add_reaction`** |
| 55 | +Adds an emoji reaction to a specific Discord message |
| 56 | +Parameters|Type|Description |
| 57 | +-|-|- |
| 58 | +`channelId`|`string`| |
| 59 | +`emoji`|`string`| |
| 60 | +`messageId`|`string`| |
| 61 | + |
| 62 | +--- |
| 63 | +#### Tool: **`discord_create_forum_post`** |
| 64 | +Creates a new post in a Discord forum channel with optional tags |
| 65 | +Parameters|Type|Description |
| 66 | +-|-|- |
| 67 | +`content`|`string`| |
| 68 | +`forumChannelId`|`string`| |
| 69 | +`title`|`string`| |
| 70 | +`tags`|`array` *optional*| |
| 71 | + |
| 72 | +--- |
| 73 | +#### Tool: **`discord_create_text_channel`** |
| 74 | +Creates a new text channel in a Discord server with an optional topic |
| 75 | +Parameters|Type|Description |
| 76 | +-|-|- |
| 77 | +`channelName`|`string`| |
| 78 | +`guildId`|`string`| |
| 79 | +`topic`|`string` *optional*| |
| 80 | + |
| 81 | +--- |
| 82 | +#### Tool: **`discord_create_webhook`** |
| 83 | +Creates a new webhook for a Discord channel |
| 84 | +Parameters|Type|Description |
| 85 | +-|-|- |
| 86 | +`channelId`|`string`| |
| 87 | +`name`|`string`| |
| 88 | +`avatar`|`string` *optional*| |
| 89 | +`reason`|`string` *optional*| |
| 90 | + |
| 91 | +--- |
| 92 | +#### Tool: **`discord_delete_channel`** |
| 93 | +Deletes a Discord channel with an optional reason |
| 94 | +Parameters|Type|Description |
| 95 | +-|-|- |
| 96 | +`channelId`|`string`| |
| 97 | +`reason`|`string` *optional*| |
| 98 | + |
| 99 | +--- |
| 100 | +#### Tool: **`discord_delete_forum_post`** |
| 101 | +Deletes a forum post or thread with an optional reason |
| 102 | +Parameters|Type|Description |
| 103 | +-|-|- |
| 104 | +`threadId`|`string`| |
| 105 | +`reason`|`string` *optional*| |
| 106 | + |
| 107 | +--- |
| 108 | +#### Tool: **`discord_delete_message`** |
| 109 | +Deletes a specific message from a Discord text channel |
| 110 | +Parameters|Type|Description |
| 111 | +-|-|- |
| 112 | +`channelId`|`string`| |
| 113 | +`messageId`|`string`| |
| 114 | +`reason`|`string` *optional*| |
| 115 | + |
| 116 | +--- |
| 117 | +#### Tool: **`discord_delete_webhook`** |
| 118 | +Deletes an existing webhook for a Discord channel |
| 119 | +Parameters|Type|Description |
| 120 | +-|-|- |
| 121 | +`webhookId`|`string`| |
| 122 | +`reason`|`string` *optional*| |
| 123 | +`webhookToken`|`string` *optional*| |
| 124 | + |
| 125 | +--- |
| 126 | +#### Tool: **`discord_edit_webhook`** |
| 127 | +Edits an existing webhook for a Discord channel |
| 128 | +Parameters|Type|Description |
| 129 | +-|-|- |
| 130 | +`webhookId`|`string`| |
| 131 | +`avatar`|`string` *optional*| |
| 132 | +`channelId`|`string` *optional*| |
| 133 | +`name`|`string` *optional*| |
| 134 | +`reason`|`string` *optional*| |
| 135 | +`webhookToken`|`string` *optional*| |
| 136 | + |
| 137 | +--- |
| 138 | +#### Tool: **`discord_get_forum_channels`** |
| 139 | +Lists all forum channels in a specified Discord server (guild) |
| 140 | +Parameters|Type|Description |
| 141 | +-|-|- |
| 142 | +`guildId`|`string`| |
| 143 | + |
| 144 | +--- |
| 145 | +#### Tool: **`discord_get_forum_post`** |
| 146 | +Retrieves details about a forum post including its messages |
| 147 | +Parameters|Type|Description |
| 148 | +-|-|- |
| 149 | +`threadId`|`string`| |
| 150 | + |
| 151 | +--- |
| 152 | +#### Tool: **`discord_get_server_info`** |
| 153 | +Retrieves detailed information about a Discord server including channels and member count |
| 154 | +Parameters|Type|Description |
| 155 | +-|-|- |
| 156 | +`guildId`|`string`| |
| 157 | + |
| 158 | +--- |
| 159 | +#### Tool: **`discord_login`** |
| 160 | +Logs in to Discord using the configured token |
| 161 | +Parameters|Type|Description |
| 162 | +-|-|- |
| 163 | +`random_string`|`string` *optional*| |
| 164 | + |
| 165 | +--- |
| 166 | +#### Tool: **`discord_read_messages`** |
| 167 | +Retrieves messages from a Discord text channel with a configurable limit |
| 168 | +Parameters|Type|Description |
| 169 | +-|-|- |
| 170 | +`channelId`|`string`| |
| 171 | +`limit`|`number` *optional*| |
| 172 | + |
| 173 | +--- |
| 174 | +#### Tool: **`discord_remove_reaction`** |
| 175 | +Removes a specific emoji reaction from a Discord message |
| 176 | +Parameters|Type|Description |
| 177 | +-|-|- |
| 178 | +`channelId`|`string`| |
| 179 | +`emoji`|`string`| |
| 180 | +`messageId`|`string`| |
| 181 | +`userId`|`string` *optional*| |
| 182 | + |
| 183 | +--- |
| 184 | +#### Tool: **`discord_reply_to_forum`** |
| 185 | +Adds a reply to an existing forum post or thread |
| 186 | +Parameters|Type|Description |
| 187 | +-|-|- |
| 188 | +`message`|`string`| |
| 189 | +`threadId`|`string`| |
| 190 | + |
| 191 | +--- |
| 192 | +#### Tool: **`discord_send`** |
| 193 | +Sends a message to a specified Discord text channel |
| 194 | +Parameters|Type|Description |
| 195 | +-|-|- |
| 196 | +`channelId`|`string`| |
| 197 | +`message`|`string`| |
| 198 | + |
| 199 | +--- |
| 200 | +#### Tool: **`discord_send_webhook_message`** |
| 201 | +Sends a message to a Discord channel using a webhook |
| 202 | +Parameters|Type|Description |
| 203 | +-|-|- |
| 204 | +`content`|`string`| |
| 205 | +`webhookId`|`string`| |
| 206 | +`webhookToken`|`string`| |
| 207 | +`avatarURL`|`string` *optional*| |
| 208 | +`threadId`|`string` *optional*| |
| 209 | +`username`|`string` *optional*| |
| 210 | + |
| 211 | +--- |
| 212 | +#### Tool: **`test`** |
| 213 | +A simple test tool to verify the MCP server is working correctly |
| 214 | +## Use this MCP Server |
| 215 | + |
| 216 | +```json |
| 217 | +{ |
| 218 | + "mcpServers": { |
| 219 | + "mcp-discord": { |
| 220 | + "command": "docker", |
| 221 | + "args": [ |
| 222 | + "run", |
| 223 | + "-i", |
| 224 | + "--rm", |
| 225 | + "-e", |
| 226 | + "DISCORD_TOKEN", |
| 227 | + "mcp/mcp-discord" |
| 228 | + ], |
| 229 | + "env": { |
| 230 | + "DISCORD_TOKEN": "YOUR_DISCORD_TOKEN" |
| 231 | + } |
| 232 | + } |
| 233 | + } |
| 234 | +} |
| 235 | +``` |
| 236 | + |
| 237 | +[Why is it safer to run MCP Servers with Docker?](https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/) |
0 commit comments