GoForum🌐 V2EX

Codex 的 chrome control 很好用,我折腾了一下让其他 agent 也可以用上它

i0error · 2026-07-08 09:13 · 0 次点赞 · 0 条回复

Codex 自带的 Chrome 控制非常好用:直接接管日常在用的 Chrome Profile ,登录态、当前开着的标签页全都能复用,支持 CDP ,开发/调试看 Network 、Console 、Performance 都很方便,不用开干净浏览器。

可惜 Claude Code 这边目前没发现一样好用的功能。于是我把它抠出来包成了 MCP server ,让别的 agent 也能用上,安装、配置一下 MCP 、skill (可选)即可。

Quick start:

注意:我仅在 macOS 上验证了 Chrome 、Edge 的可用性,其他平台、浏览器很可能不支持。欢迎研究下一起贡献支持。完整内容见 https://github.com/iola1999/codex-control-chrome-mcp

npm install -g codex-control-chrome-mcp
codex-control-chrome-mcp install-native-host

然后配置 MCP:

{
  "type": "stdio",
  "command": "codex-control-chrome-mcp",
  "args": ["--stdio"],
  "startup_timeout_sec": 30
}

用了几天没发现什么问题,挺好用的,分享给大家。

0 条回复
添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: i0error
发布: 2026-07-08
点赞: 0
回复: 0