Skip to main content
Glama
Dragon Browser

Dragon Browser

Official
README.md
# Dragon Browser v2.1.0

**Control your real Chrome. Not a headless clone.**

One local-first MCP server and loopback bridge for **Claude Code**, **OpenAI Codex CLI**, **Cursor**, **Windsurf**, and **Google Antigravity** — built with **0 external npm dependencies** (pure Node.js 20+/24 built-ins).

- **Website & Quickstart:** https://dragon.agentpro.tech
- **Chrome Web Store:** https://chromewebstore.google.com/detail/dragon-browser/dmgoldioklileddehbjpbfacojckfkjo
- **Privacy Policy:** https://dragon.agentpro.tech/privacy

---

## Why Dragon Browser

| Capability | Dragon Browser 2.1 | Headless / Playwright MCP |
|---|---|---|
| Reuses real logged-in Chrome sessions | **Native** (background agent window, 0 focus theft) | Fresh blank profile |
| Network X-Ray authenticated replay | **4 ms** vs 298 ms DOM clicks (**74.5x faster**) | DOM / screenshot loop |
| 1-Tap Human Handoff (CAPTCHA / 2FA / OTP) | **Built-in single-use live relay** (`410 Gone` on replay) | Stalls or fails |
| Parallel authenticated profile forks | **~65 ms APFS / reflink CoW** (0 cookie bleed) | Separate containers |
| Prompt-Injection Shield + Origin-Locked Vault | **Fail-closed** (`INJECTION_LOCKED`, `VAULT_ORIGIN_MISMATCH`) | None |
| External npm dependencies | **0** (pure Node.js built-ins) | Heavy browser binaries |
| Data egress / cloud relay | **None** (`127.0.0.1:9233` loopback only) | Varies |

---

## 60-Second Quickstart

### 1. Install the Chrome Extension

Install **Dragon Browser** from the Chrome Web Store:
https://chromewebstore.google.com/detail/dragon-browser/dmgoldioklileddehbjpbfacojckfkjo

Extension ID: `dmgoldioklileddehbjpbfacojckfkjo`

### 2. Start the Local Bridge

```bash
npx -y github:agentpro-tech/dragon-browser start
```

Verify readiness anytime:

```bash
curl -s http://127.0.0.1:9233/status
# → {"ready": true, "bridgeVersion": "2.1.0", "versionMatch": true}
```

### 3. Connect Your MCP Client

#### Claude Code
```bash
claude mcp add dragon-browser -- npx -y github:agentpro-tech/dragon-browser mcp
```

#### OpenAI Codex CLI
```bash
codex mcp add dragon-browser -- npx -y github:agentpro-tech/dragon-browser mcp
```

#### Cursor / Windsurf / Claude Desktop / Antigravity (`mcp.json`)
```json
{
  "mcpServers": {
    "dragon-browser": {
      "command": "npx",
      "args": ["-y", "github:agentpro-tech/dragon-browser", "mcp"],
      "env": {
        "DRAGON_RPC": "http://127.0.0.1:9233/rpc"
      }
    }
  }
}
```

#### Standalone Operator Console (No External MCP Client Needed)
Open `http://127.0.0.1:9233/console` after starting the bridge.

---

## Security & Trust Boundary

- **Loopback Only:** Listens strictly on `127.0.0.1:9233` with a locally generated per-install Bearer token at `~/.dragon-browser/auth/token`.
- **Zero Cookie Persistence on Disk:** Network X-Ray executes requests inside Chrome's live tab context and writes `0` cookie bytes to disk.
- **Zero-Bypass Commitment:** Dragon Browser **never** automates CAPTCHA, hCaptcha, Turnstile, or anti-bot bypasses. Security verification always pauses and hands off to the human operator.

---

## License

MIT © Agent Pro