Skip to content
VS Code

x-use for VS Code

io.github.ihuzaifashoukat/x-use

Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required.

client:VS Code transport:stdio runtime:pypi

Install x-use in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-base-url",
      "description": "OPENAI_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "x-use": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "x-use-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "OPENAI_BASE_URL": "${input:openai-base-url}"
      }
    }
  }
}

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

x-use in other clients