Skip to content
VS Code

browser use for VS Code

io.github.therealtimex/browser-use

AI browser automation - navigate, click, type, extract content, and run autonomous web tasks

client:VS Code transport:stdio runtime:pypi

Install browser use in VS Code

.vscode/mcp.json

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

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

browser use in other clients