Back to Templates

🛠️ X (Formerly Twitter) Tool MCP Server 💪 all 8 operations

Created by

Created by: David Ashby || cfomodz

David Ashby

Last update

Last update 11 days ago

Share


🛠️ X (Formerly Twitter) Tool MCP Server

Complete MCP server exposing all X (Formerly Twitter) Tool operations to AI agents. Zero configuration needed - all 8 operations pre-built.

⚡ Quick Setup

  1. Import this workflow into your n8n instance
  2. Activate the workflow to start your MCP server
  3. Copy the webhook URL from the MCP trigger node
  4. Connect AI agents using the MCP URL

🔧 How it Works

MCP Trigger: Serves as your server endpoint for AI agent requests
Tool Nodes: Pre-configured for every X (Formerly Twitter) Tool operation
AI Expressions: Automatically populate parameters via $fromAI() placeholders
Native Integration: Uses official n8n X (Formerly Twitter) Tool tool with full error handling

📋 Available Operations (8 total)

Every possible X (Formerly Twitter) Tool operation is included:

🔧 Directmessage (1 operations)

Create Direct Message

📝 List (1 operations)

Add Member to List

🔧 Tweet (5 operations)

Create Tweet
Delete Tweet
Like Tweet
Retweet Tweet
Search Tweets

👤 User (1 operations)

Get User

🤖 AI Integration

Parameter Handling: AI agents automatically provide values for:
• Resource IDs and identifiers
• Search queries and filters
• Content and data payloads
• Configuration options

Response Format: Native X (Formerly Twitter) Tool API responses with full data structure

Error Handling: Built-in n8n error management and retry logic

💡 Usage Examples

Connect this MCP server to any AI agent or workflow:

Claude Desktop: Add MCP server URL to configuration
Custom AI Apps: Use MCP URL as tool endpoint
Other n8n Workflows: Call MCP tools from any workflow
API Integration: Direct HTTP calls to MCP endpoints

✨ Benefits

Complete Coverage: Every X (Formerly Twitter) Tool operation available
Zero Setup: No parameter mapping or configuration needed
AI-Ready: Built-in $fromAI() expressions for all parameters
Production Ready: Native n8n error handling and logging
Extensible: Easily modify or add custom logic

🆓 Free for community use! Ready to deploy in under 2 minutes.