XAgent

Twitter MCP & X MCP — Real-Time AI Access to X (Twitter)

The #1 Twitter MCP server (also known as X MCP). Connect Cursor, Claude, or ChatGPT to X (Twitter) through MCP — search tweets, analyze profiles, and post in minutes with 51 AI-friendly tools and self-healing errors.

51 toolsSelf-healing errorsstdio + HTTP
Works with:Cursor — supports Twitter MCPClaude Desktop — supports Twitter MCPClaude Code — supports Twitter MCPCline — supports Twitter MCPWindsurf Editor — supports Twitter MCP

What is Twitter MCP / X MCP?

Twitter MCP (also called X MCP) is a Model Context Protocol server that gives AI agents direct access to X (Twitter). "X" is the current brand name for Twitter — both terms refer to the same platform and the same MCP server.

With XAgent's Twitter MCP server, AI tools like Cursor, Claude Desktop, Cline, Windsurf, and ChatGPT can:

  • Read — search tweets, read timelines, fetch profiles and followers
  • Write — post tweets, like, retweet, follow, send DMs
  • Analyze — monitor mentions, track competitors, discover trends

Unlike open-source Twitter MCP alternatives that require you to clone a repo, set up API credentials, and manage dependencies, XAgent ships a single x-mcp binary with 51 built-in tools and self-healing error handling. Download, add your API key, and connect — setup takes under 5 minutes.

Download Twitter MCP (x-mcp) →

AI can reason well, but social execution is still broken.

Traditional API errors

Hard for agents to recover from.

Open-source tool wrappers

Brittle and fragile.

Config friction

Blocks onboarding and conversion.

XAgent solves this with MCP-native tools, readable failure messages, and fast configuration workflows — making it the most reliable Twitter MCP / X MCP server available.

What teams build with XAgent's Twitter MCP

Autonomous Community Manager

Monitor mentions, classify sentiment, and draft replies so your team handles only final decisions.

Competitor Intelligence

Track competitor campaigns, detect customer complaints, and surface outreach opportunities.

Trend to Content Pipeline

Find trend spikes, extract key angles, and draft on-brand posts in one flow.

Lead Discovery

Search high-intent phrases and draft personalized outreach messages for validation calls.

Get Started in 3 Steps

1. Download x-mcp

One binary, all platforms.

2. Add API Key

Create a free key at getxagent.com.

3. Connect

Open Cursor, Claude, or any MCP client.

See detailed setup guide

Twitter MCP vs Open-Source

FeatureXAgentOpen-Source
Tools51 built-in toolsTypically 5–10
SetupDownload binary, add API keyClone repo, set credentials, manage deps
Error handlingSelf-healing, readable messagesOften manual recovery
Transportstdio + HTTPUsually stdio only
PlatformsWindows, macOS, Linux (x64 + ARM64)Varies
SupportOfficial supportCommunity only

Pricing

Pay-as-you-go. No monthly fee. 1 point ≈ 1 tweet read.

Works with 14+ MCP Clients

Claude Code — supports Twitter MCP

Claude Code

CLI. Run: brew install --cask claude-code or npm install -g @anthropic-ai/claude-code

Windsurf Editor — supports Twitter MCP

Windsurf Editor

On the page, choose Mac Apple Silicon or Intel to download.

Show all 14 clients
GitHub Copilot (VS Code) — supports Twitter MCP

GitHub Copilot (VS Code)

VS Code extension. Requires GitHub subscription.

NextChat — supports Twitter MCP

NextChat

Download Mac .dmg from GitHub Releases, or nextchat.club/download

FAQ

Does this work with Cursor and Claude?

Yes. XAgent uses MCP over HTTP and works with Cursor, Claude, and other MCP clients.

Do write actions need login?

Yes. Posting, likes, follows, and DMs need a login cookie, while read actions only need API key access.

Can I self-host first and switch to cloud later?

Yes. The current flow is self-host first.

What is the difference between Twitter MCP and X MCP?

They are the same thing. X is the current brand name for Twitter, so "Twitter MCP" and "X MCP" refer to the same MCP server. XAgent supports both names and provides the same 51 tools regardless of which term you search for.

How is XAgent different from open-source Twitter MCP servers?

XAgent provides 51 built-in tools (vs 5–10 in most open-source options), self-healing error handling, pre-built binaries for all platforms (no npm/pip/clone required), and official support. Open-source alternatives typically require manual Twitter API credential setup, offer fewer tools, and lack production-grade error recovery.

Which AI clients support Twitter MCP?

XAgent's Twitter MCP (x-mcp) works with Cursor, Claude Desktop, Claude Code, Cline, Windsurf, Zed, GitHub Copilot, Roo Code, Continue, NextChat, LM Studio, Amazon Q, LibreChat, and JetBrains AI Assistant — any client that supports the MCP protocol.

Is XAgent's Twitter MCP free?

XAgent uses pay-as-you-go pricing with no monthly fee. Packs start at $0.99 for 2,000 points (~2,000 tweet reads). The x-mcp binary itself is free to download.

Is my Twitter cookie safe?

In stdio mode, your cookie is used only locally by the x-mcp process and is not sent to any server. In HTTP mode, the cookie is sent over an encrypted connection to mcp.getxagent.com only to run the actions you request; it is not stored or used for any other purpose. You can revoke the session in Twitter settings at any time.

Does using XAgent violate Twitter's terms of service?

XAgent simulates user actions in the browser. As with any automation tool, users should assess risk and comply with X/Twitter's terms of use. We recommend using at a reasonable rate and avoiding bulk operations.

Can I try it for free first?

Yes. New accounts get free points to start. The x-mcp binary is free to download; you only pay for API usage (e.g. tweet reads) after signing up at getxagent.com.

Ready to start? Get your free API Key →

X-MCP — Twitter MCP Server

Our standalone Twitter MCP / X MCP server (stdio). Run it locally and add it to Cursor, Claude Desktop, or any MCP client. Windows, Linux, macOS — x64 and ARM64.

Platform & architecture

Platform:
Arch:

Configure Twitter MCP / X MCP

Two connection options: stdio (local x-mcp) or HTTP (remote mcp.getxagent.com). Download a client below and follow the steps above to add MCP.

Option 1: stdio (local)

Run x-mcp locally; the client talks to the process over stdin/stdout.

  1. Download and install x-mcp from the homepage “X-MCP” block or “All builds” and pick the build that matches your system.
  2. Run x-mcp from a terminal (or use x-mcp install to add it to your PATH).
  3. In Cursor, Claude Desktop, or another MCP client, add an MCP server: type “Command” or “Stdio”, command = path to x-mcp, and pass your API key via args or environment.

x-mcp install copies the binary to: Linux/macOS `~/.local/bin`, Windows `%LOCALAPPDATA%\bin`. If that directory is on your PATH, use `x-mcp` (or `x-mcp.exe` on Windows) as the command in the client; otherwise use the full path to the executable.

Create an API key in the getxagent.com dashboard after logging in.

X-MCP — Twitter MCP / X MCP Builds

Direct download links for each platform and architecture. Pick the one that matches your system.

PlatformArchFileDownload
Windowsx64 (Intel / AMD)x-mcp-windows-x86_64.exeDownload Twitter MCP
WindowsARM64x-mcp-windows-aarch64.exeDownload Twitter MCP
Linuxx64 (Intel / AMD)x-mcp-linux-x86_64Download Twitter MCP
LinuxARM64x-mcp-linux-aarch64Download Twitter MCP
Macx64 (Intel / AMD)x-mcp-macos-x86_64Download Twitter MCP
MacARM64x-mcp-macos-aarch64Download Twitter MCP

After downloading, run the binary from a terminal. Use x-mcp install to add to PATH, then configure your MCP client (Cursor, Claude Desktop, etc.) with the command path and your API key from getxagent.com.

Learn More About Twitter MCP

Twitter MCP & X MCP — AI Agents for X (Twitter) | XAgent