A comprehensive Model Context Protocol server implementation for X (Twitter) API integration with professional workflow automation, enhanced error handling, and real-time documentation.
mcp-twitter-server is an MCP project maintained in the crazyrabbitltc/mcp-twitter-server repository. The maintainer describes its purpose as “A comprehensive Model Context Protocol server implementation for X (Twitter) API integration with professional workflow automation, enhanced error handling, and real-time documentation”. Read the project documentation for the complete scope.
The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"x-twitter": {
"command": "node",
"args": [
"/path/to/twitter-server/dist/index.js"
],
"env": {
"X_API_KEY": "YOUR_X_API_KEY",
"X_API_SECRET": "YOUR_X_API_SECRET",
"X_ACCESS_TOKEN": "YOUR_X_ACCESS_TOKEN",
"X_ACCESS_TOKEN_SECRET": "YOUR_X_ACCESS_TOKEN_SECRET"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| X_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
| X_API_SECRET | Declared in the maintainer’s client configuration. | Check documentation |
| X_ACCESS_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
| X_ACCESS_TOKEN_SECRET | Declared in the maintainer’s client configuration. | Check documentation |
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Put 6,000+ pre-built scrapers at your assistant's fingertips through one MCP endpoint.
Fetches and analyzes content from Reddit, providing access to hot threads and post details.
Enables interaction with X (formerly Twitter) for retrieving tweets, creating new posts, and replying to existing ones.
Automates LinkedIn interactions and extracts data through browser automation, respecting terms of service and rate limits.
Automates SEO tasks and provides AI-powered optimization by integrating with the Google Ads Keyword Planner API.