Skip to content
Gemini CLI

XActions for Gemini CLI

io.github.nirholas/xactions

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

client:Gemini CLI transport:stdio runtime:npm

Install XActions in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

XActions in other clients