Chrome DevTools MCP security: what the server can read and change

What the Chrome DevTools MCP server lets a coding agent read and change in a live browser, which tools carry the most risk, and which documented flags and connection modes narrow that exposure.

On this page

Does Chrome DevTools MCP meet our browser access controls?

The server has no built-in user authentication, OAuth, SSO or admin console. A team that wants coding agents to drive Chrome will therefore get its access control from three places: the server flags it starts with, the MCP client configuration that decides which server and tools an agent can reach, and the browser profile the server attaches to. The published documentation describes no enterprise tier with central enforcement for this server. Before approving rollout, ask the vendor in writing whether any managed or enterprise option exists for Chrome DevTools MCP, and do not assume one from the existence of other Google or Chrome enterprise products.

The documented flags narrow what the agent can do. --blockedUrlPattern blocks listed URL patterns for navigations and subresources, and --allowedUrlPattern allows only listed patterns, which the configuration guide says requires Chrome 149 or later. Category flags such as --categoryNetwork=false, --categoryPerformance=false and --categoryEmulation=false remove tool groups, and the extensions, PWA and third-party categories default to false. These settings live in the local launch configuration, so a developer can change or remove them unless the organization controls the client configuration distributed to staff. Test the flags against the tool reference, not only the flag names, and confirm that a blocked URL cannot be reached through another tool.

Sign-in, enforcement and logging remain the organization's responsibility. The server runs as a local process started by the MCP client, so identity is whatever operating system account launches it, and the server does not record who asked for which action. Decide which profile the server may use, and prefer --isolated for sessions that do not need a signed-in profile, since its temporary profile is cleared when the browser closes. Document these choices, check that they survive a fresh developer setup, and log the browser activity your own endpoint or proxy tooling can see. Confirm each control in your own environment before relying on it.

Which controls are built in, optional or missing

This table maps each control a reviewer may ask about to its status in the public Chrome DevTools MCP package: built in, set by a flag, handled outside the component, or not available. The edition column reflects the public open-source package, because no enterprise plan is documented. Read the status column first: most restriction comes from flags set at launch, and common enterprise controls such as SSO, an admin console and audit logging are not documented.

ControlStatusEditionWhat the published documentation says
Sign-in and user authenticationNot availablePublic open-source packageNo built-in user authentication, OAuth or SSO is documented. Access depends on the MCP client and the local machine account.
Admin policyNot availablePublic open-source packageNo admin console or central policy is documented. Limits are set per server through flags and the MCP client's own configuration.
URL allow and block listsConfigured by flagPublic open-source package--blockedUrlPattern blocks listed navigations and subresources. --allowedUrlPattern allows only listed patterns and requires Chrome 149 or later.
Tool category exclusionConfigured by flagPublic open-source packageFlags such as --categoryNetwork=false, --categoryPerformance=false and --categoryEmulation=false. Extensions, PWA and third-party categories default to false.
Isolated profileConfigured by flagPublic open-source package--isolated uses a temporary profile that is cleared when the browser closes. The default profile directory persists between runs.
Auto-connect permissionBuilt in dialogPublic open-source package--autoConnect (Chrome 144 or later) shows a permission dialog. Once approved, the server can access all open windows for the selected profile.
Remote debugging portOutside componentPublic open-source packageOpening a port lets any application on the machine connect and control the browser. Chrome requires a non-default user data directory for this mode.
Audit loggingNot documentedPublic open-source packageThe documentation does not describe server-side action logs. Ask the maintainers and test what the client and Chrome record.
Data residencyNot documentedPublic open-source packageNo data location or retention terms are documented for the server. Confirm where browser content goes once the MCP client processes it.

What an agent can read and change once connected

The most important fact for a reviewer is that the Chrome DevTools MCP server is designed to expose the browser itself. The project's README states that the server exposes the content of the browser instance to MCP clients, allowing them to inspect, debug and modify any data in the browser or DevTools. A connected coding agent therefore does not just see the pages it was asked about. It can reach whatever the browser can reach, including the contents of open tabs and the page state of any site a user has signed into. The same README advises against sharing sensitive or personal information that you do not want MCP clients to see, which is a clear signal that the control belongs in the deployment decision, not in the agent's good behavior.

The tools fall into groups, and two groups carry most of the risk. The input automation group includes 10 tools, such as click, fill and upload_file, so an agent can submit forms, type into fields and attach local files to a page. The network, performance, emulation and debugging group includes 8 tools, among them evaluate_script, which runs script in the context of a page. Script execution is the single most consequential capability on the server, because it can read the DOM, storage and authenticated responses, and it can alter what a user sees. Before approval, confirm the exact tool list for the version you will pin, using the tool reference, and record which groups the agent will be allowed to call.

Exposure depends on which profile the server attaches to. The advanced usage guide notes that the default profile directory is not cleared between runs, so cookies and sessions from an active profile persist and become reachable by the agent once a page loads. A user's open windows can also be in scope. The --autoConnect option, available from Chrome 144, shows a permission dialog, but the README-level guidance is that the server then has access to all open windows for the selected profile. The server also starts the browser only when a client calls a tool that needs one, so connecting the client alone does not open a browser. That makes the first tool call the moment exposure begins, and policy should treat that call as a controlled event. Ask engineering to state which profile each developer's agent will use before the rollout is approved.

Which tools carry the most risk

The Chrome DevTools MCP server exposes whatever the browser holds to the agent, so risk depends on which tool groups are enabled. The cards below cover the tools that read or change the most sensitive data, and the documented flags that can exclude each category. Check each group against the sites your staff browse before deciding which categories stay on.

Script execution in page context

The evaluate_script tool runs arbitrary JavaScript in the page the agent is attached to. That code can read cookies, local storage, form values and anything the page's own scripts can see, and it can change the page's behavior. Treat it as the highest-risk tool in the server. Confirm whether your coding agent needs it at all, and check which tool groups your MCP client exposes to the agent by default.

Tool reference

Input automation and file upload

The input automation group includes 10 tools such as click, fill and upload_file. Together they can submit forms, fill in account or payment details, and attach files from the local machine to a web page. A file upload sends local content to whatever site is open, so the risk extends beyond the browser. Ask which pages the agent may act on, and whether the upload path can reach sites outside your approved list.

Network request and response inspection

The network group lets the agent read request and response data, which can include session tokens, authorization headers and personal information returned by internal APIs. The README warns that the server exposes browser content so clients can inspect and modify data. Set --categoryNetwork=false when the agent does not need traffic inspection, and avoid sessions where staff are signed in to production systems.

Emulation, performance and navigation

Emulation changes how the browser presents itself, such as viewport and device settings. Performance tools record traces that can contain URLs, page content and timing data. Navigation tools send the browser to any address the agent chooses, which is why the URL controls matter. Exclude emulation and performance with --categoryEmulation=false and --categoryPerformance=false where they are not needed, and use --blockedUrlPattern or --allowedUrlPattern to limit navigation.

Extensions, PWA and third-party categories

The configuration guide notes that the extensions, PWA and third-party categories default to false, so they are off unless you enable them. Enabling any of them widens what the agent can reach inside the browser. Confirm the defaults on your installed version, and record any enabled category in your approval so it is reviewed rather than inherited through a config change.

Configuration guide

Four connection modes decide what the agent can see

The MCP client starts the server as a local process through npx, but the browser does not open until an agent calls a tool that needs one. From there the server connects in one of four modes: the default profile, which keeps its data between runs; an isolated temporary profile, cleared when the browser closes; a remote debugging port on a non-default data directory, which any application on the machine can reach; or auto-connect, which gives access to every window of the selected profile once the user approves a dialog. Every mode then passes through the URL allow and block patterns, which apply to navigations and subresources. Check which mode each developer uses and whether the debugging port stays closed.

Connection modes and URL filters the agent passes through before reaching pages.

How the answer changes by connection mode

The isolated option runs the browser with a temporary profile instead of the developer's own. According to the advanced usage guide, that profile is cleared when the browser closes, so cookies, saved logins and browsing history from the developer's real account are not part of the session. The remaining exposure is what the agent does inside the temporary browser, such as pages it visits, forms it fills and any test credentials typed into it.

  • Data exposure: Only what the agent loads or enters during the session, plus whatever the pages it visits return.
  • Documented safeguard: The temporary profile is removed when the browser closes, so nothing persists between runs.
  • Still to decide: Which test accounts and environments the agent may reach, and whether those environments hold production or customer data.
  • Still to decide: Whether tool categories such as evaluate_script or network inspection should remain enabled for this use.
  • Still to decide: Who owns the test accounts and how their credentials are supplied to the browser.

Confirm the test environment contains no real personal or regulated data before approving this mode for routine use.

Using URL allow and block patterns to narrow the browser

URL patterns are the first place to narrow what the agent can reach in the browser. The configuration guide documents two flags for this. --blockedUrlPattern blocks the listed URL patterns for both navigations and subresources, so a page or asset that matches is not loaded. --allowedUrlPattern works the other way: it permits only the listed patterns. Before choosing between them, confirm the exact pattern syntax in the configuration guide, and test each pattern against the internal hostnames, admin consoles and file-sharing domains your staff actually use, because a pattern that misses a subdomain leaves a gap.

A deny list is easier to start with, since it keeps the agent's normal work running and blocks known sensitive sites such as banking portals, HR systems or password managers. Its weakness is that anything you did not anticipate stays reachable. An allow list is stricter: the agent can reach only the sites you name, such as your staging application and a documentation domain. The cost is maintenance, because every legitimate new domain needs an entry. For most teams handling sensitive work, an allow list is the safer default, but it only works if you confirm that your Chrome version supports --allowedUrlPattern. The guide states it requires Chrome 149 or later, so check the browser version on every machine that runs the server before you depend on it.

URL filters do not control what the agent does on a page it is allowed to reach. An allowed page can still be read in full through the debugging tools, and the input automation tools can click, fill and upload files there. Pair URL patterns with tool category exclusions such as --categoryNetwork=false or --categoryPerformance=false, and with the --isolated profile so the agent does not inherit your logged-in sessions. Treat URL filtering as one layer that narrows reach, and have your reviewers test whether the agent can still act harmfully on the pages you left open.

Gaps the server leaves for the organization to cover

The Chrome DevTools MCP server does not ship with sign-in, per-user authorization, an admin console, an enterprise audit log or residency controls. Each gap below pairs with a compensating control your team builds around the server, and each control depends on what the vendor documents, so confirm support for every item before approving rollout.

No built-in sign-in or per-user authorization

The server has no user authentication, OAuth or SSO of its own. Anyone who can start the local process through the MCP client acts with the browser that process controls, so access control rests on the client and the server flags. Use endpoint and client configuration management to pin the server definition, and confirm with the MCP client vendor how it authenticates its own users. Ask whether the browser profile tied to the agent belongs to one person or is shared.

Configuration guide

No admin console or central policy

No central console lets an administrator push allowed flags, block tool categories or revoke the server across a fleet. Compensate with managed MCP client configuration that fixes the launch command and arguments on each machine, and an endpoint policy that controls which processes may start npx packages. Confirm with the MCP client vendor whether it can enforce a server allowlist centrally and whether users can override it locally.

No documented enterprise audit log

The documentation describes no audit trail of tool calls, script evaluations or navigations recorded by the vendor. A wrapper that gates the process can record the arguments it passes and the time each session starts, while endpoint log collection captures process activity. Neither shows what the agent did inside a page, so ask the vendor whether any action-level logging exists before you rely on it for investigations.

No documented data residency controls

The documents describe no region selection or data location commitments for the browser content, network traffic or telemetry the server handles. Browser content stays on the machine the server runs on, but pages sent to an AI model leave through the client. Use endpoint data loss prevention and network egress rules to bound where traffic goes, and ask the vendor in writing to confirm any residency terms that apply to telemetry.

Sensitive data in the browser

The README says the server exposes the content of the browser instance to MCP clients, and advises against sharing sensitive or personal information with them. Because no vendor control filters page content, use dedicated test accounts with no production data and a browser profile that holds no saved sessions. Confirm with your security team which internal applications may be opened by the agent at all.

Server README

Order of work before approving the browser server

This sequence turns the server's broad default access into a documented, tested configuration that a reviewer can approve. Each step produces a record the security team can check before any staff member connects a coding agent to a live browser.

  1. Define the permitted use cases first

    Agree in writing which tasks the agent may perform, such as inspecting a staging page or debugging a local app, and which sites and data it must never touch. Owners are the engineering lead and the security reviewer. The output is a short approved-use statement that every later setting must match. Note that the README disclaims that the server exposes the full content of the browser instance to MCP clients, so the statement should name the sites and accounts in scope rather than assume the browser is empty.

  2. Pick the browser profile mode

    Decide between a temporary profile, a dedicated non-default profile, or an attached existing profile, and record the choice. The advanced usage guide says the --isolated option uses a temporary profile that is cleared when the browser closes, while the default profile directory is not cleared between runs. It also warns that --autoConnect gives the server access to all open windows for the selected profile after the user approves a dialog. The output is a recorded profile decision with the reason for it.

  3. Set URL restrictions and category exclusions

    Configure --allowedUrlPattern so the server can reach only approved origins, or at minimum --blockedUrlPattern for known sensitive sites. The configuration guide notes that --allowedUrlPattern requires Chrome 149 or later, so confirm the browser version first. Then disable tool categories the use case does not need, such as --categoryNetwork=false, --categoryPerformance=false and --categoryEmulation=false. Verify the flags by running a test session and checking that a blocked URL and an excluded category both fail. The evidence is the saved flag set and the test results.

  4. Confirm Chrome and Node.js versions

    Check that the browser is Google Chrome or Chrome for Testing, since the README says only these are officially supported, and that Node.js, npm and Chrome meet the README requirements of a Node.js LTS version and current stable Chrome or newer. Record the exact versions on the machines that will run the server. Other Chromium-based browsers may work but are not guaranteed, so treat them as out of approval scope. The output is a version inventory that matches the approved baseline.

  5. Lock the MCP client configuration

    Edit the MCP client config so the server launch arguments carry the approved flags, and remove any setting that adds categories the use case does not need. Because the README setup starts the server through npx with the package chrome-devtools-mcp@latest, consider whether the client should pin a version you have reviewed rather than follow latest. Restrict who can edit the config file. The evidence is a version-controlled config snapshot and a note on who can change it.

  6. Test with synthetic accounts

    Run the approved tasks against synthetic test accounts and sites that hold no real customer or employee data. Confirm that evaluate_script, upload_file and form-filling actions behave as the restrictions predict, and that the server does not start the browser until a tool that needs one is called. Record which tools were exercised and what each could reach. This step shows whether the restrictions hold in practice, so a failing test returns the work to the configuration step.

  7. Review logs, local data and retention

    Check where the browser profile, local logs and any debugging output are written, who can read them, and how long they remain. Confirm that remote debugging ports are not open beyond the intended session, since the advanced usage guide warns that any application on the machine can connect to one. Also check what usage statistics the server sends, and verify the controls for them against the sibling data privacy topic. The closing output is a signed review record with the retention period set by your own policy.

What a security reviewer asks to see

This table lists what a security reviewer should request before approving the Chrome DevTools MCP server, and where each item comes from. Use it as a checklist: each row names the artifact to collect, the source that defines it, and the common gap to look for. Most artifacts are configuration values or versions that the organization itself must record.

Reviewer requestWhere it comes fromWhat to check for
Approved flag set for the serverConfiguration guide flags, such as --blockedUrlPattern, --allowedUrlPattern and the category flagsEvery flag in the launch command is written down, with a reason for each, and matches the approved baseline
Profile mode per teamAdvanced usage guide on --isolated and the default profile directoryEach team states whether it uses a temporary isolated profile or a named profile, and why
URL policyConfiguration guide URL pattern flags and their Chrome version requirementA written allow or block list exists, and the Chrome version in use supports the allowlist flag
Tool category exclusionsConfiguration guide category flags and the tool reference groupsCategories not needed for the team's work, such as network or emulation, are disabled and the setting is recorded
Chrome and Node versions in useREADME requirements and the official Chrome support statementChrome is Google Chrome or Chrome for Testing, and the Node.js LTS and npm versions are recorded per endpoint
Test results with synthetic dataTool reference for input automation and evaluate_script, plus the README advice on sensitive dataTest sessions used synthetic accounts, and results show what an agent could read or change
Remote debugging and autoConnect settingsAdvanced usage guide warnings on remote debugging ports and the autoConnect permission dialogNo open debugging port is left on endpoints, and any autoConnect use is tied to a known profile
Endpoint configuration baseline and log locationsThe organization's own endpoint management tool and the local paths it controlsThe baseline is pushed to managed machines, and the owner knows where browser profile data and logs are kept

Questions buyers ask before approving the browser server

Can single sign-on be added to the Chrome DevTools MCP server?

The server has no built-in single sign-on, OAuth or admin console, so there is no login screen for SSO to attach to. Access is controlled by server flags, the MCP client's own configuration and the Chrome profile the server attaches to. Your identity controls therefore sit in the workstation sign-in, the MCP client's login and managed settings, and who can start the server at all. Confirm with your MCP client vendor which of those settings enforce identity and can be centrally managed. A rollout review by DeployOpen tests the SSO and admin settings of the client setup, including what the client enforces, but it does not add an authentication layer to the server itself.

Does the Chrome DevTools MCP server log the actions an agent takes?

The documentation reviewed does not describe a built-in audit log of tool calls, so do not assume one exists. Ask the vendor directly, and check what your MCP client records about tool invocations and what the local machine keeps. Test the setup by running a short set of tool calls against a test profile, then confirm what remains on disk and in client logs afterward. For regulated teams the key gap is attribution: browser actions may be recorded as the browser user rather than as a named agent identity. If your review requires per-action evidence, that requirement should be stated in the scope before the rollout is approved.

Is the --isolated option enough for production testing?

No, not by itself. The --isolated option uses a temporary profile that is cleared when the browser closes, which limits leftover browsing data on disk. It does not limit what the agent can do on the sites it visits, and production sites carry real accounts, real records and real side effects. A safer baseline combines several controls: use dedicated test accounts only, block production admin paths with --blockedUrlPattern, consider --allowedUrlPattern (which requires Chrome 149 or later) to allow only named hosts, exclude tool categories you do not need, and avoid opening a remote debugging port. Note that the default profile is not cleared between runs, so keep production sessions out of it.

Which Chrome DevTools MCP tool is the riskiest?

The evaluate_script tool, in the debugging group, is the riskiest because it runs script in the context of the page, so it can read and change anything that page can reach, including session data and page content. Input automation tools are next: fill can enter credentials or sensitive data into forms, and upload_file can attach a local file to a site. Network tools expose request and response content, which may include tokens or personal data. Review each tool's behavior in the tool reference, then check the configuration guide for the flags that exclude categories. Confirm which category flag governs evaluate_script before you rely on it in a policy.

What should an organization do itself and what should it hire help for?

Internal teams usually own the decisions: which developers may run the server, which browser profiles and sites it may reach, which tool categories are disabled, and how the MCP client's settings are managed and reviewed. Outside help is most useful for independent testing of prompt injection, tool permissions, credential handling and admin settings. DeployOpen's AI agent rollout security review covers that testing before or after rollout and delivers a findings report with fixes and a retest. Scope, deliverables and timelines for that work are agreed in writing before it starts. Internal staff can then keep the configuration current and repeat the checks themselves when settings change.

What drives the effort of securing this browser server?

The main drivers are the number of developers and MCP clients, whether the browsers hold production or regulated sessions, and how many sites need blocking or allowlisting. Effort also rises if you need central enforcement through the client's managed settings, if SSO has to be built around the client, or if auditors want per-action evidence the server does not produce. Costs fall into one-time work (review, initial configuration and the first retest) and recurring work (retesting after changes, and reviewing updates, since the install config points at the latest published package). When requesting a quote, ask for the written scope, the listed deliverables, the retest terms and whether upgrade checks are included.

When Chrome DevTools MCP is acceptable and when it is not

Chrome DevTools MCP is acceptable on an isolated test profile that holds no privileged sessions, with tool categories excluded and URL allow lists applied to non-sensitive sites. The server exposes the content of the browser instance to MCP clients, so the browser profile itself is the boundary that matters most. A profile with no saved logins, no password manager extension and no access to internal consoles limits what the agent can inspect or modify, even if a prompt injection succeeds. Pair that profile with --categoryNetwork=false, --categoryPerformance=false and --categoryEmulation=false where the work does not need them, and use --allowedUrlPattern (which requires Chrome 149 or later) to confine navigation to the sites the task needs. Confirm your Chrome version before relying on the allow list, because the pattern fails to protect anything on an older build.

Chrome DevTools MCP is not acceptable on a live profile holding privileged sessions, such as a developer's daily browser signed in to cloud consoles, admin portals, banking or internal SaaS. The README advises against sharing sensitive or personal information with MCP clients, and the server has no built-in user authentication, OAuth, SSO or admin console, so nothing in the product separates the agent's reach from the user's session cookies. Do not use --autoConnect (Chrome 144 or later) on such a profile unless the organization accepts that the server gets access to all open windows for the selected profile once the user approves the permission dialog. The approval prompt is a single user decision, not a policy control, so it does not replace an approved policy. Confirm with your endpoint team whether any remote debugging port is open on managed devices, since the advanced usage guide warns that any local application can connect to one and control the browser.

Before approving any use, require the team to confirm four points in writing: the profile type, the tool categories enabled, the URL restrictions and the Chrome build. Use --isolated where the temporary profile suits the task, because it is cleared when the browser closes, and note that the default profile directory persists between runs. Treat the server as a local process started by the MCP client, so the client's configuration and the machine's controls decide what it can reach. Where a team cannot meet these conditions, the sound decision is to restrict the tool to a dedicated test host or to choose a different browser automation option. Review the decision again whenever the tool list or Chrome release changes, using the Chrome DevTools MCP configuration guide as the reference for current flags.

How DeployOpen tests and hardens a coding agent browser setup

DeployOpen reviews how Chrome DevTools MCP is set up for a team, from what the agent can read and change in the browser to which tools, URL patterns and profile settings are allowed. The work covers security testing of the agent setup, hardening through server flags and client configuration, and a written findings report with fixes and a retest.

How we scope

  • The written scope lists which browser profiles, client tools and developer machines the review covers before work starts.
  • We record which tool groups agents may use, including input automation, network, debugging and performance, and which are excluded.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing, and ongoing support is available as a retainer.

How we build

  • We test prompt injection and misuse paths, such as an agent being steered to a sensitive page or to evaluate_script against logged-in sessions.
  • We check the remote debugging port, user data directory and isolated profile settings against the team's intended exposure.
  • We review URL allow and block patterns, category flags and MCP client configuration, and confirm each control works as documented.

How we hand over

  • You receive a findings report that ranks each exposure, explains the evidence and names the configuration change that closes it.
  • The hardened configuration is documented so your security and engineering teams can review the flags, profile choices and client settings.
  • We retest after fixes are applied and record what passed, what remains and which items need your decision.

How we support

  • Retainers cover re-testing when Chrome DevTools MCP versions, flags or client settings change.
  • Ongoing reviews can cover new agent tools or additional developer machines added to the rollout.
  • Evidence for your security questionnaire or internal approval can be prepared from the tested and documented setup.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.