# cdpm MCP server

> Lets Claude Code sessions and subagents share and coordinate multiple numbered Chrome instances via CDP.

- Repository: https://github.com/IGELHARINE/CDPM
- Page: https://hostedmcp.org/servers/igelharine/cdpm
- Transport: stdio
- Stars: 3
- License: MIT
- Latest version: 0.1.12

## Install

### Claude Code

```sh
claude mcp add cdpm -- npx -y cdpm-mcp
```

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

```json
{
  "mcpServers": {
    "cdpm": {
      "command": "npx",
      "args": [
        "-y",
        "cdpm-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "cdpm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cdpm-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"cdpm","type":"stdio","command":"npx","args":["-y","cdpm-mcp"]}'
```

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

```json
{
  "mcpServers": {
    "cdpm": {
      "command": "npx",
      "args": [
        "-y",
        "cdpm-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add cdpm -- npx -y cdpm-mcp
```

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

```toml
[mcp_servers.cdpm]
command = "npx"
args = ["-y", "cdpm-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user cdpm npx -- -y cdpm-mcp
```

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

```json
{
  "mcpServers": {
    "cdpm": {
      "command": "npx",
      "args": [
        "-y",
        "cdpm-mcp"
      ]
    }
  }
}
```

## Tools (22)

- `browser_status`
- `browser_launch`
- `browser_close`
- `browser_snapshot`
- `browser_text`
- `browser_screenshot`
- `browser_click`
- `browser_type`
- `browser_fill`
- `browser_dialog`
- `browser_permission`
- `browser_hover`
- `browser_drag`
- `browser_download_wait`
- `browser_pdf`
- `browser_upload`
- `browser_select`
- `browser_press_key`
- `browser_scroll`
- `browser_wait`
- `browser_eval`
- `browser_block`

## FAQ

### Can multiple agents use the same browser slot?

Yes, two sessions can work in the same slot on different tabs, with commands queued per tab to prevent interleaving.

### Do logins persist between sessions?

Yes, each slot uses its own profile folder, so logins remain active between runs.

### What happens if I close my IDE or Claude Code?

The Chrome slots are started detached, meaning they continue running even if you close VS Code or Claude Code.

### Can agents communicate with each other?

Yes, agents can use slot_send and slot_inbox to deliver messages addressed by slot and agent name.
