feat: support experimental allowlist for navigate tool calls#1935
Merged
Conversation
nattallius
approved these changes
Apr 22, 2026
pull Bot
pushed a commit
to CrazyForks/chrome-devtools-mcp
that referenced
this pull request
Apr 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.23.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v0.22.0...chrome-devtools-mcp-v0.23.0) (2026-04-22) ### 🎉 Features * add an option to customize ffmpeg path ([ChromeDevTools#1937](ChromeDevTools#1937)) ([b377454](ChromeDevTools@b377454)) * support experimental allowlist for navigate tool calls ([ChromeDevTools#1935](ChromeDevTools#1935)) ([d502557](ChromeDevTools@d502557)) * support webm format in screencast ([ChromeDevTools#1934](ChromeDevTools#1934)) ([85b8993](ChromeDevTools@85b8993)) ### 📄 Documentation * clarify resource limitations around the number of tabs ([ChromeDevTools#1927](ChromeDevTools#1927)) ([42be7c3](ChromeDevTools@42be7c3)) ### 🏗️ Refactor * add support for CLI sessionIds in tests ([ChromeDevTools#1919](ChromeDevTools#1919)) ([82b67b0](ChromeDevTools@82b67b0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an experimental allowlist for the page navigate tool call (requires
--experimentalNavigationAllowlist, off by default). The feature uses a list of URLPatterns to decline navigations that land on disallowed URLs. If that happens, the client can update the allowlist and re-try. The purpose of the this feature is to offer additional guardrails on top of the MCP server. It does not restrict subresources or JS/iframe navigations in any way. The performance impact is minimized by turning off interception as soon as the navigation request is done.