anthropics / anthropics/claude-code

[Bug] Chrome DevTools MCP hijacks system AppleScript events for Google Chrome

Open
#94,282 0 comments 0 reactions 0 assignees View on GitHub
area:chrome area:mcp bug platform:macos
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
chrome-devtools-mcp launches Chrome from the stable bundle with a custom `--user-data-dir`, which hijacks all AppleScript Apple events for 'Google Chrome' and breaks user automation against their real browser; it should use a distinct bundle or expose a TCP debugging port.

**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.270
- Feedback ID: e6940080-2c59-4f0e-8928-11ffa0014752

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how chrome-devtools-mcp launches Chrome on darwin, including its use of the stable bundle and custom --user-data-dir. Reproduce the AppleScript interference against a normal Google Chrome session, then verify that the chosen launch change no longer hijacks those events while preserving DevTools access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.