MCP directory
X-

X-Use - X (Twitter) MCP Server

by github.com/ihuzaifashoukat · v3.3.0 · updated Nov 16, 2026

Research X (Twitter), read inboxes and review publishing through MCP. No X API key required.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx x-use-mcp==3.3.0

Environment variables

  • X_USE_HOME

    Absolute private directory for configuration, cookies, action journals and account state. Keep this stable across MCP client working directories.

  • OPENAI_API_KEYsecret

    Optional. Only needed for server-side text generation ('auto' replies, composite draft tools, background automation). Interactive MCP use is keyless because the calling agent writes the text.

  • OPENAI_BASE_URL

    Optional. OpenAI-compatible endpoint, for example https://openrouter.ai/api/v1 or http://localhost:11434/v1 for Ollama. Defaults to api.openai.com.

More MCP servers