Skip to content

fix(mcp): disable chromium sandbox on linux for undefined channel - #42466

Open
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix-mcp-chromium-sandbox-linux
Open

fix(mcp): disable chromium sandbox on linux for undefined channel#42466
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix-mcp-chromium-sandbox-linux

Conversation

@wasim-builds

Copy link
Copy Markdown

Fixes #42452

When using MCP on Linux with the default bundled chromium (where channel is undefined), the browser launch would fail with Chromium sandboxing failed!.

This PR treats an undefined channel the same as 'chromium' and 'chrome-for-testing' when deciding the chromiumSandbox default for Linux in validateBrowserConfig. This matches the behavior of the bundled browser in other launch contexts and ensures it works out of the box.

Fixes microsoft#42452

Treats an undefined channel the same as 'chromium' and 'chrome-for-testing' when deciding the sandbox default on Linux in the MCP config. This ensures the bundled downloaded browser works out of the box.
Copilot AI lite review requested due to automatic review settings August 30, 2026 11:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: MCP config enables the chromium sandbox for the bundled browser on linux

2 participants