1. Conduid
  2. Social
  3. Twitter
MCP server · Social

Twitter

MCP server for X (Twitter) that enables AI assistants to post tweets, upload images, and search Twitter using natural language via the Twitter API.

60Good

Scored 2 hours ago · breakdown

About Twitter

Twitter is an MCP server published by genaiwithms in the Social category: mCP server for X (Twitter) that enables AI assistants to post tweets, upload images, and search Twitter using natural language via the Twitter API. Conduid read 10 tools from its source: draft_quote_tweet, engage_with_tweet, fetch_thread_history, get_user_profile_context, media_extraction_helper, post_tweet and 4 more. It is published to npm as @muhammadsiddiq/twitter-mcp and starts with npx.

The repository has 28 stars and 6 forks, is licensed MIT, and its last commit was on 26 Oct 2026. The latest release is v0.3.11 (7 Jul 2026). It follows v0.3.10 (22 Jun 2026), and the 5 most recent releases go back to v0.3.7 (9 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include devtools, tweet-automation, twitter and twitter-api.

Install

Claude Code
claude mcp add twitter-46f5 -- npx -y @muhammadsiddiq/twitter-mcp
npx
npx -y @muhammadsiddiq/twitter-mcp
From source
git clone https://github.com/genaiwithms/twitter-mcp

Tools (10)

draft_quote_tweetQuote retweets an existing tweet with the LLM's commentary. Use this tool when the LLM needs to share an existing tweet with added perspective, endorsement, critique, or reaction—for example, quoting a news article with analysis, sharing a post with a comment, or amplifying content with context. The commentary appears as the new tweet text with the quoted tweet embedded below it. The commentary must be 280 characters or fewer. Returns the created quote tweet ID, text, and a URL to the tweet on X/Twitter.
engage_with_tweetPerforms quick engagement actions on a tweet: like (favourite), retweet (repost), or bookmark (save for later). Use this tool when the LLM needs to interact with content on X/Twitter—for example, liking a post to show appreciation, retweeting to share with followers, or bookmarking to save for later reference. The action parameter must be one of "like", "retweet", or "bookmark". Returns a success boolean confirming the action was performed.
fetch_thread_historyRetrieves the full conversation thread for a given tweet. Use this tool when the LLM needs to understand the context of a conversation, read previous replies and the original tweet, or analyze the full discussion flow. Input is a tweet_id. The tool first looks up the tweet to find its conversation_id, then searches for all tweets in that conversation and returns them ordered chronologically (oldest first). Each tweet includes author_id, text, timestamps, engagement metrics, and the in_reply_to_tweet_id for mapping reply relationships.
get_user_profile_contextFetches a comprehensive Twitter/X user profile including bio, profile metadata, public metrics (followers, following, tweet count), the pinned tweet (if set), and the 5 most recent original tweets. Use this tool when the LLM needs to understand who a user is before engaging with them—for example, checking credibility, reading their bio, reviewing their recent activity, or deciding whether to reply, retweet, or quote. Input is the @username (without the @ symbol). Returns a rich combined JSON object with all profile context in one call.
media_extraction_helperExtracts direct media URLs (images, videos, animated GIFs) from a tweet. Use this tool when the LLM needs to access media content from a tweet—for example, to view an attached image, download a video, analyze media metadata, or pass media URLs to other tools. For photos, returns the direct image URL. For videos and animated GIFs, returns all available variants with direct URLs, bit rates, and content types. The highest bitrate MP4 variant is typically the best quality video. Returns the tweet ID, media array with type/URL/dimensions/duration, and total media count.
post_tweetPosts a new text-only tweet to the authenticated Twitter/X account. Use this tool when the LLM needs to publish a status update, share information, announce something, or reply to an existing tweet in a thread. The tweet text must be 280 characters or fewer. Optionally accepts a reply_to_tweet_id to post as a threaded reply. Returns the created tweet ID, full text, author identifier, and creation timestamp. Prefer this over post_tweet_with_image when no media attachment is needed.
post_tweet_with_imagePosts a new tweet with an attached image file to the authenticated Twitter/X account. Use this tool when the LLM needs to publish a status update that includes a photo, graphic, screenshot, or any visual media. The image is uploaded from a local filesystem path (supports JPEG, PNG, GIF, WebP). The accompanying text must be 280 characters or fewer. Optionally accepts a reply_to_tweet_id for threaded replies. Returns the created tweet object with ID, text, author, and timestamp. Falls back to the standard Twitter API v2 media upload endpoint.
publish_smart_threadSplits long AI-generated text into multiple tweets (each ≤280 characters) and posts them as a threaded reply chain. Use this tool when the LLM needs to publish content that exceeds the 280-character single tweet limit—for example, announcements, tutorials, story threads, listicles, or any long-form content. The content is split first by paragraph breaks (double newlines) then by sentence boundaries. Each chunk is posted in sequence as a reply to the previous tweet, forming a connected thread. Returns the full thread with tweet IDs and a URL to the first tweet.
search_recent_mentionsSearches for recent tweets mentioning the authenticated user or matching a custom query. When no query is provided, fetches tweets that mention the authenticated account. When a query is provided, uses the Twitter recent search API to find matching tweets. Use this tool when the LLM needs to monitor mentions of the user, track brand/conversation mentions, or search for recent tweets on a topic. Each result includes the tweet text, author info, timestamp, and engagement metrics. Returns up to max_results tweets (default 10, max 100).
search_tweetsSearches Twitter/X for recent tweets matching a query string. Use this tool when the LLM needs to find tweets by keyword, hashtag, mention, or advanced filters (date ranges, language, engagement thresholds). Supports Twitter's full advanced search syntax. Returns a list of matching tweets with their IDs, text, author IDs, and creation timestamps, plus pagination metadata (next_token) for retrieving additional results. Can use alternative backends (XQuik or GetXAPI) when their respective API keys are configured. The count parameter controls how many results (10-100) are returned per call.

Security checks

  • ✓README presentThe repository's README runs to about 4.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 8 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.3.11v0.3.11 · 7 Jul 2026What's Changed feat: Updated date In CHANGELOG of release 0.3.10 by @GenAIwithMS in https://github.com/GenAIwithMS/twitter-mcp/pull/34 feat: Updated date In CHANGELOG of release 0.3.10 by @GenAIwithMS in…
v0.3.10v0.3.10 · 22 Jun 2026Added media_extraction_helper tool — Extracts direct media URLs (images, videos, animated GIFs) from a tweet. Returns the tweet ID, an array of media items with type, direct URL, preview image, dimensions, duration, and all available…
v0.3.9v0.3.9 · 16 Jun 2026v0.3.9 🚀 New Features Thread Retrieval: Added `fetch_thread_history` tool to retrieve full conversation threads seamlessly. Mention Monitoring: Added `search_recent_mentions` tool for real-time mention tracking and specific keyword…
v0.3.8v0.3.8 · 12 Jun 2026v0.3.8 – 2026-06-12 Added get_user_profile_context tool — Fetches a comprehensive Twitter/X user profile including bio, profile metadata, public metrics (followers, following, tweet count), the pinned tweet (if set), and the 5 most recent…
v0.3.7v0.3.7 · 9 Jun 2026This release centralizes the MCP server launch arguments to always include --stdio, fixing a bug where some generated client configs omitted the stdio flag. It also streamlines the installer and documentation so users run the interactive…

README

The repository's README runs to about 4.2K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Twitter

How do I install Twitter?

In Claude Code, run claude mcp add twitter-46f5 -- npx -y @muhammadsiddiq/twitter-mcp. Other MCP clients take the command after "--" in their server configuration.

Is Twitter safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Twitter still maintained?

Yes — the latest release is v0.3.11 (7 Jul 2026), and the last commit was a month ago. The repository has 28 stars.

What tools does Twitter provide?

Conduid read 10 tools from the source: draft_quote_tweet, engage_with_tweet, fetch_thread_history, get_user_profile_context, media_extraction_helper, post_tweet, post_tweet_with_image, publish_smart_thread and 2 more.

What license is Twitter released under?

The repository declares the MIT license. That applies to the latest release, v0.3.11, as well.