# ZeroDOM

> ZeroDOM is an open-source MCP server for security. Compare two logged-in identities to surface broken access control and IDOR. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Chrome extension
- **Website:** https://zerodom.vexralabs.com
- **Repository:** https://github.com/devhusnainai/zerodom
- **MCP Registry name:** io.github.DevHusnainAi/zerodom
- **Categories:** security, browser automation
- **Listing updated:** 2026-11-15

## About

ZeroDOM drives your real, logged-in Chrome as two identities, replays the same requests as each and flags where one user reaches something another cannot. It looks for two tells: a 200 versus 401 or 403 split on an identical request, and a byte-identical body on a per-user resource. It surfaces the diff and you confirm the bug; the README says it makes no LLM guesses.

The second purpose is cutting what a browsing agent has to read. It keeps one line per actionable element and gives the model numbered handles while CSS selectors stay local. The site reports a drop from 61,049 to 150 tokens on one admin panel and claims roughly 53 to 96 percent fewer tokens than Playwright MCP; those are the vendor's own benchmark figures.

A relay attaches to your session (cookies, SSO, MFA already done), or --stealth opens a throwaway Chrome. Scans can read page bundles for DOM-XSS sinks and API surface and can fail a CI run on a finding. It runs locally, is read-only by default, refuses destructive actions and out-of-scope hosts, and installs from PyPI or npm.

## Features

- **Two-identity sweep:** Replay requests as two logins and flag access differences.
- **Live session relay:** Attach to your logged-in Chrome over chrome.debugger.
- **Compact page view:** One line per actionable element with numbered handles.
- **Bundle scan:** Find DOM-XSS sinks and callable API surface.
- **CI gate:** A flag turns findings into a failing exit.
- **Read-only by default:** Destructive actions and out-of-scope hosts are refused.

## Good for

- Test an admin route as a normal user
- Look for cross-tenant IDOR in a staging app
- Run a scoped scan in CI
- Give an agent a token-light view of a logged-in app

## Install

### Claude Code (Terminal)

```sh
claude mcp add zerodom -- npx -y @vexralabs/zerodom
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "zerodom": {
      "command": "npx",
      "args": [
        "-y",
        "@vexralabs/zerodom"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "zerodom": {
      "command": "npx",
      "args": [
        "-y",
        "@vexralabs/zerodom"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "zerodom": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vexralabs/zerodom"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "zerodom": {
      "command": "npx",
      "args": [
        "-y",
        "@vexralabs/zerodom"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zerodom": {
      "command": "npx",
      "args": [
        "-y",
        "@vexralabs/zerodom"
      ]
    }
  }
}
```

## FAQ

### Does it send data off my machine?

The README says it runs locally with no account or key and the page markup stays on your machine.

### Who confirms a bug?

You do; it provides a reproducible diff.

### Does it need a fresh login?

No, relay mode reuses your logged-in Chrome.

### How do I install it?

From PyPI as zerodom or npm as @vexralabs/zerodom.

### Is ZeroDOM free?

Yes. ZeroDOM is open source, so you can use and self-host it for free.

### How do I add ZeroDOM to Claude Code?

Run this command in your terminal: claude mcp add zerodom -- npx -y @vexralabs/zerodom

### What are the best alternatives to ZeroDOM?

The closest alternatives to ZeroDOM are REA, Browser Use, Scrapling MCP Server, Oya Browser and Agent Roast.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Mantis](https://ai-powered.com/mcp/mantis-2): Mantis is an open-source MCP server for browser automation.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.

---
Source: https://ai-powered.com/mcp/zerodom
