This MCP server provides a headless and decoupled solution for interacting with the Twitter API, allowing clients to complete the OAuth flow independently and pass credentials as context, ensuring a separation between credential storage and server implementation. It offers core Twitter operations such as searching tweets, retrieving user tweets, posting tweets, and replying to tweets, while handling token refresh automatically. Designed for containerization and built on the standard Python requests library, it provides a reliable and environment-independent setup for Twitter API integration.
Key Features
01Search tweets using Twitter API
02Post new tweets and reply to existing tweets
03Get recent tweets and replies by a specific user
04Refresh access tokens separately
05Automatic refresh token handling