Skip to content
MCP server

XActions

X/Twitter automation MCP: scrape, post, schedule, analyze, engage. No API key required.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.5.0
Listing updated
6 days ago

About XActions

XActions is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add xactions --env X_COOKIES='<X_COOKIES>' --env X_PASSWORD='<X_PASSWORD>' -- npx -y xactions

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xactions": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "<X_COOKIES>",
        "X_PASSWORD": "<X_PASSWORD>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xactions": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "<X_COOKIES>",
        "X_PASSWORD": "<X_PASSWORD>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xactions": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "<X_COOKIES>",
        "X_PASSWORD": "<X_PASSWORD>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xactions": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "<X_COOKIES>",
        "X_PASSWORD": "<X_PASSWORD>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xactions": {
      "command": "npx",
      "args": [
        "-y",
        "xactions"
      ],
      "env": {
        "X_COOKIES": "<X_COOKIES>",
        "X_PASSWORD": "<X_PASSWORD>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • X_COOKIESX/Twitter authentication cookies (JSON string or path to cookies file)
  • X_USERNAMEX/Twitter username for login
  • X_PASSWORDX/Twitter password for login

Pricing

Open source

XActions FAQ

Is XActions free?

Yes. XActions is open source, so you can use and self-host it for free.

How do I add XActions to Claude Code?

Run this command in your terminal: claude mcp add xactions --env X_COOKIES='<X_COOKIES>' --env X_PASSWORD='<X_PASSWORD>' -- npx -y xactions

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers