claude-code - 💡(How to fix) Fix [Bug] MCP server removal fails after auto-recommendation [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55511Fetched 2026-05-03 04:51:29
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different userDataDir or stop the running browser first.\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different userDataDir or stop the running browser first.\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button "Close" (button) - This is the close button for the cookie banner dialog, which matches the query "Close cookie banner button"\n\nactions[1] (form_input) failed: Element type "BUTTON" is not a supported form input (1 completed, 4 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed "$750,000"\n\nactions[2] (form_input) failed: Element type "DIV" is not a supported form input (2 completed, 2 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type "DIV" is not a supported form input (0 completed, 1 remaining)\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {"name":"APIResponseError","code":"validation_error","status":400,"headers":{},"body":"{\"object\":\"error\",\"status\":400,\"code\":\"validation_error\",\"message\":\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. date:Due:start, optional date:Due:end, and optional date:Due:is_datetime), not a single Due value.\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}","request_id":"694bc336-097f-47b4-af5e-f27c563f057a"}\n at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200927 tokens > 200000 maximum"},"request_id":"req_011CacR9jVYeyofecLBSG9mo"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200927 tokens > 200000 maximum"},"request_id":"req_011CacRn2qLJgqX3ZoTro3mj"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt…

Root Cause

Bug Description This entire session has been a waste because Claude queried my code base to suggest MCP servers that would be useful, then recommended that I remove them and then was unable to do so.

Code Example

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button \"Close\" (button) - This is the close button for the cookie banner dialog, which matches the query \"Close cookie banner button\"\n\nactions[1] (form_input) failed: Element type \"BUTTON\" is not a supported form input (1 completed, 4 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed \"$750,000\"\n\nactions[2] (form_input) failed: Element type \"DIV\" is not a supported form input (2 completed, 2 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type \"DIV\" is not a supported form input (0 completed, 1 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {\"name\":\"APIResponseError\",\"code\":\"validation_error\",\"status\":400,\"headers\":{},\"body\":\"{\\\"object\\\":\\\"error\\\",\\\"status\\\":400,\\\"code\\\":\\\"validation_error\\\",\\\"message\\\":\\\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. `date:Due:start`, optional `date:Due:end`, and optional `date:Due:is_datetime`), not a single `Due` value.\\\",\\\"request_id\\\":\\\"694bc336-097f-47b4-af5e-f27c563f057a\\\"}\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacR9jVYeyofecLBSG9mo\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacRn2qLJgqX3ZoTro3mj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt…
RAW_BUFFERClick to expand / collapse

Bug Description This entire session has been a waste because Claude queried my code base to suggest MCP servers that would be useful, then recommended that I remove them and then was unable to do so.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.126
  • Feedback ID: aa285444-86df-4e0f-a3a7-eb81e474f0cd

Errors

[{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:23.104Z"},{"error":"McpToolCallError: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.\nCause: The browser is already running for /Users/bhavenmurji/.cache/chrome-devtools-mcp/chrome-profile. Use a different `userDataDir` or stop the running browser first.\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T15:40:26.002Z"},{"error":"McpToolCallError: [find] Found 1 matching element\n\n- ref_77: button \"Close\" (button) - This is the close button for the cookie banner dialog, which matches the query \"Close cookie banner button\"\n\nactions[1] (form_input) failed: Element type \"BUTTON\" is not a supported form input (1 completed, 4 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:11:55.220Z"},{"error":"McpToolCallError: [computer:left_click] Clicked at (405, 632)\n[computer:type] Typed \"$750,000\"\n\nactions[2] (form_input) failed: Element type \"DIV\" is not a supported form input (2 completed, 2 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:12:22.359Z"},{"error":"McpToolCallError: actions[0] (form_input) failed: Element type \"DIV\" is not a supported form input (0 completed, 1 remaining)\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:15:05.856Z"},{"error":"McpToolCallError: {\"name\":\"APIResponseError\",\"code\":\"validation_error\",\"status\":400,\"headers\":{},\"body\":\"{\\\"object\\\":\\\"error\\\",\\\"status\\\":400,\\\"code\\\":\\\"validation_error\\\",\\\"message\\\":\\\"Date type must be expanded: Due. For date properties, provide the expanded SQLite date keys (e.g. `date:Due:start`, optional `date:Due:end`, and optional `date:Due:is_datetime`), not a single `Due` value.\\\",\\\"request_id\\\":\\\"694bc336-097f-47b4-af5e-f27c563f057a\\\"}\",\"request_id\":\"694bc336-097f-47b4-af5e-f27c563f057a\"}\n    at pg5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at wU7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:26:06.406Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T17:41:57.489Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacR9jVYeyofecLBSG9mo\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:40:40.647Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 200927 tokens > 200000 maximum\"},\"request_id\":\"req_011CacRn2qLJgqX3ZoTro3mj\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:48:49.984Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt…

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to stop the running browser instance or use a different userDataDir to resolve the McpToolCallError caused by a browser already running.

Guidance

  • Stop the running browser instance before attempting to run multiple browser instances.
  • Use the --isolated flag to run multiple browser instances.
  • Check the userDataDir configuration to ensure it is not being used by another process.
  • Verify that the userDataDir path is correct and has the necessary permissions.

Example

No code snippet is provided as the issue is related to configuration and process management.

Notes

The issue seems to be related to the McpToolCallError exception, which is caused by a browser already running. The error messages suggest using a different userDataDir or stopping the running browser instance. However, the content was truncated, and some details might be missing.

Recommendation

Apply workaround: Stop the running browser instance or use a different userDataDir to resolve the issue, as the error messages suggest that this is the root cause of the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] MCP server removal fails after auto-recommendation [1 participants]