# unbrowser MCP server

> Provides a lightweight, non-visual web runtime for agents that handles cookies, DOM state, and HTML forms without a full Chrome installation.

- Repository: https://github.com/protostatis/unbrowser
- Page: https://hostedmcp.org/servers/protostatis/unbrowser
- Transport: stdio
- Stars: 17
- License: Apache-2.0
- Latest version: 0.0.21

## Install

### Claude Code

```sh
claude mcp add unbrowser -- uvx pyunbrowser
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "unbrowser": {
      "command": "uvx",
      "args": [
        "pyunbrowser"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "unbrowser": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pyunbrowser"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "unbrowser": {
      "command": "uvx",
      "args": [
        "pyunbrowser"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.unbrowser]
command = "uvx"
args = ["pyunbrowser"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "unbrowser": {
      "command": "uvx",
      "args": [
        "pyunbrowser"
      ]
    }
  }
}
```

## FAQ

### Can it execute JavaScript?

Yes, it can run bounded QuickJS page scripts when enabled via the exec_scripts parameter, though it is not a full V8 engine.

### When should I use a real Chrome browser instead?

You should escalate to a real browser if you need pixels, Canvas, WebGL, workers, extensions, or high-fidelity V8 compatibility.

### How do I install it using Python?

You can install it via pipx using 'pipx install pyunbrowser' or via pip using 'pip install pyunbrowser'.
