extension_path
Get absolute path to the unpacked Chrome extension directory for manual installation.
This record as markdown: /tools/335234131-agent-browser-mcp/extension-path.md
What extension_path does on Agent Browser
AI agents call extension_path to retrieve information from Agent Browser without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why extension_path is rated Low
This is a Read operation—it retrieves file system information about an extension's location without modifying, deleting, or executing anything. However, severity is elevated to 'medium' because the returned path could be used by a malicious agent in conjunction with other tools on this server (particularly execute_js or cdp_command) to locate, inspect, or manipulate extension code that may contain sensitive data or…
From the tool's definition Tool retrieves the absolute path to a Chrome extension directory. The description explicitly states 'Get absolute path' which is a read/query operation with no modification or side effects.
Attacks that exploit this kind of access
The rule that runs extension_path safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Agent Browser, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For extension_path, this is the rule to start with:
extension_path is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Agent Browser, apply this rule, and every extension_path call is checked against it from then on.
Questions about extension_path
Get absolute path to the unpacked Chrome extension directory for manual installation. It is categorised as a Read tool in the Agent Browser MCP Server, which means it retrieves data without modifying state.
Register the Agent Browser MCP server in PolicyLayer and add a rule for extension_path: 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 Agent Browser. Nothing to install.
extension_path is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the extension_path 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.
Set action: deny in the PolicyLayer policy for extension_path. 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.
extension_path is provided by the Agent Browser MCP server (335234131/agent-browser-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Agent Browser, and thousands of servers like it.
This server
Across the catalogue