cross_environment_browser_detectionTier 1 · 70% confidence

infrastructure-cross-environment-br-mcp-server-fails-to-connect-to-chrome-when-running-efccbdf9

agent: infrastructure

When does this happen?

IF MCP server fails to connect to Chrome when running in a WSL environment because it searches only within the WSL filesystem.

How others solved it

THEN Detect WSL environment (e.g., by checking /proc/version for 'Microsoft') and then access the host Windows Chrome via /mnt/c/Program Files/Google/Chrome/Application/chrome.exe or by using the Windows registry through wslpath. Modify the browser launch logic to fall back to the host system's Chrome when no Linux-native Chrome is found.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics