X API MCP (xmcp)

Official

A FastMCP server in X's xdevplatform GitHub organization that exposes the X API OpenAPI spec as tools. It runs on your machine. Streaming and webhook endpoints are left out.

Docs reviewed Oct 26, 2026Is this your server?

At a glance

Publisher
Official
Connects to
X (Twitter)
Runs
Local or self-hosted
Sign-in
OAuth or API credentials
Access
Read and write
Availability
Available
Setup docs Repository

What it can do

  • Create and delete posts, and upload media
  • Search recent posts and look up users by username
  • Send direct messages and manage lists and bookmarks
  • Load only the tools you name in X_API_TOOL_ALLOWLIST

You need an X Developer Platform app with consumer keys and a bearer token, and the server opens an OAuth1 consent page each time it starts. The last code change was in April 2026.

Other X (Twitter) options

We compare 7 X (Twitter) MCP servers side by side, with setup steps.

Compare X (Twitter) MCP servers