Purpose
mcp-twitter is a Twitter MCP server designed to help users manage Twitter accounts programmatically, providing a variety of features for interacting with Twitter.
Main Capabilities
According to the project description, the server supports the following features:
- Get timeline: Retrieve your Twitter home timeline.
- Get any user's tweets: Fetch tweets from any public Twitter user.
- Hashtag search: Search for tweets containing any hashtag (e.g., #AI).
- Get replies and summaries: Retrieve replies to tweets and obtain summarized insights.
- User direct messages: Send and receive Twitter direct messages.
- Create tweets: Programmatically create new tweets.
- Delete tweets: Delete your tweets via the API.
- And more features.
Usage
The project provides a getting started guide:
- Requires uvicorn (used to run the server).
- Requires Twitter API credentials (set in the .env file).
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt - Set up the .env file with Twitter API credentials (see .env.example).
- Start the server: run the corresponding command (the specific command is not explicitly provided in the project documentation).
Applicable Scenarios
Suitable for scenarios that require programmatic or automated management of Twitter accounts, such as batch fetching tweets, monitoring hashtags, analyzing reply summaries, managing direct messages, and publishing and deleting tweets, etc.
Limitations
- Requires Twitter API credentials and may be subject to Twitter API access restrictions and rate limits.
- The project documentation does not provide specific pricing, fees, performance metrics, or more detailed usage steps; this information is not currently available.
- The runtime environment must support Python and uvicorn.