x-mcp-server
20
The X MCP Server is a Model Context Protocol (MCP) server that facilitates integration with X (Twitter) for use with the Claude desktop application. It allows users to manage and interact with their Twitter timeline, publish tweets, and reply, all while managing rate limits effectively.
X MCP Server
A Model Context Protocol (MCP) server for X (Twitter) integration, designed to interact with Claude desktop. Key features include:
- Retrieve tweets from your home timeline
- Create and reply to tweets
- Built-in rate limit handling for X's free API tier
Features
- Easy integration with the Claude desktop app
- TypeScript implementation
Prerequisites
- Node.js (v16 or higher)
- X (Twitter) Developer Account (Free)
Installation
- Clone the repository
- Install dependencies
- Build the server
Configuration
- Set up X API credentials in the Twitter Developer Portal
Available Tools
- get_home_timeline: Fetches recent tweets
- create_tweet: Publishes a new tweet
- reply_to_tweet: Replies to a tweet
Development
- Build, develop, and start the server using npm commands
Rate Limiting
- Built-in handling for X's API limits
License
- MIT License
Contributing
- Fork, create feature branch, commit changes, push branch, and open a pull request