Back to MCP Servers
XMCP logo
mcp-server1,172

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
LottieFiles MCP Server logo

LottieFiles MCP Server

MCP Servers

An open-source Model Context Protocol (MCP) server that enables AI agents to search, retrieve details, and access popular Lottie animations directly from LottieFiles, seamlessly integrating motion graphics into AI workflows.

X MCP logo

X MCP

MCP Servers

X MCP is the official hosted Model Context Protocol server for calling X API endpoints from MCP-compatible tools. It connects through the xurl bridge so agents can search posts, look up users, manage bookmarks, fetch trends and news, and work with Articles using the user's X account permissions.

Agent Reach logo

Agent Reach

MCP Servers

Agent Reach is an open-source CLI and Agent Skill that installs, routes, and health-checks upstream tools for web, social, GitHub, video transcript, RSS, and search access. It is not documented as a standalone MCP server; some channels use MCP-backed upstream tools such as mcporter/Exa, xiaohongshu-mcp, and linkedin-scraper-mcp.

Kakao PlayMCP logo

Kakao PlayMCP

MCP Servers

Kakao's official open platform for the Model Context Protocol (MCP), enabling developers to register, discover, test, and use MCP servers that securely connect AI models to external tools and data sources for agentic AI experiences.

TinyFish logo

TinyFish

MCP Servers

TinyFish exposes web automation, web search, content extraction, and remote browser-session tools to MCP-compatible AI assistants. The hosted MCP server uses OAuth 2.1, while an optional local @tiny-fish/mcp proxy supports API-key authentication for local-only, CI, and headless setups.

openaiDeveloperDocs logo

openaiDeveloperDocs

MCP Servers

OpenAI Developer Docs MCP is an OpenAI-hosted, read-only server that lets MCP clients search and fetch documentation from developers.openai.com, platform.openai.com, and learn.chatgpt.com. It uses a public streamable HTTP endpoint and does not call the OpenAI API on the user's behalf.