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...
Getting Started
Prerequisites
- Python 3.11+
- uvicorn (for running the server)
- Twitter API credentials (set in
.env
file)
Installation
- Clone this repository.
- Install dependencies:
- Set up your
.env
file with your Twitter API credentials (see.env.example
).
Running the Application
To start the server, run:
Feel free to contribute or suggest new features!
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
mcp-twitter
Related MCP Servers
- -securityFlicense-qualityAn MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.Last updated -116JavaScript
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server for managing social media posts, currently supporting X (formerly Twitter).Last updated -37JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that allows Claude to create, manage and publish X/Twitter posts directly through the chat interface.Last updated -535PythonMIT License
- AsecurityAlicenseAqualityAn MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.Last updated -2108195TypeScriptMIT License