Used for managing environment variables, specifically for storing Twitter API credentials in a .env file
Required runtime environment (version 3.11+) for running the Twitter MCP server
Twitter MCP Server
Welcome to the Twitter MCP (Multi-Channel Platform) Server! This application helps you manage your Twitter account programmatically with a variety of powerful features.
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 & Summaries: Retrieve replies to tweets and get summarized insights.
User Direct Messages: Send and receive Twitter DMs.
Create Post: Programmatically create new tweets.
Delete Post: Delete your tweets through the API.
And much more...

Related MCP server: X (Twitter) MCP server
Getting Started
Prerequisites
Python 3.11+
uvicorn (for running the server)
Twitter API credentials (set in
.envfile)
Installation
Clone this repository.
Install dependencies:
pip install -r requirements.txtSet up your
.envfile with your Twitter API credentials (see.env.example).
Running the Application
To start the server, run:
Feel free to contribute or suggest new features!