x-use

Installs, registers, and configures the x-use MCP server for browser-based X automation.

165|29|Updated Aug 2, 2024
One-click install
npx skills add https://github.com/ihuzaifashoukat/x-use --skill x-use-ihuzaifashoukat
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: x-use
Source: https://github.com/ihuzaifashoukat/x-use
Command: npx skills add https://github.com/ihuzaifashoukat/x-use --skill x-use-ihuzaifashoukat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up browser-based X (Twitter) automation involves many error-prone steps: installing the package, registering an MCP server with your AI client, importing login cookies, and configuring accounts. This Skill walks an agent through the entire process from a bare machine to a working, verified x-use account without requiring an X API key. ## Core Features & Use Cases - Guided installation: Checks prerequisites (Python 3.10+, Chrome), installs x-use-mcp via pip, and verifies the environment with x-use doctor. - MCP client registration: Provides exact configuration snippets for Claude Desktop, Claude Code, Codex, Cursor, and Windsurf, with clear instructions on the required client restart. - Secure account onboarding: Adds X accounts using cookie file paths (never pasted credentials), configures keywords, competitor profiles, self-handles, and persona, then proves the setup with a staged draft. - Use Case: A user clones the x-use repository and asks their AI agent to set it up. The agent installs the package, registers the MCP server, waits for the client restart, imports the user's cookie file, configures their niche keywords and persona, and stages a first draft for approval. ## Quick Start Ask your agent to install and configure x-use from this repository, register it as an MCP server in your client, and set up your X account using an exported cookie file.

Frequently Asked Questions about x-use

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up x-use for X (Twitter) automation?▼

Install with pip install x-use-mcp, run x-use doctor to verify Chrome and drivers, register the server in your MCP client with command x-use and args ["mcp"], restart the client, then call add_account with a cookie file path exported from a logged-in browser session.

Does x-use require an X API key?▼

No. x-use drives a real Chrome session authenticated with cookies you export from your own browser, so it never calls the paid X API. An LLM key is also optional for interactive MCP use, since your AI client writes the text.

Which MCP clients work with x-use?▼

Any client that runs stdio MCP servers works, including Claude Desktop, Claude Code, Cursor, Windsurf, and Codex. The configuration is the same everywhere: command x-use with args ["mcp"], followed by a client restart.

Why are x-use tools not available after registering the server?▼

A stdio MCP server only loads at client startup, so the tools cannot appear in the current session. Restart the client after adding the configuration, then confirm the connection by calling list_accounts.

How does x-use authenticate X accounts safely?▼

You export cookies as JSON from a logged-in browser using an extension like Cookie-Editor, save the file locally, and pass only the file path to add_account. Cookie contents are never pasted into the conversation, and the file is validated and copied server-side.

Can x-use post to X without human approval?▼

By default no. Draft mode is on, so write tools return a reviewable draft and change nothing on X until approve_draft is called with the draft id. You can opt out via the mcp.draft_mode setting in config/settings.json.