{
  "name": "Control Discord bot with natural language via MCP server",
  "nodes": [
    {
      "id": "6e87d612-3006-4683-b978-87718f89257d",
      "name": "Send Discord Message to Channel",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        360,
        280
      ]
    },
    {
      "id": "32a17a73-8953-4474-a49f-9d1cc0cc3eb2",
      "name": "Add Role To Member",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        -200,
        560
      ]
    },
    {
      "id": "688ea823-b8ea-4bbf-96cb-a64925fc29a9",
      "name": "Remove Role from member",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        -20,
        560
      ]
    },
    {
      "id": "1d8a14f1-8e63-4112-8076-15b4408c844f",
      "name": "Discord MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        20,
        -280
      ]
    },
    {
      "id": "67602807-3126-4564-8fed-912551eb824b",
      "name": "Get channels of server by server ID",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        420,
        20
      ]
    },
    {
      "id": "5f1c3039-7042-48b8-997c-12bcaa6a1256",
      "name": "Get members of server by server ID",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        -80,
        20
      ]
    },
    {
      "id": "ece7a065-36bb-4667-aa61-610e54f0b22d",
      "name": "Send DM and Wait for reply",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        -280,
        280
      ]
    },
    {
      "id": "c37d0478-5b00-4d21-b0fd-7e2fa34708ec",
      "name": "Send to Channel and Wait for Reply",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        580,
        280
      ]
    },
    {
      "id": "fb8091b5-114b-422e-be5a-6413d9aec599",
      "name": "Send DM to User",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        -60,
        280
      ]
    },
    {
      "id": "6f61b18a-8d96-4acb-994a-45ef32c10f16",
      "name": "Get Discord Server IDs",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        180,
        -60
      ]
    },
    {
      "id": "3fe9b9ab-d9c8-4414-b3a4-01dace75da77",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -60
      ],
      "parameters": {
        "width": null,
        "height": 600,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\nThis 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 ma"
      }
    },
    {
      "id": "c886422d-f034-49dc-ad77-bc6e1cd495a8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        280
      ],
      "parameters": {
        "width": 300,
        "height": 240,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\nThese 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)."
      }
    },
    {
      "id": "36d5bcc3-f9f2-4161-83d8-d76083ea9e8c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        280
      ],
      "parameters": {
        "width": 300,
        "height": 240,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\nThese 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)."
      }
    },
    {
      "id": "65b6d13e-6f97-4b4c-9a0d-85b07b666c81",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        560
      ],
      "parameters": {
        "width": 520,
        "height": 360,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\nProgrammatic role addition and removal are just two examples of the many, many tools/API calls that you can make to Discord.\n\nYou could monitor for spam, mod abuse, or anything else you wa"
      }
    },
    {
      "id": "e39211f7-7471-4b0b-a253-79b1e3026354",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -60
      ],
      "parameters": {
        "width": 280,
        "height": null,
        "content": "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."
      }
    },
    {
      "id": "84f36c6d-c990-48d0-9328-32a40c803956",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -60
      ],
      "parameters": {
        "width": 280,
        "height": null,
        "content": "Once we have the server ID of the server we want to interact with, we can grab all channels the bot can see."
      }
    }
  ],
  "connections": {
    "Send DM to User": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Role To Member": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Discord Server IDs": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Remove Role from member": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send DM and Wait for reply": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Discord Message to Channel": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get members of server by server ID": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send to Channel and Wait for Reply": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get channels of server by server ID": {
      "ai_tool": [
        [
          {
            "node": "Discord MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}