# XActions (MCP server)

> XActions is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. X/Twitter automation MCP: scrape, post, schedule, analyze, engage. It has 571 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y xactions.

The complete X/Twitter automation toolkit Scrapers &nbsp;·&nbsp; MCP Server for AI Agents &nbsp;·&nbsp; CLI &nbsp;·&nbsp; Browser Scripts &nbsp;·&nbsp; Browser Extension No API keys. No monthly fees. 100% open source.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/nirholas/XActions |
| GitHub stars | 571 |
| License | Apache-2.0 |
| Language | HTML |
| Transport | stdio |
| Packages | npm: xactions |
| Remote URL | none |
| Needs API key | yes |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Web & browsing |
| Latest release | none |
| Last commit | Oct 5, 2026 |
| MCP registry name | io.github.nirholas/xactions |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xactions": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "your-value",
        "X_PASSWORD": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env X_COOKIES=your-value --env X_PASSWORD=your-value --transport stdio xactions -- npx -y xactions
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "xactions": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "your-value",
        "X_PASSWORD": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "x_cookies",
      "description": "X_COOKIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "x_password",
      "description": "X_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "xactions": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "${input:x_cookies}",
        "X_PASSWORD": "${input:x_password}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `X_COOKIES` (secret): X/Twitter authentication cookies (JSON string or path to cookies file)
- `X_USERNAME`: X/Twitter username for login
- `X_PASSWORD` (secret): X/Twitter password for login

## Similar MCP servers

- [Browser Use](https://appsgit.com/mcp-servers/browser-use): Control a real Chrome browser to complete any task: fill forms, extract data, book flights. (117,307 stars, MIT, official)
- [Scrapling MCP Server](https://appsgit.com/mcp-servers/scrapling-mcp-server): Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. (86,017 stars, BSD-3-Clause)
- [Chrome DevTools MCP](https://appsgit.com/mcp-servers/chrome-devtools-mcp): MCP server for Chrome DevTools. (53,049 stars, Apache-2.0)
- [Bytedance Browser](https://appsgit.com/mcp-servers/bytedance-browser): MCP server for browser use access. (39,206 stars, Apache-2.0)
- [Bytedance Commands](https://appsgit.com/mcp-servers/bytedance-commands): An MCP server to run arbitrary commands. (39,206 stars, Apache-2.0)
- [Bytedance Search](https://appsgit.com/mcp-servers/bytedance-search): MCP server for web search operations. (39,206 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/xactions
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
