豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Connecting to Chrome with suspended/frozen tabs fails (usually with --auto-connect) #775

@ProjectBetelgeuse

Description

@ProjectBetelgeuse

Update: see a workaround here #775 (comment)

Description of the bug

I have try to use the opencode and connect it to the MCP. I set it to autoConnect. Updated to Chrome 144 and enabled the Remote debugging. But it always timeout and I don't see any change in the chrome. It output chrome-devtools_new_page [url=https://developers.chrome.com]. But it didn't open any new page and timed out.

Also in the doc there is a inconsistance out the autoConnect version support. At some place it said 145+ but for the tutorial of how to autoConnect it said 144+.

Reproduction

  1. Use "opencode"
  2. Add MCP to to it.
    "chrome-devtools": { "type": "local", "command": ["npx", "-y","chrome-devtools-mcp@latest", "--autoConnect", "--channel=beta"], } or
    "chrome-devtools": { "type": "local", "command": ["npx", "-y","chrome-devtools-mcp@latest", "--autoConnect", "--channel=stable"], } or
    "chrome-devtools": { "type": "local", "command": ["npx", "-y","chrome-devtools-mcp@latest", "--autoConnect"], }
  3. Use chrome 144 and toggle the remote debugging.
  4. Tell AI in the opencode to check the performance of https://developers.chrome.com

Expectation

For chrome 144+. The autoConnect should work by follow the doc in the readme.

MCP configuration

"chrome-devtools": {
  "type": "local",
  "command": ["npx", "-y","chrome-devtools-mcp@latest", "--autoConnect", "--channel=stable"],
}

Chrome DevTools MCP version

v0.13.0

Chrome version

144.0.7559.60

Coding agent version

opencode 1.1.21

Model version

Claude opus 4.5

Chat log

No response

Node version

24.11.0

Operating system

macOS

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions