X (Twitter) MCP Server logo

X (Twitter) MCP Server

by Dishant27

This MCP server allows Clients to interact with X (formerly Twitter), enabling comprehensive platform operations. It supports posting tweets, searching content, managing accounts, and organizing lists.

View on GitHub

Last updated: N/A

What is X (Twitter) MCP Server?

This is an MCP (Message Communication Protocol) server that acts as an intermediary between clients (like Claude) and the X (formerly Twitter) platform. It provides a structured way to interact with X's API.

How to use X (Twitter) MCP Server?

To use this server, you need an X Developer account and API keys. Clone the repository, install dependencies, set the API keys as environment variables, and run the server. Then, configure your MCP client (e.g., Claude) to connect to the server.

Key features of X (Twitter) MCP Server

  • Post content to X

  • Search for content on X

  • Manage user accounts (get profile, update profile, follow/unfollow)

  • Manage lists (create, get info, retrieve user lists)

  • Provides a structured interface for interacting with the X API

Use cases of X (Twitter) MCP Server

  • Automated tweet posting

  • Social media monitoring and analysis

  • Account management automation

  • Building custom X integrations

  • Integrating X functionality into AI assistants like Claude

FAQ from X (Twitter) MCP Server

What is an MCP server?

An MCP server acts as a bridge between different applications, allowing them to communicate and exchange data in a standardized way.

Do I need an X Developer account?

Yes, you need an X Developer account with API keys to use this server.

How do I set up the API keys?

You can set the API keys as environment variables or in a .env file.

Can I use this server with other MCP clients?

Yes, this server can be used with any MCP client that supports the required configuration.

What are the system requirements?

You need Node.js 18.x or higher, an X Developer account with API keys, and API v1 and v2 access.