MCP.so
Sign In

X(Twitter) V2 MCP Server

@NexusX-MCP

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

NexusX-MCP

About X(Twitter) V2 MCP Server

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

X(Twitter) V2 MCP Server 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

X(Twitter) V2 MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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.

Frequently asked questions

1

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.

2

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.

3

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).

4

Does this server support managing Twitter lists?

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

5

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