A Model Context Protocol (MCP) server for X (Twitter) integration that provides tools for reading your timeline and engaging with tweets. Designed for use with Claude desktop.
npm install npm run build
Add this to your MCP settings file (typically ~/Library/Application Support/Claude/claude_desktop_config.json on macOS).
"x": {
"command": "node",
"args": ["/your_path/x/build/index.js"],
"env": {
"API_KEY": "your_api_key",
"API_SECRET": "your_api_secret",
"ACCESS_TOKEN": "your_access_token",
"ACCESS_SECRET": "your_access_secret"
}
}
Note: Adjust the paths to match your actual repository location.
X (Twitter) provides a free tier for basic API access. You can access it at: https://developer.x.com/en/portal/products/free