Discord MCP Server
Configured with Discord Tool, Http Request Tool, Mcp Trigger. Review the connections and setup before adapting this template.
Node categories in this workflow
- Messaging
- Trigger
- Web / API
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Send Discord Message to Channel | Messaging | Discord Tool | message |
| Add Role To Member | Messaging | Discord Tool | member / roleAdd |
| Remove Role from member | Messaging | Discord Tool | member / roleRemove |
| Discord MCP Server Trigger | Trigger | Mcp Trigger | See node parameters |
| Get channels of server by server ID | Messaging | Discord Tool | getAll |
| Get members of server by server ID | Messaging | Discord Tool | member |
| Send DM and Wait for reply | Messaging | Discord Tool | message / sendAndWait |
| Send to Channel and Wait for Reply | Messaging | Discord Tool | message / sendAndWait |
| Send DM to User | Messaging | Discord Tool | message |
| Get Discord Server IDs | Web / API | Http Request Tool | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
discordBotApi
Workflow notes
Sticky Note
This gets all of the servers that your discord bot is currently in. If you have a bot in more than one server, you will need to let it know or at least hint at which server it is, or it may get stuck. If you specify a channel through your natural language request, then the model may keep trying to get servers' channels via the get channel node or it may give up before getting to the right one).
Note: This is a custom API call using the same Discord bot auth, not a built-in "Discord tool" - I encourage you to go well beyond the 15 included tools that n8n provides for you. It is easy to do, and there are, literally, no limits to what you can do with n8n!
Sticky Note1
These nodes either send a basic message from your bot to a channel or sends a message and waits for a response from a human (HITL).
Sticky Note2
These nodes either send a basic message from your bot to a user via DM or sends a DM and waits for a response from the human (HITL).
Sticky Note3
Programmatic role addition and removal are just two examples of the many, many tools/API calls that you can make to Discord.
You could monitor for spam, mod abuse, or anything else you wanted and respond automatically by removing perms until you can check it out.
You can create amazing workflows that include discord webhooks, your existing other workflows, or anything else you can imagine and have it running on your bot in minutes via a MCP client node in a new or existing workflow!
Sticky Note4
Once we have the server ID of the server we want to interact with, we can grab all members of the server that the bot can see.
Sticky Note5
Once we have the server ID of the server we want to interact with, we can grab all channels the bot can see.
Discord MCP Server
Discord MCP Server
Purpose and structure
This folder contains the Discord MCP Server workflow. Its executable nodes use discordTool, httpRequestTool, mcpTrigger. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Discord MCP Server Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Discordtool/1913_Discordtool_Stickynote_Automation_Webhook.json MIT; preserve source notices.