XAgent

Twitter MCP & X MCP — AI 实时访问 X (Twitter)

排名第一的 Twitter MCP 服务器(又称 X MCP)。通过 MCP 将 Cursor、Claude 或 ChatGPT 连接到 X (Twitter)——使用 51 个 AI 友好工具和自愈错误,几分钟内完成搜索推文、分析资料和发帖。

51 工具自愈错误stdio + HTTP
支持:Cursor — 支持 Twitter MCPClaude Desktop — 支持 Twitter MCPClaude Code — 支持 Twitter MCPCline — 支持 Twitter MCPWindsurf Editor — 支持 Twitter MCP

什么是 Twitter MCP / X MCP?

Twitter MCP(又称 X MCP)是一种 Model Context Protocol 服务器,让 AI 智能体直接访问 X (Twitter)。"X" 是 Twitter 的当前品牌名——两个术语指同一平台和同一 MCP 服务器。

通过 XAgent 的 Twitter MCP 服务器,Cursor、Claude Desktop、Cline、Windsurf、ChatGPT 等 AI 工具可以:

  • 读 — 搜索推文、阅读时间线、获取资料和关注者
  • 写 — 发推、点赞、转推、关注、发私信
  • 分析 — 监控提及、追踪竞品、发现趋势

与需要克隆仓库、配置 API 凭证、管理依赖的开源 Twitter MCP 替代方案不同,XAgent 提供单一 x-mcp 二进制,内置 51 个工具和自愈错误处理。下载、添加 API 密钥、连接——配置不到 5 分钟。

下载 Twitter MCP (x-mcp) →

AI 推理能力强,但社交执行仍不完善。

传统 API 错误

难以让智能体恢复。

开源工具封装

脆弱易碎。

配置摩擦

阻碍上架和转化。

XAgent 通过 MCP 原生工具、可读的失败消息和快速配置流程解决这些问题——使其成为最可靠的 Twitter MCP / X MCP 服务器。

团队用 XAgent 的 Twitter MCP 构建什么

自主社区管理

监控提及、分类情绪、起草回复,让团队只做最终决策。

竞品情报

追踪竞品活动、发现客户投诉、挖掘外联机会。

趋势到内容管道

发现趋势峰值、提取关键角度、一气呵成起草品牌化帖子。

线索发现

搜索高意向短语,起草个性化外联信息用于验证通话。

三步即可开始

1. 下载 x-mcp

一个二进制,全平台。

2. 添加 API Key

在 getxagent.com 创建免费密钥。

3. 连接

打开 Cursor、Claude 或任意 MCP 客户端。

查看详细配置指南

Twitter MCP 与开源对比

维度XAgent开源
工具51 个内置工具通常 5–10 个
安装下载二进制、添加 API Key克隆仓库、配置凭证、管理依赖
错误处理自愈、可读消息多需手动恢复
传输stdio + HTTP通常仅 stdio
平台Windows、macOS、Linux(x64 + ARM64)各异
支持官方支持仅社区

定价

按量付费,无月费。1 点约等于 1 条推文(读)。

支持 14+ 款 MCP 客户端

Claude Code — supports Twitter MCP

Claude Code

CLI,可运行: brew install --cask claude-code 或 npm install -g @anthropic-ai/claude-code

Windsurf Editor — supports Twitter MCP

Windsurf Editor

在页面选择 Mac Apple Silicon 或 Intel 下载

展开全部 14 个客户端
NextChat — supports Twitter MCP

NextChat

GitHub Releases 下载 Mac .dmg,或 nextchat.club/download

JetBrains AI Assistant — supports Twitter MCP

JetBrains AI Assistant

内置于 JetBrains IDE,在 IDE 内启用

常见问题

支持 Cursor 和 Claude 吗?

支持。XAgent 使用 HTTP MCP,可与 Cursor、Claude 及其他 MCP 客户端配合。

写操作需要登录吗?

需要。发帖、点赞、关注、私信需要登录 cookie,只读操作只需 API 密钥。

可以先自托管再切换云端吗?

可以。当前流程为先自托管。

Twitter MCP 和 X MCP 有什么区别?

它们是同一个东西。X 是 Twitter 的当前品牌名,所以 "Twitter MCP" 和 "X MCP" 指的是同一个 MCP 服务器。XAgent 支持两个名称,无论您搜索哪个术语,都提供相同的 51 个工具。

XAgent 和开源 Twitter MCP 服务器有何不同?

XAgent 提供 51 个内置工具(大多数开源选项只有 5–10 个)、自愈错误处理、全平台预构建二进制(无需 npm/pip/clone)以及官方支持。开源替代方案通常需要手动配置 Twitter API 凭证、工具更少,且缺乏生产级错误恢复。

哪些 AI 客户端支持 Twitter MCP?

XAgent 的 Twitter MCP (x-mcp) 可与 Cursor、Claude Desktop、Claude Code、Cline、Windsurf、Zed、GitHub Copilot、Roo Code、Continue、NextChat、LM Studio、Amazon Q、LibreChat 和 JetBrains AI Assistant 配合使用——任何支持 MCP 协议的客户端均可。

XAgent 的 Twitter MCP 免费吗?

XAgent 采用按量付费,无月费。套餐起价 0.99 美元可获 2,000 点(约 2,000 条推文阅读)。x-mcp 二进制本身可免费下载。

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.

准备开始?获取免费 API Key →

X-MCP — Twitter MCP 服务器

我们的独立 Twitter MCP / X MCP 服务(stdio),在本地运行后添加到 Cursor、Claude Desktop 等任意 MCP 客户端即可。支持 Windows、Linux、macOS,x64 与 ARM64。

选择平台与架构

平台:
架构:

配置 Twitter MCP / X MCP

支持两种连接方式:stdio(本地 x-mcp)或 HTTP(远程 mcp.getxagent.com)。在下方选择客户端下载后,按上方步骤添加 MCP。

方式一:stdio(本地)

在本地运行 x-mcp,客户端通过标准输入输出与进程通信。

  1. 下载并安装 x-mcp:从首页「X-MCP」区块或「各平台下载」获取与您系统匹配的版本。
  2. 在终端运行 x-mcp(或使用 x-mcp install 安装到 PATH)。
  3. 在 Cursor、Claude Desktop 等 MCP 客户端中新增 MCP 服务器:类型选「Command」或「Stdio」,命令填 x-mcp 的路径,参数中传入 API Key(或通过环境变量配置)。

x-mcp install 安装路径:Linux/macOS 为 `~/.local/bin`,Windows 为 `%LOCALAPPDATA%\bin`。若该目录已在系统 PATH 中,客户端「命令」可直接填 x-mcp(Windows 下为 x-mcp.exe);否则填上述路径下的完整可执行文件路径。

API Key 需在 getxagent.com 登录后在控制台创建。

X-MCP — Twitter MCP / X MCP 下载

按平台与架构的直接下载链接,请选择与您系统匹配的版本。

平台架构文件名下载
Windowsx64 (Intel / AMD)x-mcp-windows-x86_64.exe下载 Twitter MCP
WindowsARM64x-mcp-windows-aarch64.exe下载 Twitter MCP
Linuxx64 (Intel / AMD)x-mcp-linux-x86_64下载 Twitter MCP
LinuxARM64x-mcp-linux-aarch64下载 Twitter MCP
Macx64 (Intel / AMD)x-mcp-macos-x86_64下载 Twitter MCP
MacARM64x-mcp-macos-aarch64下载 Twitter MCP

下载后在终端运行。可使用 x-mcp install 安装到 PATH,然后在 Cursor、Claude Desktop 等 MCP 客户端中配置命令路径与 getxagent.com 的 API Key。

了解更多 Twitter MCP

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