Twitter X Automation logo

Twitter X Automation

Automates X/Twitter workflows for AI agents with 154 MCP tools for posting, search, engagement, analytics, and more.

Install Twitter X Automation

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "twitter-x-automation": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y xactions

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 7d ago.

Overview

Twitter X Automation MCP server exposes X/Twitter automation capabilities to AI agents through the Model Context Protocol. XActions provides 154 MCP tools alongside CLI and browser-based workflows, with scraping, posting, scheduling, analytics, and engagement functions described for the project. It operates without an X API key and supports authenticated tasks after a user logs in. Reach for it when an agent needs to collect X data or manage supported social actions through MCP.

Use cases

  • Query X/Twitter profiles and posts
  • Search for mentions of a brand
  • Schedule and publish social posts
  • Analyze account activity
  • Manage engagement workflows with approval controls

Key features

  • 154 MCP tools for X/Twitter automation
  • Posting, scheduling, analytics, and engagement workflows
  • Profile, post, and search data access
  • Cookie-based authenticated sessions
  • Human approval for MCP writes
  • Persistent per-account daily action caps

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

4/4 checks healthy over the last 13d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · xactions (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars612Stargazers on the source repository.
npm downloads2.1kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Twitter X Automation works

What the Twitter X Automation MCP server does

The Twitter X Automation MCP server connects AI agents with X/Twitter automation through the XActions project. Its MCP interface is documented as providing 154 tools, while the wider project also includes a command-line interface, browser scripts, a browser extension, and scrapers.

The available scope covers the main workflow areas named by the project: posting, scheduling, analytics, engagement, profile and post data, and search. The repository also describes capabilities for followers, direct messages, account activity, and other authenticated operations. Use this server when an agent needs to work with X/Twitter data or coordinate supported account actions without relying on the official X API.

How it works

XActions communicates with X/Twitter without requiring an API key. Public data can be queried from the command line without an account, while login unlocks operations such as search, follower access, and direct messages. The project uses X/Twitter sessions for account-based actions rather than asking the user to configure an API credential.

Write operations have safeguards described in the repository. Every MCP write is held as a draft for human approval, and actions are counted against a rolling 24-hour, per-account budget that persists on disk. The project also supports account pooling, operation windows, and resumable scraping with cursor checkpoints.

The Twitter X Automation MCP server is one part of a larger toolkit. The same repository supports terminal commands such as profile lookup, tweet export, login, and search, as well as browser-console automation scripts.

Setup and configuration

The repository provides an npm package and documents running the MCP process with npx xactions-mcp. It also includes a Dockerfile and TypeScript type definitions.

Account-based features require a logged-in X/Twitter session. XActions documents login through a browser profile or imported cookies, including Chrome, Chromium, Brave, Edge, Arc, and Firefox profiles, plus Netscape cookies, Cookie-Editor or EditThisCookie JSON, and Playwright or Puppeteer storage state. A complete cookie set is preferred for writes because the ct0 cookie is needed for those operations.

Tools and capabilities

The Twitter X Automation MCP server is documented with 154 MCP tools. Supported project areas include:

  • Retrieving profiles and posts
  • Searching X/Twitter content
  • Posting, scheduling, and engagement workflows
  • Analytics and social activity tasks
  • Accessing followers and direct messages after login
  • Managing write approvals and daily action limits
  • Resuming long-running scrapes from saved cursors
  • Rotating accounts from a SQLite-backed account pool

The repository also advertises 56 CLI commands and 95 browser-console scripts, but those are separate interfaces from the MCP tool set.

Limitations and notes

It also does not establish that every operation works without login: search, followers, direct messages, and writes are described as authenticated features or session-dependent actions. XActions is open source under the Apache 2.0 license, and its behavior depends on X/Twitter sessions and the platform's request and action limits.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Twitter X Automation

Twitter X Automation is an MCP server that connects AI agents to X/Twitter through XActions. Its 154 tools cover profile and post data, search, posting, scheduling, analytics, and engagement workflows. Public queries need no API key, while authenticated features use a logged-in X/Twitter session.

Run it with the npm command `npx xactions-mcp`. The repository also provides a Dockerfile, npm package, and TypeScript type definitions.

No, it does not require an X API key. Public data can be queried without an API key or account, while authenticated operations use a logged-in session or imported browser cookies.

Authenticate by logging in or importing an existing X/Twitter session. XActions supports browser-profile cookies and several cookie export formats, including Netscape cookies, Cookie-Editor JSON, and Playwright or Puppeteer storage state.

It identifies the project as an MCP server for AI agents but does not list supported MCP clients.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTwitter X Automation AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/twitter-x-automation?style=directory)](https://allmcps.com/mcp/twitter-x-automation)
HTML Embed
<a href="https://allmcps.com/mcp/twitter-x-automation"><img src="https://allmcps.com/api/badge/twitter-x-automation?style=directory" alt="Twitter X Automation on AllMCPs" /></a>