xmcp: FastMCP Server for the X API

Repositoryxdevplatform/xmcpTool

xmcp is a Python-based Model Context Protocol (MCP) server that exposes the X API OpenAPI specification as callable tools using FastMCP, allowing AI agents to interact with X endpoints.

Key points

  1. Converts X API OpenAPI specs into MCP tools via FastMCP, excluding streaming and webhook endpoints.
  2. Requires Python 3.9+ and credentials from an X Developer Platform app (OAuth keys and Bearer token).
  3. Supports selective tool loading via the X_API_TOOL_ALLOWLIST environment variable.
  4. Runs an OAuth1 browser authorization flow at startup, storing tokens in memory for the process lifetime.
  5. Includes an optional Grok test client powered by the xAI API (defaulting to grok-4-1-fast).

Why it matters

The repository bridges the Model Context Protocol ecosystem with the X platform, removing the need to manually build custom tool schemas and wrappers for LLM-driven X integrations.

Analysis

The project solves the problem of exposing X platform capabilities to standardized MCP clients and AI agents without custom glue code. It relies on Python 3.9+, FastMCP, and OpenAPI schemas. Its primary audience includes developers building AI agents, social media automation workflows, and LLM-powered tools. Regarding maturity, it provides practical core features such as allowlist filtering and an included test client, but keeps credentials strictly in memory during execution, omits streaming/webhooks, and currently lacks an explicit license.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:enescinr

    X (Twitter) MCP Server for AI Assistants

    An open-source Model Context Protocol (MCP) server created by enescinr that connects AI clients like Claude Desktop, Cursor, or VS Code to the X (Twitter) API v2.

    AI & LLMs· Tool

  • Repository:xai-org/xai-sdk-python

    xAI Python SDK: Official gRPC Client for xAI Services

    The official xAI Python SDK provides a gRPC-based library to integrate with xAI's APIs. Built for Python 3.10+, it provides both synchronous and asynchronous clients for text, image, and video generation.

    566starsPython

    AI & LLMs· Tool

  • Repository:mobile-next/mobile-mcp

    Mobile Next: MCP Server for Cross-Platform Mobile Automation

    Mobile Next is an open-source Model Context Protocol (MCP) server that connects AI agents and LLMs to iOS and Android environments. It abstracts platform-specific quirks across simulators, emulators, and real physical devices.

    6.3kstarsTypeScript

    AI & LLMs· Tool

  • Repository:FeiZhuLulu/Agent-Bridge

    Agent Bridge: Orchestrating Local Coding Agents via MCP

    Agent Bridge is an open-source Python tool connecting local coding agents using the Model Context Protocol (MCP). It allows users to interact with a single coordinator agent that delegates tasks to multiple specialized CLI worker agents.

    31starsPython

    AI & LLMs· Tool

  • Repository:modelcontextprotocol/modelcontextprotocol

    Model Context Protocol (MCP): Official Specification and Documentation

    The modelcontextprotocol/modelcontextprotocol GitHub repository provides the formal specification, protocol schema, and official documentation for the Model Context Protocol (MCP).

    9.1kstarsTypeScript

    AI & LLMs· Resource

  • Repository:xai-org/grok-build

    Grok Build: Terminal-Based AI Coding Agent by SpaceXAI

    Grok Build is a Rust-based AI coding agent featuring a full-screen, mouse-interactive TUI. It analyzes codebases, modifies files, runs shell commands, and supports interactive use, headless CI scripting, and editor embedding via the Agent Client Protocol.

    26.5kstarsRust

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.