nodriver — Chrome browser automation

v2.7.1
io.github.andresolbach/nodriver-mcp-server Checked 4 days ago Published 1 day ago

Chrome automation via nodriver: 70 tools, isolated browsers, profiles and configurable startup.

Values you need

VariableWhat it is
NODRIVER_HEADLESSoptional Run Chrome headless (true/false). Default false.
NODRIVER_USER_DATA_DIRoptional Explicit persistent Chrome profile directory. Default: an ephemeral temp profile, auto-deleted per session.
NODRIVER_BROWSER_PATHoptional Path to the Chrome/Chromium executable. Auto-detected when unset.
NODRIVER_PROXYoptional Proxy server address passed to Chrome as --proxy-server.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add nodriver-mcp-server -- uvx nodriver-mcp==2.6.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "nodriver-mcp-server": {
      "args": [
        "nodriver-mcp==2.6.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "nodriver-mcp-server": {
      "args": [
        "nodriver-mcp==2.6.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "nodriver-mcp-server": {
      "args": [
        "nodriver-mcp==2.6.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.nodriver-mcp-server]
command = "uvx"
args = ["nodriver-mcp==2.6.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_frames, bypass_insecure_warning, cf_verify, click, click_at, close_page, close_browser, drag, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json