← Registry
MCP Official

xmcp

A local MCP server that turns the X API's OpenAPI spec into callable tools (streaming and webhook routes excluded), served over HTTP at /mcp.

Install

pip install -r requirements.txt && python server.py
$

A local MCP server that exposes the X API's OpenAPI spec as callable tools using FastMCP, excluding streaming and webhook endpoints. It runs in Python 3.9+, authenticates with your X Developer app via OAuth 1.0a or a bearer token, and serves over HTTP (default http://127.0.0.1:8000/mcp). Use it to let an agent call X API operations directly, with an optional Grok test client and a tool allowlist for narrowing what's exposed.