a2a mcp
☰
Back to MCP Servers
XMCP logo
mcp-server1,182

XMCP

XMCP is the official MCP server from X (formerly Twitter) that exposes over 200 X API endpoints as discoverable tools. It enables AI agents and assistants (Claude, Cursor, Gemini, etc.) to read tweets, search content, post updates, manage profiles, and more using the Model Context Protocol.

Overview

XMCP (repository: xdevplatform/xmcp) is the official Model Context Protocol (MCP) server released by the X Developer Platform. It turns the extensive X API into a set of clean, callable MCP tools, allowing AI agents to interact directly with X (formerly Twitter) in a standardized, secure way.

Built on FastMCP, XMCP automatically converts the X API OpenAPI specification into MCP tools. It supports reading timelines, searching posts, posting tweets, user lookups, engagement actions, and many more operations while excluding streaming and webhook endpoints for simplicity and security.

Key Features

  • 200+ X API Endpoints: Comprehensive coverage including tweet creation, search, user profiles, timelines, likes, retweets, bookmarks, and more.
  • FastMCP-Powered: Leverages the popular FastMCP framework for excellent developer experience and automatic schema generation.
  • Official & Reliable: Maintained by X's own developer team with proper authentication handling.
  • Local Deployment: Runs as a local MCP server for privacy and low latency.
  • AI-Native Integration: Works seamlessly with Claude Desktop, Cursor, Gemini CLI, and other MCP clients.
  • Pay-as-you-go API Compatibility: Aligns with X's updated developer pricing model.

How It Works

  1. Create an X Developer Platform app to obtain API credentials (Bearer token or OAuth).
  2. Install and run the XMCP server locally (Python 3.9+ required).
  3. Configure your MCP client (Claude, Cursor, etc.) to connect to the local server.
  4. AI agents can now call natural language tools such as "post a new tweet with this content" or "search for recent posts about MCP protocol".

The server handles authentication, rate limits, and response formatting transparently.

Use Cases

  • AI Social Media Management: Let agents draft, schedule, and post content on X.
  • Real-time Research: Search and analyze trends, user conversations, or competitor activity.
  • Automated Engagement: Monitor mentions, reply to tweets, or manage community interactions.
  • Content Curation: Build timelines, fetch user posts, or extract media from X.
  • Multi-Agent Workflows: Combine with other MCP servers (research, image generation, etc.) for full social automation.

Getting Started

Prerequisites

  • Python 3.9+
  • X Developer Platform app with API keys

Installation & Run

git clone https://github.com/xdevplatform/xmcp.git
cd xmcp
pip install -r requirements.txt
# Set your X API credentials
python -m xmcp

Add the server to your MCP client configuration (typically http://127.0.0.1:port/mcp).

Full setup instructions, including credential configuration, are in the official repository README.

Additional resources: X Agent Resources

Benefits

As the official X MCP server, XMCP offers the most reliable and complete integration with the X platform. It eliminates the need for custom API wrappers and provides AI agents with native, production-grade access to X's capabilities through the standardized Model Context Protocol.

It represents X's commitment to the MCP ecosystem, making AI-powered social media automation accessible, secure, and developer-friendly.

Tags

mcpmcp-serverxtwitterx-apifastmcpai-agentsocial-mediapython

Related Entries

Keep exploring similar tools and resources in this category.

Browse MCP Servers
X Docs MCP logo

X Docs MCP

MCP Servers

X Docs MCP lets AI assistants search and read X API documentation through the hosted documentation server.

PaidSync.ai logo

PaidSync.ai

MCP Servers

PaidSync.ai is a hosted MCP server for paid advertising that exposes 610+ tools across 14 advertising, analytics, tagging, and commerce platforms. It supports read/write workflows from AI clients including ChatGPT, Claude, Gemini, Cursor, Claude Code, and Codex, with a free plan.

Hyper3D MCP logo

Hyper3D MCP

MCP Servers

Hyper3D MCP is Hyper3D's hosted Rodin MCP server for creating 3D assets from natural-language instructions or supported references, checking asynchronous generation progress, and retrieving model download links inside AI coding clients. Official setup is documented for Codex, Claude Code, and Kimi Code CLI.

Semrush MCP Server logo

Semrush MCP Server

MCP Servers

Semrush MCP connects AI assistants to Semrush APIs for keyword, backlink, website traffic and market research.

Browserbase MCP Server logo

Browserbase MCP Server

MCP Servers

Browserbase MCP gives AI agents browser automation tools powered by Stagehand and Browserbase browser sessions.

SerpApi MCP Server logo

SerpApi MCP Server

MCP Servers

SerpApi MCP exposes search engine results to AI assistants through SerpApi, supporting live research and structured search data retrieval.

a2a mcp

Search the directory

Find entries, skills, articles, and categories. Use arrow keys to select and Enter to open.