Skip to content
VS Code

XActions for VS Code

io.github.nirholas/xactions

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

client:VS Code transport:stdio runtime:npm

Install XActions in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "x-cookies",
      "description": "X_COOKIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "x-username",
      "description": "X_USERNAME",
      "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_USERNAME": "${input:x-username}",
        "X_PASSWORD": "${input:x-password}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

XActions in other clients