Skip to content

Feature request: Support incognito/isolated browser contexts in new_page tool #1985

Closed

Description

@AniAko

Is your feature request related to a problem? Please describe.

Feature Request

Summary

Add support for opening incognito (private) browser windows via the new_page tool,
either as a parameter (incognito: true) or via a dedicated tool.

Describe the solution you'd like

Proposed Solution

  • Add an incognito: boolean parameter to new_page
  • Or a --incognito CLI flag that launches Chrome in incognito mode by default
  • Alternatively, support launching a second Chrome instance via --browser-url with
    a user-data-dir that has no cached NTLM tokens

Describe alternatives you've considered

Motivation

The current isolatedContext parameter creates isolated browser contexts within the
same Chrome process, which is useful for cookie/storage isolation. However, it does not
help when testing applications that use Windows Integrated Authentication (NTLM/Kerberos).

In Windows Auth applications, credentials are resolved at the OS level (SSPI), so
isolated contexts still pass through the same Windows identity. A true incognito window
(separate process, separate credential cache) would allow agents to test the app as
a different Windows user — extremely useful in Windows Authentication Applications.

Additional context

Use Case

Testing role-based access control in ASP.NET Core Blazor Server apps with Windows
Authentication, where different AD group memberships result in different UI behavior.
Currently impossible to test multiple user roles via DT-MCP in the same session.

Activity

  1. added theissue type on May 1, 2026
  2. OrKoN commented on May 2, 2026

    @OrKoN
    Collaborator

    Thanks for reporting, I do not think we are going to support any OS-specific features and isolated profiles behave very similarly to incognito (same implementation in Chrome). Can you provide a test app to demonstrate what does not work?

    Also, you can launch multiple MCP servers with different --user-data-dir= to represent totally isolated Chrome instances. With --chrome-arg you can pass any arguments to the Chrome instance. See for https://github.com/ChromeDevTools/chrome-devtools-mcp#configuration all configuration options.

  3. AminDhouib commented on Jun 25, 2026

    @AminDhouib

    Our fork supports spawning multiple fully isolated browser instances simultaneously. Each one gets its own cloned profile directory with separate cookies, storage, and session state.

    https://github.com/DevinoSolutions/stealth-chrome-devtools-mcp

  4. natorion commented on Oct 23, 2026

    @natorion
    Contributor

    Closing as not planned: we don't plan to support OS-specific authentication modes. Isolated contexts behave like incognito. For a completely separate browser, run a second server with its own --user-data-dir. Feel free to keep discussing here.

  5. OrKoN commented on Oct 23, 2026

    @OrKoN
    Collaborator

    Actually, the support for isolated contexts was added a while ago (together with page id routing): https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/tool-reference.md#new_page

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions