Skip to content

[Bug] Claude in Chrome Native Host not supported on this platform (WSL2) #14445

Description

@Zate

I was excited to try out the Chrome integration Beta, but it appears that using chrome under WSL2 isnt supported. Playwright works just fine, the addon is installed, but I get the following errors.

**Bug Description**
claude --allow-dangerously-skip-permissions --chrome
2672 | Never reuse tab IDs from a previous/other session. Follow these guidelines:
2673 | 1. Only reuse an existing tab if the user explicitly asks to work with it
2674 | 2. Otherwise, create a new tab with mcp__claude-in-chrome__tabs_create_mcp
2675 | 3. If a tool returns an error indicating the tab doesn't exist or is invalid, call tabs_context_mcp to get fresh tab IDs
2676 | 4. When a tab is closed by the user or a navigation error occurs, call tabs_context_mcp to see what tabs are available
2677 | `;function mw$(H){if(cB()&&H!==!0)return!1;if(H===!0)return!0;if(H===!1)return!1;if(fA(process.env.CLAUDE_CODE_ENABLE_CFC))return!0;if(eW(process.env.CLAUDE_CODE_ENABLE_CFC))return!1;let $=R$();if($.claudeInChromeDefaultEnabled!==void 0)return $.claudeInChromeDefaultEnabled;return!1}function nSA(){let H=EM(),$=GPH.map((A)=>`mcp__claude-in-chrome__${A.name}`);if(H){let A=`"${process.execPath}" --chrome-native-host`;return hbD(A).then((L)=>bbD(L)),{mcpConfig:{[Eb]:{type:"stdio",command:process.execPath,args:["--claude-in-chrome-mcp"],scope:"dynamic"}},allowedTools:$,systemPrompt:lSA}}else{let A=kbD.fileURLToPath("file:///home/runner/work/claude-cli-internal/claude-cli-internal/src/utils/claudeInChrome/setup.ts"),L=NP.join(A,".."),I=NP.join(L,"cli.js");return hbD(`"${process.execPath}" "${I}" --chrome-native-host`).then((B)=>bbD(B)),{mcpConfig:{[Eb]:{type:"stdio",command:"node",args:[`${I}`,"--claude-in-chrome-mcp"],scope:"dynamic"}},allowedTools:$,systemPrompt:lSA}}}function fK1(){let H=jL(),$=iSA.homedir();swi | ... truncated

error: Claude in Chrome Native Host not supported on this platform
      at bbD (/$bunfs/root/claude:2677:1418)
      at bbD (/$bunfs/root/claude:2677:2137)
      at <anonymous> (/$bunfs/root/claude:2677:446)

Bun v1.3.4 (Linux x64 baseline)

**Environment Info**
- Platform: linux ( Linux <hotname_removed> 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
- Terminal: windows-terminal
- Version: 2.0.72
- Feedback ID: 4a7b4af1-dcaa-4c63-a6f1-0acc2c170b23

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"

Metadata

Metadata

Assignees

No one assigned

    Labels

    autocloseIssue will be closed automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions