browsa

v0.14.0
io.browsa/browsa Checked 5 days ago Published 3 days ago

Cloud browsers for AI agents, and captcha solving for a browser of your own.

Values you need

VariableWhat it is
BROWSA_API_KEYrequired secret Browsa API key from https://app.browsa.io/dashboard/keys. detect_captcha runs without it.
BROWSA_MCP_TOOLSoptional Optional tool groups, e.g. tasks,robots or captcha_page; all for every group; captcha_page,-core for only the captcha tools.
BROWSA_CAPTCHA_MAX_CREDITSoptional Optional. The most credits one session may spend on captcha solves.
BROWSA_CAPTCHA_RATE_PER_MINUTEoptional Optional. The most captcha solves started in any 60 seconds.
BROWSA_CAPTCHA_CONCURRENCYoptional Optional. The most captcha solves running at once.
BROWSA_LLM_API_KEYoptional secret Optional. Your own LLM provider key for the tasks group. Without it, tasks run on a saved key or a Browsa hosted tier.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add browsa -e 'BROWSA_API_KEY=<BROWSA_API_KEY>' -- npx -y --package=@browsa/mcp@0.10.0 browsa-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "browsa": {
      "args": [
        "-y",
        "--package=@browsa/mcp@0.10.0",
        "browsa-mcp"
      ],
      "command": "npx",
      "env": {
        "BROWSA_API_KEY": "<BROWSA_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "browsa": {
      "args": [
        "-y",
        "--package=@browsa/mcp@0.10.0",
        "browsa-mcp"
      ],
      "command": "npx",
      "env": {
        "BROWSA_API_KEY": "<BROWSA_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BROWSA_API_KEY",
      "id": "browsa-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "browsa": {
      "args": [
        "-y",
        "--package=@browsa/mcp@0.10.0",
        "browsa-mcp"
      ],
      "command": "npx",
      "env": {
        "BROWSA_API_KEY": "${input:browsa-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.browsa]
command = "npx"
args = ["-y", "--package=@browsa/mcp@0.10.0", "browsa-mcp"]
env = { "BROWSA_API_KEY" = "<BROWSA_API_KEY>" }

For AI agents

  1. Ask the user for: BROWSA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json