Twitter (X) MCP integration
Social media platform for posting, searching, and engaging with tweets
Sign in, add Twitter (X) in Apps, then choose the account your AI can use.
Get started with Twitter (X)
- Add Twitter (X) to your Weavz workspace and connect the account you want to use.
- Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
- Connect a compatible AI client to your workspace, or use the actions API from your application.
Tools
| Name | Description |
|---|---|
Create Tweet create_tweetPost a new tweet | Post a new tweet |
Search Tweets search_tweetsSearch for tweets using a query | Search for tweets using a query |
Get Tweet get_tweetGet a tweet by ID | Get a tweet by ID |
Get User get_userGet a user by username | Get a user by username |
Get User by ID get_user_by_idGet an X user by numeric user ID. | Get an X user by numeric user ID. |
Lookup Users by Usernames lookup_users_by_usernamesLook up multiple X users by username. | Look up multiple X users by username. |
Lookup Users by IDs lookup_users_by_idsLook up multiple X users by ID. | Look up multiple X users by ID. |
Get User Timeline get_timelineGet tweets from a user timeline | Get tweets from a user timeline |
Delete Tweet delete_tweetDelete a tweet owned by the authenticated user. | Delete a tweet owned by the authenticated user. |
Like Tweet like_tweetLike a tweet | Like a tweet |
Unlike Tweet unlike_tweetRemove the authenticated user's like from a tweet. | Remove the authenticated user's like from a tweet. |
List Liking Users list_liking_usersList users who liked a tweet. | List users who liked a tweet. |
Retweet retweetRetweet a tweet | Retweet a tweet |
Undo Retweet undo_retweetRemove the authenticated user's repost of a tweet. | Remove the authenticated user's repost of a tweet. |
List Retweeting Users list_retweeting_usersList users who reposted a tweet. | List users who reposted a tweet. |
Send Direct Message send_dmSend a direct message to a user | Send a direct message to a user |
List Followers list_followersList followers of a user | List followers of a user |
List Following list_followingList accounts followed by a user. | List accounts followed by a user. |
Follow User follow_userFollow a user from the authenticated account. | Follow a user from the authenticated account. |
Unfollow User unfollow_userUnfollow a user from the authenticated account. | Unfollow a user from the authenticated account. |
List Bookmarks list_bookmarksList bookmarked tweets for the authenticated user. | List bookmarked tweets for the authenticated user. |
Add Bookmark add_bookmarkBookmark a tweet for the authenticated user. | Bookmark a tweet for the authenticated user. |
Remove Bookmark remove_bookmarkRemove a tweet bookmark for the authenticated user. | Remove a tweet bookmark for the authenticated user. |
Custom API Call custom_api_callMake a custom API call to the Twitter API v2 | Make a custom API call to the Twitter API v2 |
Triggers
| Name | Description |
|---|---|
New Mention new_mentionTriggers when the user is mentioned in a tweet | Triggers when the user is mentioned in a tweet |
New Follower new_followerTriggers when a new user follows you | Triggers when a new user follows you |
New Direct Message new_dmTriggers when a new direct message is received | Triggers when a new direct message is received |
New User Tweet new_user_tweetTriggers when a selected X user publishes a new tweet. | Triggers when a selected X user publishes a new tweet. |
New Search Match new_search_matchTriggers when a new recent-search result matches a query. | Triggers when a new recent-search result matches a query. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('twitter', 'create_tweet', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'twitter',
input: { /* ... */ },
})Related Integrations
Explore integrations in other categories
Frequently Asked Questions
Is there a Twitter (X) MCP server through Weavz?
Yes. Add the Twitter (X) integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 24 Twitter (X) actions.
What can an AI agent do with Twitter (X)?
Available actions include Create Tweet, Search Tweets, Get Tweet, Get User, Get User by ID, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.
How do I connect Twitter (X) to Claude or ChatGPT?
Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Twitter (X), connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.
Can I use Twitter (X) through an API or SDK?
Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.
What authentication does Twitter (X) require?
The catalog lists OAuth2 for Twitter (X). Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.
How do I review sensitive Twitter (X) actions?
Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.
What limits or costs apply to Twitter (X)?
Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.
What Twitter (X) triggers are available?
The catalog lists 5 triggers, including New Mention, New Follower, New Direct Message, New User Tweet, New Search Match. Configure the trigger and your event handler before using incoming events to start work.
Connect Twitter (X) in minutes
Get 20,000 free action executions every month. No credit card required.