You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/troubleshooting/SKILL.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,16 @@ description: Uses Chrome DevTools MCP and documentation to troubleshoot connecti
7
7
8
8
You are acting as a troubleshooting wizard to help the user configure and fix their Chrome DevTools MCP server setup. When this skill is triggered (e.g., because `list_pages`, `new_page`, or `navigate_page` failed, or the server wouldn't start), follow this step-by-step diagnostic process:
9
9
10
-
### Step 1: Determine the Exact Error
10
+
### Step 1: Read Configuration
11
+
12
+
Ask the user to provide their MCP configuration file content (e.g. `claude_desktop_config.json`, `.vscode/launch.json` or `.mcp.json`).
13
+
14
+
Interpret the configuration to identify potential issues such as:
15
+
- Incorrect arguments or flags.
16
+
- Missing environment variables.
17
+
- Usage of `--autoConnect` in incompatible environments.
18
+
19
+
### Step 2: Determine the Exact Error
11
20
12
21
Identify the exact error message from the failed tool call or the MCP initialization logs. Look for common errors such as:
13
22
@@ -17,7 +26,7 @@ Identify the exact error message from the failed tool call or the MCP initializa
Read the contents of https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/troubleshooting.md to map the error to a known issue. Pay close attention to:
23
32
@@ -26,7 +35,7 @@ Read the contents of https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/
26
35
-`--autoConnect` handshakes, timeouts, and requirements (requires **running** Chrome 144+).
27
36
- Conflicts between `--autoConnect`/`--browser-url` and extension debugging.
28
37
29
-
### Step 3: Formulate a Configuration
38
+
### Step 4: Formulate a Configuration
30
39
31
40
Based on the exact error and the user's environment (OS, MCP client), formulate the correct MCP configuration snippet. Check if they need to:
32
41
@@ -38,14 +47,14 @@ Based on the exact error and the user's environment (OS, MCP client), formulate
38
47
39
48
_If you are unsure of the user's configuration, ask the user to provide their current MCP server JSON configuration._
40
49
41
-
### Step 4: Run Diagnostic Commands
50
+
### Step 5: Run Diagnostic Commands
42
51
43
52
If the issue is still unclear, run diagnostic commands to test the server directly:
44
53
45
54
-`npx chrome-devtools-mcp@latest --help` (to verify the installation and Node.js environment)
46
55
- Ask the user to run `DEBUG=* npx chrome-devtools-mcp@latest --logFile=/tmp/cdm-test.log` to capture verbose logs if they are attempting to run it from an IDE or different environment.
47
56
48
-
### Step 5: Check GitHub for Existing Issues
57
+
### Step 6: Check GitHub for Existing Issues
49
58
50
59
If https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/troubleshooting.md does not cover the specific error, check if the `gh` (GitHub CLI) tool is available in the environment. If so, search the GitHub repository for similar issues:
51
60
`gh issue list --repo ChromeDevTools/chrome-devtools-mcp --search "<error snippet>" --state all`
0 commit comments