Overview
This MCP server enables clients to interact with Twitter via an MCP interface, exposing two actions: post_tweet to publish a new tweet and search_tweets to query tweets. It relies on Twitter's API credentials provided as environment variables: API_KEY, API_SECRET_KEY, ACCESS_TOKEN, and ACCESS_TOKEN_SECRET. The Quick Start shows configuring Claude Desktop by adding an mcpServers entry (twitter-mcp) that runs npx -y @enescinar/twitter-mcp with those keys in env. Users can ask Claude to post a tweet (e.g., 'Hello from Claude!') or to search for tweets about a topic (e.g., 'Claude AI'). Troubleshooting details point to log files in the Claude logs folder. For development, the repo provides steps to install, build, and run locally, and an evals workflow for testing without rebuilding. This server is designed to enable AI-assisted automation of Twitter interactions within Claude-based workflows through the MCP interface.
Features
post_tweet
Post a new tweet to Twitter via the MCP client.
search_tweets
Search Twitter for tweets matching a query using the MCP server.
Environment-based API authentication
Authenticates with Twitter using API_KEY, API_SECRET_KEY, ACCESS_TOKEN, and ACCESS_TOKEN_SECRET provided in the MCP server configuration.




