Skip to content
Weavz
Menu
Twitter (X)

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.

24 tools
5 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Get started with Twitter (X)

  1. Add Twitter (X) to your Weavz workspace and connect the account you want to use.
  2. Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
  3. Connect a compatible AI client to your workspace, or use the actions API from your application.

Tools

Name

Create Tweet

create_tweet

Post a new tweet

Search Tweets

search_tweets

Search for tweets using a query

Get Tweet

get_tweet

Get a tweet by ID

Get User

get_user

Get a user by username

Get User by ID

get_user_by_id

Get an X user by numeric user ID.

Lookup Users by Usernames

lookup_users_by_usernames

Look up multiple X users by username.

Lookup Users by IDs

lookup_users_by_ids

Look up multiple X users by ID.

Get User Timeline

get_timeline

Get tweets from a user timeline

Delete Tweet

delete_tweet

Delete a tweet owned by the authenticated user.

Like Tweet

like_tweet

Like a tweet

Unlike Tweet

unlike_tweet

Remove the authenticated user's like from a tweet.

List Liking Users

list_liking_users

List users who liked a tweet.

Retweet

retweet

Retweet a tweet

Undo Retweet

undo_retweet

Remove the authenticated user's repost of a tweet.

List Retweeting Users

list_retweeting_users

List users who reposted a tweet.

Send Direct Message

send_dm

Send a direct message to a user

List Followers

list_followers

List followers of a user

List Following

list_following

List accounts followed by a user.

Follow User

follow_user

Follow a user from the authenticated account.

Unfollow User

unfollow_user

Unfollow a user from the authenticated account.

List Bookmarks

list_bookmarks

List bookmarked tweets for the authenticated user.

Add Bookmark

add_bookmark

Bookmark a tweet for the authenticated user.

Remove Bookmark

remove_bookmark

Remove a tweet bookmark for the authenticated user.

Custom API Call

custom_api_call

Make a custom API call to the Twitter API v2

Triggers

Name

New Mention

new_mention

Triggers when the user is mentioned in a tweet

New Follower

new_follower

Triggers when a new user follows you

New Direct Message

new_dm

Triggers when a new direct message is received

New User Tweet

new_user_tweet

Triggers when a selected X user publishes a new tweet.

New Search Match

new_search_match

Triggers when a new recent-search result matches a query.

Quick Start

TypeScript
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.