X-MCP 2.0: MCP Server for X/Twitter API Access from Claude

X-MCP 2.0 is an MCP server that enables Claude (both Desktop and Claude Code) to interact with the X/Twitter API v2 using OAuth 2.0 PKCE authentication. It replaces the older OAuth 1.0a approach that required managing multiple API keys.
Key Features
The server provides 10 tools for interacting with X/Twitter:
- Post tweets
- Search X/Twitter
- Get timeline
- Like tweets
- Retweet
- Reply to tweets
- View user profiles
- Additional functionality (as mentioned in "and more")
Setup Process
Setup requires three steps:
- Create a Twitter app at developer.x.com
- Run
npm run authto complete the OAuth flow (opens browser) - Add the MCP server configuration to Claude
The GitHub repository is available at: https://github.com/JFan5/X-MCP-2.0
Technical Details
The server uses OAuth 2.0 with PKCE authentication, which eliminates the need to manage four separate API keys as required by the old OAuth 1.0a approach. It includes automatic token refresh, so users don't need to manually re-authenticate every 2 hours.
The developer built this tool because existing twitter-mcp solutions only supported posting and searching with OAuth 1.0a. X-MCP 2.0 provides full read/write access to the X API from Claude, including timeline access, likes, retweets, replies, and user lookups with modern authentication.
The developer has already used the tool to tweet about itself from Claude Code, demonstrating its functionality.
📖 Read the full source: r/ClaudeAI
👀 See Also

Freestyle Launches Sandboxes for AI Coding Agents with Live Forking
Freestyle provides cloud sandboxes for AI coding agents that start in ~500ms and feature live forking with <400ms pause, allowing full VM clones including memory state. They run full Debian with hardware virtualization on bare metal infrastructure.

Skales: A Desktop AI Agent That Connects to Ollama Without Docker
Skales is a desktop AI agent that connects to Ollama locally, requiring no Docker setup. It offers features like email management via Gmail IMAP, browser automation, and voice chat using Whisper through Groq.

Transloadit MCP Server Connects AI Agents to Media Processing Pipeline
Transloadit built an MCP server that connects Claude and other AI agents to their media processing pipeline with 86 Robots for video, audio, image, and document processing. Setup in Claude Code requires one line: npx -y @transloadit/mcp-server stdio with TRANSLOADIT_KEY and TRANSLOADIT_SECRET environment variables.

ToolLoop: Open-Source Framework for Claude-Style Tools with Any LLM
ToolLoop is an open-source Python framework with 11 tools for file operations, code search, shell access, and sub-agents that works with any LLM through LiteLLM. The 2,700-line framework allows switching models mid-conversation while maintaining shared context.