{
  "workflow": {
    "id": 5186,
    "name": "🛠️ Mattermost tool MCP server 💪 all 19 operations",
    "views": 128,
    "recentViews": 0,
    "totalViews": 128,
    "createdAt": "2025-06-24T04:29:56.637Z",
    "description": "Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?\n\n[Join the community](https://www.skool.com/beyond-nodes-automation-lab-2006/about)\n\nComplete MCP server exposing all Mattermost Tool operations to AI agents. Zero configuration needed - all 19 operations pre-built.\n\n## ⚡ Quick Setup\n\n1. **Import** this workflow into your n8n instance\n2. **Activate** the workflow to start your MCP server\n3. **Copy** the webhook URL from the MCP trigger node\n4. **Connect** AI agents using the MCP URL\n\n## 🔧 How it Works\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **Tool Nodes**: Pre-configured for every Mattermost Tool operation\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Uses official n8n Mattermost Tool tool with full error handling\n\n## 📋 Available Operations (19 total)\n\nEvery possible Mattermost Tool operation is included:\n\n### 📺 Channel (7 operations)\n\n• **Add a user to a channel**\n• **Create a channel**\n• **Delete a channel**\n• **Get a page of members for a channel**\n• **Restore a soft-deleted channel**\n• **Search for a channel**\n• **Get statistics for a channel**\n\n### 💬 Message (3 operations)\n\n• **Delete a message**\n• **Post a message**\n• **Post an ephemeral message**\n\n### 🔧 Reaction (3 operations)\n\n• **Create a reaction**\n• **Delete a reaction**\n• **Get many reactions**\n\n### 👤 User (6 operations)\n\n• **Create a user**\n• **Deactivate a user**\n• **Get a user by email**\n• **Get a user by ID**\n• **Get many users**\n• **Invite a user**\n\n## 🤖 AI Integration\n\n**Parameter Handling**: AI agents automatically provide values for:\n• Resource IDs and identifiers\n• Search queries and filters\n• Content and data payloads\n• Configuration options\n\n**Response Format**: Native Mattermost Tool API responses with full data structure\n\n**Error Handling**: Built-in n8n error management and retry logic\n\n## 💡 Usage Examples\n\nConnect this MCP server to any AI agent or workflow:\n\n• **Claude Desktop**: Add MCP server URL to configuration\n• **Custom AI Apps**: Use MCP URL as tool endpoint\n• **Other n8n Workflows**: Call MCP tools from any workflow\n• **API Integration**: Direct HTTP calls to MCP endpoints\n\n## ✨ Benefits\n\n• **Complete Coverage**: Every Mattermost Tool operation available\n• **Zero Setup**: No parameter mapping or configuration needed\n• **AI-Ready**: Built-in `$fromAI()` expressions for all parameters\n• **Production Ready**: Native n8n error handling and logging\n• **Extensible**: Easily modify or add custom logic\n\n&gt; 🆓 **[Free for community use](https://github.com/Cfomodz/community-use)!** Ready to deploy in under 2 minutes.",
    "workflow": {
      "meta": {
        "instanceId": "cd59eaaeb7b34d06e24511380db94cdb7fbce6037cc4de22e539c5158ab9cdfc"
      },
      "nodes": [
        {
          "id": "96d19fc8-617e-4a7f-b52d-7c5a4ef7d531",
          "name": "Workflow Overview 0",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1480,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "df8b4a63-40af-4ed3-9639-d620cd264d2e",
          "name": "Mattermost Tool MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -420,
            -160
          ],
          "webhookId": "c6764c35-1603-4e59-a097-48222cf19b71",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "fdf31370-3e58-4c58-b4f9-239fbc76e063",
          "name": "Add a user to a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -800,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "13f95d4e-7e3e-4e53-9e73-46c7ec39a058",
          "name": "Create a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -580,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "36e10d7f-7ff6-43b8-8f2c-4d6b816e3640",
          "name": "Delete a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -360,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "9c571270-f4a2-4a18-b3aa-fdfa805203f6",
          "name": "Get a page of members for a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -140,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "828c4859-540b-4e7a-9ed1-da4fd917703d",
          "name": "Restore a soft-deleted channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            80,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "2b7c327c-a0e0-475e-a159-e09bede1b0ea",
          "name": "Search for a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            300,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "9ae10761-dd79-45c8-8de0-18899b22c433",
          "name": "Get statistics for a channel",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            520,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "320b38b9-6d29-49b6-aead-da1aaa746527",
          "name": "Sticky Note 1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "34d7c980-04d6-4e10-aa82-e2166292cbcb",
          "name": "Delete a message",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -800,
            380
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "12539ed7-c1f8-40a4-8235-fb93781e03ad",
          "name": "Post a message",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -580,
            380
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "9dee0a6c-8a47-44aa-8067-0658c52c3a63",
          "name": "Post an ephemeral message",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -360,
            380
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "0245adb7-3fcc-443c-9a92-3f65cc068121",
          "name": "Sticky Note 2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            360
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "ccaa999e-bf12-4abe-950b-3e57ad89bcff",
          "name": "Create a reaction",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -800,
            620
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "86241d0f-4579-43c4-a7b0-16bca0c56b09",
          "name": "Delete a reaction",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -580,
            620
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "c5367cac-77d8-4e1c-93ad-609e949439cc",
          "name": "Get many reactions",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -360,
            620
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "19a10bb5-c667-4528-9324-227ab7b842d0",
          "name": "Sticky Note 3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            600
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "46640369-1d86-45a0-bd34-7b9bed143ba7",
          "name": "Create a user",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -800,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "27eb2f82-ec51-429b-b8d4-b29fc8e6e329",
          "name": "Deactivate a user",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -580,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "4755b1ec-cf45-4f9e-a33b-52cafc5c2b46",
          "name": "Get a user by email",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -360,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "f403857f-f93c-4a67-b011-91c785d30eaf",
          "name": "Get a user by ID",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            -140,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "6e08f3cc-af90-44de-864d-bcde1afe0024",
          "name": "Get many users",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            80,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "143213c7-ebd9-4f89-88ce-ec8a78c95f65",
          "name": "Invite a user",
          "type": "n8n-nodes-base.mattermostTool",
          "position": [
            300,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "63b3e3ac-de20-4147-912f-7c4f9427ba72",
          "name": "Sticky Note 4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            840
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        }
      ],
      "pinData": {},
      "connections": {
        "Create a user": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Invite a user": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many users": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Post a message": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete a message": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get a user by ID": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create a reaction": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Deactivate a user": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete a reaction": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many reactions": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get a user by email": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Search for a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Add a user to a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Post an ephemeral message": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get statistics for a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Restore a soft-deleted channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get a page of members for a channel": {
          "ai_tool": [
            [
              {
                "node": "Mattermost Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 25,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 5
        },
        "n8n-nodes-base.mattermostTool": {
          "count": 19
        },
        "@n8n/n8n-nodes-langchain.mcpTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "user": {
      "name": "David Ashby",
      "username": "cfomodz",
      "bio": "Unlimited Access to my paid workflows 👇 For the cost of one a month",
      "verified": true,
      "links": [
        "https://www.skool.com/n8n-automation-lab"
      ],
      "avatar": "https://gravatar.com/avatar/0118796cfdab829a3307d407dfeeb01a3952eb402584a45a211e4ef7d15edbbf?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1293,
        "icon": "file:../mcp.svg",
        "name": "@n8n/n8n-nodes-langchain.mcpTrigger",
        "codex": {
          "data": {
            "alias": [
              "Model Context Protocol",
              "MCP Server"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger/"
                }
              ]
            },
            "categories": [
              "AI",
              "Core Nodes",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Root Nodes",
                "Model Context Protocol"
              ],
              "Core Nodes": [
                "Other Trigger Nodes"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "MCP Server Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDE5NSAxOTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8ZyBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+CgkJPHBhdGggZD0iTTI1IDk3Ljg1MjhMOTIuODgyMyAyOS45NzA2QzEwMi4yNTUgMjAuNTk4IDExNy40NTEgMjAuNTk4IDEyNi44MjMgMjkuOTcwNlYyOS45NzA2QzEzNi4xOTYgMzkuMzQzMSAxMzYuMTk2IDU0LjUzOTEgMTI2LjgyMyA2My45MTE3TDc1LjU1ODEgMTE1LjE3NyIvPgoJCTxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiLz4KCQk8cGF0aCBkPSJNMTA5Ljg1MyA0Ni45NDExTDU5LjY0ODIgOTcuMTQ1N0M1MC4yNzU3IDEwNi41MTggNTAuMjc1NyAxMjEuNzE0IDU5LjY0ODIgMTMxLjA4N1YxMzEuMDg3QzY5LjAyMDggMTQwLjQ1OSA4NC4yMTY4IDE0MC40NTkgOTMuNTg5NCAxMzEuMDg3TDE0My43OTQgODAuODgyMiIvPgoJPC9nPgo8L3N2Zz4K"
        },
        "displayName": "MCP Server Trigger",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 45,
        "name": "Miscellaneous"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}