# pre.dev MCP server

> Enables coding agents to control local Chrome browsers, run cloud-based browser tasks, and generate technical specifications and project plans.

- Repository: https://github.com/predotdev/mcp
- Page: https://hostedmcp.org/servers/predotdev/mcp
- Transport: stdio
- Stars: 0
- License: MIT

## Install

### Claude Code

```sh
claude mcp add mcp -- npx -y @predotdev/mcp
```

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

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

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

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

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

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

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

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@predotdev/mcp"]
```

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

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PREDEV_API_KEY` | no | no |  |
| `PREDEV_MCP_CLOUD` | no | no |  |

## FAQ

### What is the difference between local and cloud browser agents?

Local agents run in your own Chrome using your existing profiles and logins, while cloud agents run in pre.dev's browsers for tasks on public pages or parallel runs.

### Does using the local Chrome tools cost money?

The MCP server is free and open source, and the Chrome tools run free on your Mac. Only plain-words actions and cloud tools use pre.dev credits.
