SSyncDev

X MCP Server

MCP server for X/Twitter — post tweets, search, follow, and monitor your account with Claude

Local serverstdioGo

What is the X MCP Server?

MCP server for X/Twitter — post tweets, search, follow, and monitor your account with Claude

What the server does

A Model Context Protocol (MCP) server that enables Claude Desktop (and other MCP clients) to interact with X/Twitter — post tweets, read timelines, search content, manage follows, and monitor your account.

Credentials and setup notes

  • Node.js 22.14 or higher - An X Developer account with an app created - Claude Desktop (or any MCP-compatible client)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
x_get_timelineHome timeline — recent posts from followed accounts
x_get_notificationsMentions of the authenticated user
x_search_tweetsSearch by keyword, hashtag, or from:username
x_get_tweet_threadFetch a tweet and its full conversation thread
x_get_profileUser profile by username
x_get_followersFollowers list for any account
x_get_user_tweetsRecent tweets from a specific user
x_search_usersSearch for users by name or keyword
x_get_media_specsX/Twitter media format specs (dimensions, size limits, formats)
x_create_tweetPost a tweet (text, link card, image, or video)
x_replyReply to a tweet
x_create_threadPost a series of connected tweets
x_quote_tweetQuote-tweet with commentary
x_likeLike a tweet

How to install the X MCP Server

claude mcp add x-twitter-1 --env X_APP_KEY=your-value --env X_APP_SECRET=your-value --env X_ACCESS_TOKEN=your-value --env X_ACCESS_SECRET=your-value --env X_BEARER_TOKEN=your-value -- npx -y tsc

Configuration

  • Node.js 22.14 or higher - An X Developer account with an app created - Claude Desktop (or any MCP-compatible client)
VariableDescriptionRequired
X_APP_KEYCredential the server authenticates with.Yes
X_APP_SECRETCredential the server authenticates with.Yes
X_ACCESS_TOKENCredential the server authenticates with.Yes
X_ACCESS_SECRETCredential the server authenticates with.Yes
X_BEARER_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use X to x get timeline.”
  • “Use X to x get notifications.”
  • “Use X to x search tweets.”

Frequently asked questions

MCP server for X/Twitter — post tweets, search, follow, and monitor your account with Claude Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.