Skip to main content
X (formerly Twitter) is a leading social platform for real-time conversations. The X MCP server lets you search tweets, manage bookmarks, post content, and analyze engagement using natural language.

What Can It Do?

  • Search tweets by keyword, user, or date
  • Post and manage tweets without leaving your workflow
  • Track mentions and engagement
  • Manage followers and bookmarks

Where to Use It

Add X as a tool to any agent. The agent can then manage your X presence conversationally, choosing the right actions based on context. To add an MCP tool to your agent:
  1. Open your agent’s configuration
  2. Click Add toolsConnect an app with MCP
  3. Search for the integration and select it
  4. Authenticate with your account
You can control which tools your agent has access to. After adding an integration, click on it to enable or disable specific tools based on what your agent needs.

In Workflows (Via Agent Node)

For automated pipelines, use an Agent Node with X tools. This gives you the flexibility of an agent within a deterministic workflow.

As a Custom MCP Node

You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.
To create a custom MCP node:
  1. Go to your node library and search for the integration
  2. Click Create a node with AI
  3. Describe the specific action you want (e.g., “Search tweets about AI automation”)
  4. Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.

Available Tools

ToolDescription
Search TweetsSearch tweets by query
Get User TweetsGet tweets from a user
Get User MentionsGet tweets mentioning a user
Get User TimelineGet your home timeline
Create TweetPost a new tweet
Delete TweetDelete a tweet
Get BookmarksGet bookmarked tweets
Create BookmarkBookmark a tweet
Get FollowersGet user’s followers
Get FollowingGet accounts a user follows
Manage FollowFollow or unfollow a user
Get Trends By WOEIDGet trending topics

Example Prompts

Use these with your agent or in the Agent Node: Search tweets:
Search for tweets about "AI automation" from the last 7 days
Monitor mentions:
Get tweets mentioning @gumloop from today
Post a tweet:
Create a tweet: "Excited to announce our new product launch!"
Get trending topics:
What's trending in the United States right now?
Analyze engagement:
Get users who liked this tweet

Troubleshooting

IssueSolution
Agent not finding the right dataUse specific keywords or user handles
Action not completingCheck that you’ve authenticated with X
Unexpected resultsThe agent may chain multiple tools (e.g., searching first, then getting details). Review the agent’s reasoning to understand its approach.
Tool not availableVerify the tool is enabled in your agent’s MCP configuration
Agents are smart enough to chain multiple API calls together. For example, asking “Get the latest tweets from our competitor” will find the user first, then get tweets. If results seem off, check the agent’s step-by-step reasoning.

Need Help?


Use this integration directly in Claude or Cursor. Connect remotely via the X MCP server using your Gumloop credentials.