xmcp is a local MCP server that exposes the X API OpenAPI spec as tools using FastMCP, excluding streaming and webhook endpoints.
Setup requires Python 3.9+, X Developer Platform app tokens in a .env file, callback URL registration, and running server.py on default http://127.0.0.1:8000/mcp. It supports tool whitelisting via X_API_TOOL_ALLOWLIST from a list of over 100 calls like createPosts and getUsersByUsername, with optional OAuth flows and Grok test client.