x-mcp-server

v2.1.0
@mobalab/x-mcp-server Checked 4 days ago Published 1 month ago

Fork of x-mcp-server for X (Twitter) integration — v2 API with OAuth 2.0 media upload

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_home_timeline

Get recent posts from your home timeline

ParameterTypeDescription
limitnumberNumber of posts to retrieve (1-100, default 20)

search_tweets

Search recent posts from the last 7 days. Requires Basic tier or above.

ParameterTypeDescription
query *stringSearch query (supports X search operators like from:, to:, has:, is:)
limitnumberNumber of results (1-100, default 10)

get_tweet

Look up a specific post by its ID

ParameterTypeDescription
tweet_id *stringThe ID of the post to look up

create_tweet

Create a new post with optional media attachment. Media upload requires OAuth 2.0 credentials.

ParameterTypeDescription
text *stringThe text content of the post (max 280 characters, or 25,000 for X Premium accounts)
expected_author_idstringOptional exact authenticated author ID guard, freshly checked on the same captured client before creating.
image_pathstringAbsolute path to an image file (PNG, JPEG, GIF, WEBP, max 5MB)
video_pathstringAbsolute path to a video file (MP4, MOV, AVI, WEBM, M4V, max 512MB). Cannot be used with image_path.

reply_to_tweet

Reply to a post with optional media attachment

ParameterTypeDescription
text *stringThe text content of the reply (max 280 characters, or 25,000 for X Premium accounts)
tweet_id *stringThe ID of the post to reply to
image_pathstringAbsolute path to an image file (PNG, JPEG, GIF, WEBP, max 5MB)
video_pathstringAbsolute path to a video file (MP4, MOV, AVI, WEBM, M4V, max 512MB)

quote_tweet

Quote a post with your own commentary

ParameterTypeDescription
text *stringYour commentary text (max 280 characters, or 25,000 for X Premium accounts)
tweet_id *stringThe ID of the post to quote

delete_tweet

Delete one of your posts

ParameterTypeDescription
tweet_id *stringThe ID of the post to delete

like_tweet

Like a post. Not available on Free tier (removed Aug 2025). Requires Basic tier or above.

ParameterTypeDescription
tweet_id *stringThe ID of the post to like

unlike_tweet

Remove a like from a post

ParameterTypeDescription
tweet_id *stringThe ID of the post to unlike

retweet

Repost a post to your timeline

ParameterTypeDescription
tweet_id *stringThe ID of the post to repost

undo_retweet

Remove a repost from your timeline

ParameterTypeDescription
tweet_id *stringThe ID of the reposted post to undo

bookmark_tweet

Bookmark a post for later

ParameterTypeDescription
tweet_id *stringThe ID of the post to bookmark

unbookmark_tweet

Remove a bookmarked post

ParameterTypeDescription
tweet_id *stringThe ID of the bookmarked post to remove

get_bookmarks

Get your bookmarked posts

ParameterTypeDescription
limitnumberNumber of bookmarks to retrieve (1-100, default 20)

get_me

Read fresh authenticated identity and versioned publisher field-request policy; no entitlement promise.

get_user

Look up a user by their username

ParameterTypeDescription
username *stringThe username to look up (without the @ symbol)

get_user_tweets

Get a user's recent posts by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of posts to retrieve (5-100, default 10)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_user_mentions

Get recent posts mentioning a user by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of mentions to retrieve (5-100, default 10)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_user_liked_tweets

Get a user's recently liked posts by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of liked posts to retrieve (5-100, default 10)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_user_followers

Get a user's followers by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of followers to retrieve (1-1000, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_user_following

Get accounts a user follows by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of followed accounts to retrieve (1-1000, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_blocking_users

Get users blocked by the authenticated account

ParameterTypeDescription
limitnumberNumber of blocked users to retrieve (1-1000, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_muting_users

Get users muted by the authenticated account

ParameterTypeDescription
limitnumberNumber of muted users to retrieve (1-1000, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_owned_lists

Get lists owned by a user by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of lists to retrieve (1-100, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_followed_lists

Get lists followed by a user by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of lists to retrieve (1-100, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_list_memberships

Get lists a user belongs to by username

ParameterTypeDescription
username *stringThe username (without @)
limitnumberNumber of lists to retrieve (1-100, default 20)
pagination_tokenstringToken from the previous response's meta.next_token, to fetch the next page. Omit for the first page.

get_article

Fetch the full body content of an X Article post by its tweet ID

ParameterTypeDescription
tweet_id *stringThe ID of the X Article post