IX

ihuzaifashoukat/x-use

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

186 stars 34 forks 质量 87 趋势 21MIT

X(Twitter)的MCP服务器。研究个人资料,阅读收件箱,并查看帖子、回复和与AI客户端的联结。Python,多账户,无需X API密钥。

概览

x-use 是一款开源的 Python 模型上下文协议(MCP)服务器和 X(Twitter)的 CLI。连接 Claude、Codex、Cursor 或其他本地 MCP 客户端,以进行研究分析、收件箱管理和审核发布。它使用经过认证的浏览器会话,支持多个账户,并且本地运行,无需官方 X API 凭证。 快速入门 ·文档 ·工具参考 ·讨论 ·贡献 - 搜索X,检查个人资料,阅读帖子和限定主题上下文,准备相关回复。- 检查可见对话、未读消息、请求和通知;准备单独消息和支持的对话操作以供审核。- 分阶段或多帖主题,检查原文,并在草稿准备好时批准。- 维护潜在客户、退出和活动草稿,并限制每个账户和投放跟踪。 你的AI客户端提供推理和文本。

概述(AI 翻译)

将你的AI客户端连接到X的研究、收件箱阅读和评论发表。

x-use 是一款开源的 Python 模型上下文协议(MCP)服务器和 X(Twitter)的 CLI。连接 Claude、Codex、Cursor 或其他本地 MCP 客户端,以进行研究分析、收件箱管理和审核发布。它使用经过认证的浏览器会话,支持多个账户,并且本地运行,无需官方 X API 凭证。

快速入门 ·文档 ·工具参考 ·讨论 ·贡献

用X-use能做什么?

  • 回复前先做调查: 搜索X,查看个人资料,阅读帖子和限定帖子上下文,准备相关回复。
  • **整理收件箱:**检查可见对话、未读消息、请求和通知;准备单独消息和支持的对话操作以供审核。
  • **发布时要有上下文:**阶段帖子或多帖帖子,检查原文,并在草稿准备好时批准。
  • 组织本地推广: 维护潜在客户、退出和活动草稿,并限制每个账户的数量限制和投放跟踪。

你的AI客户端提供推理和文本。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

x-use — MCP server for X (Twitter)

Connect your AI client to X research, inbox reads, and reviewed publishing.

x-use is an open-source Python Model Context Protocol (MCP) server and CLI for X (Twitter). Connect Claude, Codex, Cursor or another local MCP client to profile research, inbox management and reviewed publishing. It uses your authenticated browser session, supports multiple accounts and runs locally without official X API credentials.

Quickstart · Documentation · Tool reference · Discussions · Contribute

What can you do with x-use?

  • Research before replying: search X, inspect a profile, read posts and bounded thread context, and prepare a relevant reply.
  • Work through your inbox: inspect visible conversations, unread messages, requests and notifications; prepare individual messages and supported conversation actions for review.
  • Publish with context: stage posts or multi-post threads, inspect the exact text, and approve the draft when it is ready.
  • Organize outreach locally: maintain leads, opt-outs and campaign drafts with per-account limits and delivery tracking.

Your AI client supplies the reasoning and text. An optional OpenAI-compatible LLM configuration supports server-side generation; ordinary explicit-text MCP workflows do not need that extra key.

Quickstart

Requires Python 3.11.5+ and Chromium. The CI matrix covers Python 3.11–3.14 on Windows, macOS and Linux.

Version 3.3.0 provides 82 tools for research, inbox management, reviewed publishing and account operations. Upgrade the package and restart your MCP client to load the current tools.

1. Install the server and browser

python -m pip install --upgrade x-use-mcp
python -m patchright install chromium
在 GitHub 查看完整 README

安装

npx skills add ihuzaifashoukat/x-use
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "x-use": { "command": "/absolute/path/to/x-use", "args": ["mcp"], "env": { "X_USE_HOME": "/absolute/path/to/x-use-data" } } } }