{
  "workflow": {
    "id": 5185,
    "name": "🛠️ Matrix tool MCP server 💪 all 11 operations",
    "views": 126,
    "recentViews": 0,
    "totalViews": 126,
    "createdAt": "2025-06-24T04:27:37.150Z",
    "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 Matrix Tool operations to AI agents. Zero configuration needed - all 11 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 Matrix Tool operation\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Uses official n8n Matrix Tool tool with full error handling\n\n## 📋 Available Operations (11 total)\n\nEvery possible Matrix Tool operation is included:\n\n### 👤 Account (1 operations)\n\n• **Get the current user's account information**\n\n### 📅 Event (1 operations)\n\n• **Get an event by ID**\n\n### 🔧 Media (1 operations)\n\n• **Upload media to a chatroom**\n\n### 💬 Message (2 operations)\n\n• **Create a message**\n• **Get many messages**\n\n### 🔧 Room (5 operations)\n\n• **Create a room**\n• **Invite a room**\n• **Join a room**\n• **Kick a user from a room**\n• **Leave a room**\n\n### 🔧 Roommember (1 operations)\n\n• **Get many room members**\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 Matrix 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 Matrix 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": "0549579b-ef6e-4653-ab95-eb3215bd9598",
          "name": "Workflow Overview 0",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1480,
            100
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "399f6860-4f4b-4e34-b3cb-a3c827102667",
          "name": "Matrix Tool MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -180,
            120
          ],
          "webhookId": "37d606da-b0a0-4377-8548-2e5672b1ee7d",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "0fe38829-b5aa-4161-ada9-3ca68d7c8938",
          "name": "Get the current user's account information",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            140
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "97ea27a0-ff46-4c36-b2ed-52fc56358255",
          "name": "Sticky Note 1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "738f09aa-e0ee-4ab1-9ce9-6eea797ea90b",
          "name": "Get an event by ID",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            380
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "510af360-d570-4333-969a-666913078557",
          "name": "Sticky Note 2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            360
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "1c7f53a2-31e4-4eb4-af8d-6ef2b5591acd",
          "name": "Upload media to a chatroom",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            620
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "5c133075-547b-4b26-96ef-8828ee7592cf",
          "name": "Sticky Note 3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            600
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "0d2839ae-93f1-40f5-b7ac-c7fa294c4a32",
          "name": "Create a message",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "08ea1f00-00ea-4026-854a-70338bba6b1b",
          "name": "Get many messages",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -580,
            860
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "4a176639-dd65-40a9-a594-90ba8b40ae2d",
          "name": "Sticky Note 4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            840
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "4f5e6a29-66c7-4458-a3b1-a4414c05a4fc",
          "name": "Create a room",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            1100
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "6cccb0c0-6a63-4269-835b-3ef369cc18ca",
          "name": "Invite a room",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -580,
            1100
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "42d440e6-b0d9-4531-aa23-7898d65f56e1",
          "name": "Join a room",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -360,
            1100
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "3c87d0d4-dafb-4007-8f7a-fedef56732b3",
          "name": "Kick a user from a room",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -140,
            1100
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "ab9717f3-8350-4b37-990d-5a5e7f78671f",
          "name": "Leave a room",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            80,
            1100
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "93ce95d7-1cc3-460e-bc34-a579e13c0154",
          "name": "Sticky Note 5",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            1080
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "0f620bbe-39f0-4904-be10-8b62528497df",
          "name": "Get many room members",
          "type": "n8n-nodes-base.matrixTool",
          "position": [
            -800,
            1340
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "5c8ba7d7-a4f9-4dce-a145-6319b669bce4",
          "name": "Sticky Note 6",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            1320
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        }
      ],
      "pinData": {},
      "connections": {
        "Join a room": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Leave a room": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create a room": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Invite a room": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create a message": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many messages": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get an event by ID": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get many room members": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Kick a user from a room": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Upload media to a chatroom": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Get the current user's account information": {
          "ai_tool": [
            [
              {
                "node": "Matrix Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 19,
      "nodeTypes": {
        "n8n-nodes-base.matrixTool": {
          "count": 11
        },
        "n8n-nodes-base.stickyNote": {
          "count": 7
        },
        "@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": 5,
        "name": "Engineering"
      },
      {
        "id": 48,
        "name": "AI RAG"
      }
    ],
    "image": []
  }
}