A

Agentic Browser

by davarion-tech · io.github.davarion-tech/agentic-browser

Enables AI agents to control your installed Google Chrome through MCP or HTTP using compact text snapshots, exact pixel coordinates, and a visible cursor. It provides browser tools for navigation, clicking, typing, scrolling, tabs, forms, waiting, recording, and human handoff.

npm Local · stdio GlamaOfficial 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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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": {
    "io-github-davarion-tech-agentic-browser": {
      "command": "npx",
      "args": [
        "-y",
        "agentic-browser-mcp"
      ],
      "env": {
        "AGENT_TOKEN": "<VALUE>",
        "AGENT_TOOLS": "all",
        "AGENT_TRACE": "~/.agentic-browser/trace.jsonl",
        "AGENT_CHROME": "<VALUE>",
        "AGENT_FFMPEG": "ffmpeg",
        "AGENT_CDP_URL": "<VALUE>",
        "AGENT_DIALOGS": "accept",
        "AGENT_PROFILE": "~/.agentic-browser/profile",
        "AGENT_HEADLESS": "0",
        "AGENT_READONLY": "0",
        "AGENT_DOWNLOADS": "~/.agentic-browser/downloads",
        "AGENT_HTTP_PORT": "8787",
        "AGENT_RECORDINGS": "~/.agentic-browser/recordings",
        "AGENT_CURSOR_SPEED": "120",
        "AGENT_ALLOWED_ORIGINS": "<VALUE>"
      }
    }
  }
}

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
AGENT_TOKEN No Optional Bearer token for the HTTP server
AGENT_TOOLS No core (12 essential tools) or a comma-separated list. Fewer tools means fewer prompt tokens Default: all
AGENT_TRACE No Audit log of every tool call Default: ~/.agentic-browser/trace.jsonl
AGENT_CHROME No Path to the browser. Auto-detected by default. Any Chromium browser works: Chrome, Edge (falls back to it automatically), Brave, Chromium
AGENT_FFMPEG No Path to ffmpeg for MP4 recordings; none forces the WebM fallback Default: ffmpeg
AGENT_CDP_URL No Attach to a running Chrome started with --remote-debugging-port=9222 --user-data-dir=…
AGENT_DIALOGS No alert/confirm/prompt: accept or dismiss Default: accept
AGENT_PROFILE No Persistent agent profile (cookies and logins survive restarts) Default: ~/.agentic-browser/profile
AGENT_HEADLESS No 1 = no window (servers, CI) Default: 0
AGENT_READONLY No 1 disables every tool that changes a page Default: 0
AGENT_DOWNLOADS No Download folder Default: ~/.agentic-browser/downloads
AGENT_HTTP_PORT No HTTP port Default: 8787
AGENT_RECORDINGS No Where browser_record_stop saves videos Default: ~/.agentic-browser/recordings
AGENT_CURSOR_SPEED No ms per 100 px of cursor travel; 0 = instant Default: 120
AGENT_ALLOWED_ORIGINS No Domain allowlist, e.g. wikipedia.org,localhost (subdomains included)

Similar servers