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

Pu.sh: 400-Line Shell Script Coding-Agent Harness from HN
Pu.sh is a portable coding-agent harness in 400 lines of shell (sh, curl, awk), supporting Anthropic + OpenAI, 7 tools, REPL, checkpoint/resume, and pipe mode — with 90 no-API tests.

FlowBoard v5: The Project Workspace Your AI Agents Actually Run
FlowBoard v5 is a React-based project workspace for AI agents. It includes an event-sourced task store (SQLite), multi-agent support, idea-to-specs loop, and modular overview widgets.

Orloj: Declarative Orchestration Runtime for Multi-Agent AI Systems
Orloj v0.1.0 is an open-source orchestration runtime that lets you define AI agents, tools, policies, and workflows in YAML manifests with GitOps. It handles scheduling, execution, governance, and reliability for production multi-agent systems.

VTCode: A Rust TUI Coding Agent That Aggressively Trims Context with AST-Level Chunking
VTCode is an open-source Rust TUI coding agent that aggressively trims context using AST-level chunking via ripgrep and ast-grep. It supports custom OpenAI-compatible providers, sandboxing with macOS Seatbelt and Linux Landlock, and tree-sitter-bash validation on generated commands.