1
X (Twitter) has launched an official MCP server at api.x.com/mcp, giving AI agents like Claude and Grok direct programmatic access to X without web scraping or custom API integrations
2
Setup requires installing xcurl (X's first-party CLI tool), creating an app in the X Developer Console with read/write OAuth 2.0 permissions, and adding the MCP config to your AI agent (e.g. Grok Build or Claude Code)
3
The XMCP exposes 200+ tools including post search, full archive search, user lookup, timeline reading, bookmarks, trending news by location, and article drafting/publishing
4
Real-world setup is significantly harder than edited tutorials suggest — common blockers include port 8080 conflicts, apps needing to be inside a project, read-only vs read/write permission mismatches, and depleted API credits
5
Once connected, the XMCP can autonomously research your X profile, find strategic engagement targets (similar accounts), generate images with Grok, and post content directly to X