# Twitter X Automation [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/nirholas/XActions  
**GitHub Stars:** 612  
**npm Downloads (last month):** 2111  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/twitter-x-automation

## Description
Twitter X automation MCP - post schedule analytics engagement social media

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "twitter-x-automation": {
    "command": "npx",
    "args": ["-y","xactions"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/twitter-x-automation/readme_

