O

Openbrowser AI

by openbrowser.me · me.openbrowser/openbrowser-ai

AI browser automation with explicit MCP contexts and async Python control.

pypi Local · stdio Official MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "me-openbrowser-openbrowser-ai": {
      "command": "uvx",
      "args": [
        "openbrowser-ai"
      ],
      "env": {
        "OPENBROWSER_HEADLESS": "true",
        "OPENBROWSER_ALLOWED_DOMAINS": "<VALUE>",
        "OPENBROWSER_USER_DATA_DIR": "<VALUE>",
        "OPENBROWSER_STORAGE_STATE": "<VALUE>",
        "OPENBROWSER_COMPACT_DESCRIPTION": "false",
        "OPENBROWSER_MAX_OUTPUT": "10000",
        "ANONYMIZED_TELEMETRY": "true",
        "OPENBROWSER_MCP_MAX_CONTEXTS": "16",
        "OPENBROWSER_MCP_WORKSPACE_DIR": "<VALUE>",
        "OPENBROWSER_MCP_START_TIMEOUT": "30",
        "OPENBROWSER_MCP_EXEC_TIMEOUT": "110",
        "OPENBROWSER_SHUTDOWN_TIMEOUT": "20"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
OPENBROWSER_HEADLESS No Run browser in headless mode (true/false) Default: true
OPENBROWSER_ALLOWED_DOMAINS No Comma-separated list of allowed domains (empty for no restrictions)
OPENBROWSER_USER_DATA_DIR No Optional explicit Chrome profile directory. Omit for an isolated profile per MCP server instance; concurrent owners of one explicit profile are rejected
OPENBROWSER_STORAGE_STATE No Optional JSON file used as a one-time seed for cookies plus localStorage in managed MCP profiles; later updates are saved to the active profile copy
OPENBROWSER_COMPACT_DESCRIPTION No Use minimal tool description (~500 tokens instead of ~1,430) Default: false
OPENBROWSER_MAX_OUTPUT No Maximum output characters per code execution (default: 10000) Default: 10000
ANONYMIZED_TELEMETRY No Enable anonymized usage telemetry (true/false) Default: true
OPENBROWSER_MCP_MAX_CONTEXTS No Maximum open contexts total, including the legacy no-handle context (default: 16). Set a positive integer. Default: 16
OPENBROWSER_MCP_WORKSPACE_DIR No Base directory for per-context workspaces (default: ~/Downloads/openbrowser-mcp/workspace).
OPENBROWSER_MCP_START_TIMEOUT No Browser startup bound in seconds for one MCP execution (default: 30). Default: 30
OPENBROWSER_MCP_EXEC_TIMEOUT No Seconds before a tool call returns a structured timeout result (default: 110). Default: 110
OPENBROWSER_SHUTDOWN_TIMEOUT No Browser and context cleanup bound in seconds (default: 20). Default: 20

Similar servers