{
  "workflow": {
    "id": 5076,
    "name": "🛠️ X (formerly Twitter) tool MCP server 💪 all 8 operations",
    "views": 150,
    "recentViews": 0,
    "totalViews": 150,
    "createdAt": "2025-06-20T16:22:20.818Z",
    "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 X (Formerly Twitter) Tool operations to AI agents. Zero configuration needed - all 8 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 X (Formerly Twitter) Tool operation\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Uses official n8n X (Formerly Twitter) Tool tool with full error handling\n\n## 📋 Available Operations (8 total)\n\nEvery possible X (Formerly Twitter) Tool operation is included:\n\n### 🔧 Directmessage (1 operations)\n\n• **Create Direct Message**\n\n### 📝 List (1 operations)\n\n• **Add Member to List**\n\n### 🔧 Tweet (5 operations)\n\n• **Create Tweet**\n• **Delete Tweet**\n• **Like Tweet**\n• **Retweet Tweet**\n• **Search Tweets**\n\n### 👤 User (1 operations)\n\n• **Get 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 X (Formerly Twitter) 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 X (Formerly Twitter) 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": "ef7c1583-9dcf-4a04-930b-c4f193e3ed83",
          "name": "Workflow Overview 0",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1460,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "e3b83b2b-ff1f-4383-9b9b-a3eeecef46e6",
          "name": "X (Formerly Twitter) Tool MCP Server",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -420,
            160
          ],
          "webhookId": "5a8e5cbc-184a-4df4-907a-56a4d3d808ab",
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "8531825c-17f3-4f8b-b93e-5b58a9fbbee0",
          "name": "Create Direct Message",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -800,
            140
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "3e8e5967-aa91-4d1c-a085-51d74706010c",
          "name": "Sticky Note 1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            120
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "61f9d796-dcb8-4659-bfe3-96c7609ae02e",
          "name": "Add Member to List",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -800,
            380
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "96fed9cf-8168-490e-8a2d-967cfac6dd86",
          "name": "Sticky Note 2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            360
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "433590bc-b185-49dd-bfa2-7739da8ef018",
          "name": "Create Tweet",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -800,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "c139e9a6-3a1a-4ace-a3fd-3d93f132bc59",
          "name": "Delete Tweet",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -580,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "1305dac9-33f9-4deb-95ee-4678d0afc720",
          "name": "Like Tweet",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -360,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "1873a4fa-930d-416f-8bc5-d896738730d7",
          "name": "Retweet Tweet",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -140,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "923db232-0d66-49b5-bad6-6aef0c1eb2af",
          "name": "Search Tweets",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            80,
            620
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "598830e9-4c6a-4a65-82cf-249083ce0ddc",
          "name": "Sticky Note 3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            600
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        },
        {
          "id": "4513077a-daea-42b7-9bac-32ccc3525759",
          "name": "Get User",
          "type": "n8n-nodes-base.twitterTool",
          "position": [
            -800,
            860
          ],
          "parameters": {},
          "typeVersion": 2
        },
        {
          "id": "5c8f1fbb-bcb9-4613-a849-9e8b12b05f0d",
          "name": "Sticky Note 4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1000,
            840
          ],
          "parameters": {
            "content": ""
          },
          "typeVersion": 1
        }
      ],
      "pinData": {},
      "connections": {
        "Get User": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Like Tweet": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create Tweet": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Delete Tweet": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Retweet Tweet": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Search Tweets": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Add Member to List": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Create Direct Message": {
          "ai_tool": [
            [
              {
                "node": "X (Formerly Twitter) Tool MCP Server",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 14,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 5
        },
        "n8n-nodes-base.twitterTool": {
          "count": 8
        },
        "@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": 48,
        "name": "AI RAG"
      }
    ],
    "image": []
  }
}