X (Twitter) MCP connector
Updated
X is a social media platform for sharing short messages and engaging with content in real time. This MCP connector allows AI agents to create, retrieve, and delete tweets, look up user profiles by username or ID, and search recent posts. It also supports engaging with content through likes and retweets, as well as managing user lists.
Authentication type
- OAuth 2.0 Authorization Code - Requires a one-time user login to authorize the agent to access the service on their behalf.
Uses
Use the X (Twitter) MCP connector to perform the following actions:
- Publish tweets automatically from workflow triggers
- Track brand mentions by searching recent tweets in real time
- Engage audiences by liking and retweeting relevant posts
- Look up user profiles by username or ID for outreach
- Send direct messages to users for support or updates
- Build targeted audiences by adding users to lists
- Remove outdated or inaccurate tweets to protect brand reputation
- Verify the authenticated account before automating social actions
Example prompts
Use the following example prompts to invoke X (Twitter) MCP connector tools from your AI assistant or Boomi Connect workflow:
Post an announcement about our product launch on X.Search recent tweets mentioning our brand name.Who is the user behind the handle @acmecorp on X.Send a direct message to a customer who complained on X.Like the latest tweet from our partner account.Retweet our CEO's post about the new feature.Add this user to our VIP customers list on X.Delete that tweet with the outdated pricing information.Show me details about the X account we're connected to.Find the profile information for a specific user ID on X.
X (Twitter) MCP connector tools
The X (Twitter) MCP connector provides the following tools. Each tool maps to a specific action you can invoke from your AI agent or automation.
| Tool | Description |
|---|---|
| x_xpost_invoke | Post to X (formerly Twitter) |
| getCurrentUser | Get current authenticated user |
| getUserByUsername | Get user by username |
| getUserById | Get user by ID |
| searchTweets | Search recent tweets |
| createTweet | Create a tweet |
| deleteTweet | Delete a tweet |
| likeTweet | Like a tweet |
| retweetTweet | Retweet a tweet |
| addUserToList | Add user to list |
| sendDirectMessage | Send a direct message |