MCP.so
Sign In

X(Twitter) V2 MCP Server

@NexusX-MCP

About X(Twitter) V2 MCP Server

An MCP server implementation that provides tools for interacting with the [Twitter/X API v2](

Basic information

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

NexusX-MCP

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is X(Twitter) V2 MCP Server?

X(Twitter) V2 MCP Server is an MCP server that provides tools for interacting with the Twitter/X API v2. It enables AI assistants to retrieve tweets, post new content, reply to tweets, and quote tweets programmatically.

How to use X(Twitter) V2 MCP Server?

Configure the server by setting environment variables X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, and X_ACCESS_SECRET from the X Developer Dashboard. You can then run the server (e.g., npx @modelcontextprotocol/inspector node dist/index.js) to interact with its tools.

Key features of X(Twitter) V2 MCP Server

  • Retrieve tweets from a user's timeline.
  • Post, reply, and quote tweets.
  • Like, follow, and unfollow users.
  • Search tweets and get trending topics.
  • Manage Twitter lists (create, add, remove members).

Use cases of X(Twitter) V2 MCP Server

  • Automating social media engagement with AI assistants.
  • Retrieving and analyzing tweets for research or monitoring.
  • Scheduling and posting tweets programmatically.
  • Managing follower relationships and list memberships.

FAQ from X(Twitter) V2 MCP Server

How do I authenticate with the Twitter/X API?

Set the environment variables X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, and X_ACCESS_SECRET obtained from the X Developer Dashboard.

What tools are available for posting content?

You can use post_tweet to post a new tweet, reply_to_tweet to reply to an existing tweet, and quote_tweet to create a quote tweet with custom text.

Can I search for tweets or get trending topics?

Yes, the server includes search_tweets to search using a query and get_trending_topics to retrieve trending topics for a location (WOEID).

Does this server support managing Twitter lists?

Yes, it provides tools to create lists, add/remove members, and get owned lists.

What dependencies or runtime are required?

You need Node.js and npm. Install dependencies with npm i, build with npm run build, then run the server (e.g., using the inspector).

Comments

More Other MCP servers