Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Connects to a running Chrome instance via CDP to expose browser control as MCP tools, preserving login state, cookies, and extensions for automation.

README.md

chrome-pilot-mcp

English

通过 CDP(Chrome DevTools Protocol)连接已运行的 Chrome,并以 MCP 服务的形式暴露浏览器控制能力。

项目基于 patchright-core,适合需要保留登录态、Cookie、浏览器扩展和现有标签页的自动化场景。

核心特点

  • 连接已有 Chrome 实例,无需重新启动浏览器。
  • 保留登录态、用户数据和当前标签页上下文。
  • 基于 patchright-core,尽量降低常见 CDP 自动化指纹。
  • 提供连接、标签页、导航、交互、检视、表单等 18 个 MCP 工具。

安装

Claude Code(推荐)

# 全局安装
claude mcp add --scope user chrome-pilot -- npx -y chrome-pilot-mcp

# 项目级安装
claude mcp add --scope project chrome-pilot -- npx -y chrome-pilot-mcp

--scope user 写入 ~/.claude/settings.json--scope project 写入 .claude/settings.local.json

通过 npx 直接运行

npx -y chrome-pilot-mcp

手动配置

{
  "mcpServers": {
    "chrome-pilot": {
      "command": "npx",
      "args": ["-y", "chrome-pilot-mcp"]
    }
  }
}

从源码运行

git clone <repo-url>
cd chrome-pilot-mcp
npm install
npm run build
npm start

前置条件

Node.js / npx

npx 用于 Claude Code 启动 MCP 子进程。请先确认 Node.js 与 npx 可用(Node >= 18):

node -v
npx -v

如果缺失可按平台安装 Node.js(安装后会包含 npx):

# macOS
brew install node

# Ubuntu / Debian
sudo apt-get update && sudo apt-get install -y nodejs npm

# Windows (PowerShell)
winget install OpenJS.NodeJS.LTS

Chrome 版本

需要 Chrome >= 144,以支持通过 chrome://inspect/#remote-debugging 启用远程调试。

启用远程调试

在 Chrome 地址栏打开 chrome://inspect/#remote-debugging 并启用远程调试。Chrome 重启后通常需要重新启用。

DevToolsActivePort 路径

| 平台 | 路径 | | --- | --- | | macOS | ~/Library/Application Support/Google/Chrome/DevToolsActivePort | | Linux | ~/.config/google-chrome/DevToolsActivePort | | Windows | %LOCALAPPDATA%\\Google\\Chrome\\User Data\\DevToolsActivePort |

工具概览

| 类别 | 工具 | 用途 | | --- | --- | --- | | 连接 | chrome_status, chrome_connect, chrome_disconnect | 管理 Chrome 连接状态 | | 标签页 | chrome_list_tabs, chrome_select_tab, chrome_close_tab | 查看并切换标签页 | | 导航 | chrome_navigate, chrome_back, chrome_forward, chrome_reload | 执行页面导航 | | 交互 | chrome_click, chrome_type, chrome_scroll, chrome_press_key | 与页面元素交互 | | 检视 | chrome_screenshot, chrome_dump_dom, chrome_evaluate | 截图并检查页面状态 | | 表单 | chrome_fill_form, chrome_select_option | 批量填写表单 |

详细文档

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.