Critical Risk →

uninstall_extension

Uninstalls a Chrome extension by its ID.

How to control uninstall_extension ↓

What uninstall_extension does on Chrome DevTools

AI agents call uninstall_extension to permanently remove resources in Chrome DevTools — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Critical Risk

Why uninstall_extension needs a policy

Uninstalling an extension removes it from the browser permanently; the user would need to reinstall it manually. This is an irreversible destructive action with high blast radius if misused, as it could silently remove security, productivity, or critical browser extensions.

From the tool's definition 'Uninstalls a Chrome extension by its ID' — uninstallation is an irreversible removal action

Documented attack patterns abuse exactly the kind of access uninstall_extension gives an agent:

How to control uninstall_extension

PolicyLayer is an MCP gateway — it sits between your AI agents and Chrome DevTools, and nothing reaches the server without passing your rules. This is the rule we recommend for uninstall_extension:

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "uninstall_extension"
  ]
}

uninstall_extension disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register Chrome DevTools — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about uninstall_extension

What does the uninstall_extension tool do? +

Uninstalls a Chrome extension by its ID. It is categorised as a Destructive tool in the Chrome DevTools MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on uninstall_extension? +

Register the Chrome DevTools MCP server in PolicyLayer and add a rule for uninstall_extension: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Chrome DevTools. Nothing to install.

What risk level is uninstall_extension? +

uninstall_extension is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit uninstall_extension? +

Yes. Add a rate_limit block to the uninstall_extension rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block uninstall_extension completely? +

Set action: deny in the PolicyLayer policy for uninstall_extension. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides uninstall_extension? +

uninstall_extension is provided by the Chrome DevTools MCP server (ChromeDevTools/chrome-devtools-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Chrome DevTools tool call.

Start from Chrome DevTools, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

50 Chrome DevTools tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.