mcp-server-post-x MCP Server

An MCP (Model Context Protocol) server for X (Twitter). Built in Rust using OAuth 1.0a and the X API v2. Supports multiple accounts.

Local serverstdio

What is the mcp-server-post-x MCP Server?

mcp-server-post-x is an MCP project maintained in the codechap/mcp-server-post-x repository. The maintainer describes its purpose as “An MCP (Model Context Protocol) server for X (Twitter). Built in Rust using OAuth 1.0a and the X API v2. Supports multiple accounts”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/mcp-server-x. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

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
list_accounts
post_tweet
post_thread
delete_tweetDelete a tweet by ID or URL
upload_media
update_profile
update_profile_banner
search_tweets
get_timeline
get_bookmarks
get_me
lookup_userLook up any user by @username or numeric ID
get_followersList your followers (paginated)
get_followingList who you follow (paginated)
get_all_followersFetch ALL your followers in a single call (auto-paginates)
get_all_followingFetch ALL accounts you follow in a single call (auto-paginates)
like_tweetLike a tweet by ID or URL
unlike_tweetUnlike a tweet by ID or URL
retweetRetweet a tweet by ID or URL
unretweetUndo a retweet by ID or URL
bookmark_tweetBookmark a tweet by ID or URL
unbookmark_tweetRemove a bookmark by ID or URL
get_trends
get_dm_events
send_dm
follow_userFollow a user by username or ID
unfollow_userUnfollow a user by username or ID
ParamType
accountstring
textstring
mediaarray
media_idsarray
reply_tostring
tweetsarray
tweet_idstring
pathstring
alt_textstring
locationstring
urlstring
widthinteger
heightinteger
offset_leftinteger
offset_topinteger
querystring
max_resultsinteger
sort_orderstring
pagination_tokenstring
woeidinteger
excludestring
userstring
max_usersinteger
conversation_idstring

How to install the mcp-server-post-x MCP Server

{
  "mcpServers": {
    "x": {
      "command": "/path/to/mcp-server-x"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.