x-twitter-mcp-server
The X (Twitter) MCP Server is a Model Context Protocol server designed to facilitate natural language interaction with Twitter using AI tools. It supports comprehensive Twitter API functionalities, including user and tweet management, search, and rate limit handling. The server is optimized for integration with environments like Claude Desktop, offering a streamlined approach to manage Twitter through AI interfaces.
X (Twitter) MCP Server
A Model Context Protocol (MCP) server for interacting with Twitter (X) via AI tools. This server allows you to manage followers, post tweets, search Twitter, and more, all through natural language commands.
Features
- Fetch user profiles and timelines, manage bookmarks, and handle rate limits.
- Full implementation of Twitter API v2.
- Post, delete, and favorite tweets.
Prerequisites
- Python 3.10 or higher
- Twitter Developer Account
- Optional tools: Claude Desktop, Node.js
Installation
Install via Smithery or PyPI. For source installation, clone the repository and set up a virtual environment.
Running the Server
Options include using the CLI script or FastMCP directly.
Using with Claude Desktop
Guidelines provided for configuring and using the server with Claude Desktop.
Available Tools
Includes tools for user and tweet management, timeline and search, such as post_tweet
, search_twitter
, get_user_profile
, etc.