mirror of
https://github.com/addyosmani/agent-skills.git
synced 2026-08-12 18:07:26 +02:00
fix(browser-testing): correct chrome-devtools-mcp install config
Package name was wrong (@anthropic/chrome-devtools-mcp does not exist). Adds -y to skip npx confirmation prompt and --autoConnect as the recommended default to connect automatically to a running Chrome instance.
This commit is contained in:
@@ -25,19 +25,21 @@ Use Chrome DevTools MCP to give your agent eyes into the browser. This bridges t
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
# Add Chrome DevTools MCP server to your Claude Code config
|
||||
# In your project's .mcp.json or Claude Code settings:
|
||||
Add the following to your project's `.mcp.json` or Claude Code settings:
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"chrome-devtools": {
|
||||
"command": "npx",
|
||||
"args": ["@anthropic/chrome-devtools-mcp@latest"]
|
||||
"args": ["-y", "chrome-devtools-mcp@latest", "--autoConnect"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`-y` skips the npx install confirmation. `--autoConnect` connects automatically to a running Chrome instance (or launches one) — recommended for most users.
|
||||
|
||||
### Available Tools
|
||||
|
||||
Chrome DevTools MCP provides these capabilities:
|
||||
|
||||
Reference in New Issue
Block a user