claude-code - 💡(How to fix) Fix Browser MCP tools disappear mid-session (mcp__browsermcp__* become unavailable) [2 comments, 2 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#57827Fetched 2026-05-11 03:24:19
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×4commented ×2closed ×1

Error Message

  1. Direct invocation returns Error: No such tool available: mcp__browsermcp__browser_snapshot
  • No error message or notification when tools become unavailable

Fix Action

Workaround

None found within the session. User must restart Claude Code or run /mcp to reconnect.

Code Example

"browser": {
     "command": "/home/user/.npm-global/bin/mcp-server-browsermcp"
   }
RAW_BUFFERClick to expand / collapse

Problem

Browser MCP server tools (mcp__browsermcp__browser_navigate, mcp__browsermcp__browser_click, etc.) become unavailable mid-session even though the MCP server process is still configured and the browser extension shows "Connected".

Steps to Reproduce

  1. Start Claude Code session with Browser MCP configured in ~/.claude/config.json:
    "browser": {
      "command": "/home/user/.npm-global/bin/mcp-server-browsermcp"
    }
  2. Tools are available at session start (listed as deferred tools in system-reminder)
  3. Use the browser tools successfully (navigate, click, type, etc.)
  4. After some time or after heavy tool usage, the tools disappear
  5. ToolSearch returns "No matching deferred tools found" for any browsermcp query
  6. Direct invocation returns Error: No such tool available: mcp__browsermcp__browser_snapshot
  7. The browser extension still shows "Connected" status

Expected Behavior

Browser MCP tools should remain available for the entire session as long as the MCP server is running.

Actual Behavior

  • Tools work initially, then silently disconnect
  • No error message or notification when tools become unavailable
  • ToolSearch stops finding them
  • Direct calls fail with "No such tool available"
  • No way to reconnect the MCP server from within the session

Additional Context

  • The MCP server name in config.json is browser but tools are registered as mcp__browsermcp__* (the server self-reports as "browsermcp")
  • ListMcpResourcesTool returns empty even when other MCP servers (computer-use, excel-mcp) still work
  • The ps aux | grep browsermcp shows no process running after disconnect, suggesting the server process died silently
  • Claude Code version: 2.1.76
  • OS: Ubuntu Linux 5.15.0-170-generic

Workaround

None found within the session. User must restart Claude Code or run /mcp to reconnect.

Impact

This blocks any workflow that requires sustained browser interaction (e.g., creating GitHub Apps, filling web forms, multi-step browser automation). The disconnect often happens at critical moments during multi-step browser tasks.

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