Install
$ agentstack add mcp-serkan-ozal-browser-devtools-mcp-vscode-extension ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Browser DevTools MCP for VS Code & Cursor
> ## ⚠️ Deprecated — moved to IronBee DevTools > > This extension is deprecated and no longer maintained. It has been rebranded as IronBee DevTools. > Please uninstall this extension and install the new one to keep getting updates: > > 👉 IronBee DevTools on Open VSX (ironbee-ai.ironbee-devtools-vscode) > > When this extension is active, it will prompt you to switch automatically.
[](https://open-vsx.org/extension/serkan-ozal/browser-devtools-mcp-vscode) [](https://github.com/serkan-ozal/browser-devtools-mcp-vscode-extension) [](https://opensource.org/licenses/MIT)
Playwright-powered browser automation and debugging for VS Code and Cursor via the Model Context Protocol (MCP).
This extension integrates browser-devtools-mcp into your IDE, enabling AI assistants like GitHub Copilot and Cursor AI to interact with real web browsers for testing, debugging, and automation tasks.
Features
- 🌐 Browser Automation - Navigate, click, fill forms, and interact with web pages
- 📸 Screenshots - Capture full-page or element screenshots
- ♿ Accessibility - Run accessibility audits and get ARIA/AX tree snapshots
- 📊 Web Vitals - Measure Core Web Vitals (LCP, INP, CLS, TTFB, FCP)
- 🔍 Network Inspection - Monitor HTTP requests and responses
- 🎭 Request Mocking - Stub and mock API responses
- ⚛️ React DevTools - Inspect React components and elements
- 🔭 OpenTelemetry - Distributed tracing integration with trace context propagation
- 🎨 Figma Comparison - Compare pages with Figma designs
- 🐛 Non-Blocking Debugging - Tracepoints, logpoints, exceptionpoints, watch expressions, probe snapshots
- ⚡ Execute - Batch multiple tool calls in one request via JavaScript and
callTool(); on browser platformpage(Playwright Page) is available forpage.evaluate(),page.locator(), etc. - 🌐 Playwright Browsers - On first install/upgrade, the extension downloads the browsers selected in settings (default: Chromium + headless shell + ffmpeg) into Playwright’s normal cache using
playwright-core’s installer—nonpxrequired. VSIX builds setPLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1so binaries are not bundled. If that step fails for the Chromium stack, you may be prompted to use installed Google Chrome instead (Use system-installed browser). Run Browser DevTools MCP: Install Playwright Browsers... anytime to pick Chromium (default), Firefox, and/or WebKit: it updatesinstall.chromium/install.firefox/install.webkitto match and downloads those engines. - 📦 MCP Server - Shipped inside one universal VSIX (same artifact for all platforms). The package includes
sharp+@img/sharp-wasm32; native sharp/libvips prebuild variants are excluded from VSIX contents. No npm required at runtime; the extension runs the bundledbrowser-devtools-mcpwithnode.
Installation
From Open VSX Registry
- Open VS Code or Cursor
- Go to Extensions (
Ctrl+Shift+X/Cmd+Shift+X) - Search for "Browser DevTools MCP"
- Click Install
Or install via command line:
# VS Code
code --install-extension serkan-ozal.browser-devtools-mcp-vscode
# Cursor
cursor --install-extension serkan-ozal.browser-devtools-mcp-vscode
From VSIX
# VS Code
code --install-extension browser-devtools-mcp-vscode-x.x.x.vsix
# Cursor
cursor --install-extension browser-devtools-mcp-vscode-x.x.x.vsix
Registration: In Cursor the extension registers the MCP server via Cursor’s native MCP API (no mcp.json needed). In VS Code 1.96+ it uses vscode.lm.registerMcpServerDefinitionProvider. The server is started automatically when the extension is enabled.
Telemetry
The extension can send anonymous usage events (install/uninstall, browser install step, etc.) to help improve the product. The same opt-in/opt-out rules apply as for the bundled browser-devtools-mcp server. No PII is collected; only an anonymous ID in ~/.browser-devtools-mcp/config.json, plus event name and environment properties (e.g. extension version, OS, Node version).
- Events:
cursor_ext_activated/cursor_ext_deactivated(extension lifecycle),cursor_ext_installed(only when first-install/upgrade path ran and bundled MCP path resolved),cursor_ext_install_failed,cursor_ext_browser_installed/cursor_ext_browser_install_failed, andcursor_ext_uninstalled(when the extension is uninstalled and deactivate runs with the extension listed in.obsolete). MCP registration state is included where relevant (mcp_server_registered/mcp_server_unregistered). If telemetry is disabled (setting, env, or config), no events are sent. - Timing: Clients may batch or delay sending—events might not appear in analytics immediately.
TELEMETRY_ENABLE=falseand~/.browser-devtools-mcp/config.jsonapply to both the extension and the bundled MCP process (the extension forwards the parent environment to the server).
How to disable telemetry
- Setting (recommended): Set
browserDevtoolsMcp.telemetry.enabletofalsein VS Code/Cursor settings. The extension syncs this to~/.browser-devtools-mcp/config.jsonon activate and when the setting changes, so no telemetry events (including uninstall) are sent. - Environment variable: Set
TELEMETRY_ENABLE=falsebefore starting VS Code/Cursor. - Config file: Edit
~/.browser-devtools-mcp/config.jsonand set"telemetryEnabled": false.
MCP Server (bundled)
The browser-devtools-mcp package is a dependency of this extension and is included in the published VSIX with production node_modules. We publish a single universal VSIX where native sharp/libvips prebuild variants are excluded from the bundle and @img/sharp-wasm32 is included. @img/sharp-wasm32 is a direct extension dependency (aligned with the bundled sharp), and .npmrc sets force=true so npm installs it on normal hosts.
- Activate: The extension resolves
node_modules/browser-devtools-mcp/dist/index.jsinside the extension folder. No npm and no network required for the server binary itself. - New server versions: Publish/build workflows are lockfile-driven (
npm ci --omit=optional). Bumpbrowser-devtools-mcpinpackage.jsonand refresh lockfile when you want to roll forward. - Dependencies:
browser-devtools-mcpand@img/sharp-wasm32are regular dependencies inpackage.jsonfor maintainers; end users do not run npm for MCP.
Maintainer: universal VSIX
- PR / CI: [.github/workflows/build.yml](.github/workflows/build.yml) —
workflow_dispatch,pull_request(master), andpush(main) triggers; onubuntu-latestit runsnpm ci --omit=optional, lint, build, andnpx vsce package. - Release / Open VSX: [.github/workflows/publish-vscode-extension.yml](.github/workflows/publish-vscode-extension.yml) — single
releasejob runsnpm ci --omit=optional, lint, build, version bump/tag/release, then publishes to Open VSX via HaaLeo/publish-vscode-extension@v2 (skipDuplicate: true) and uploads the produced VSIX as artifact. - Packaging filter:
.vscodeignoreexcludes@img/sharp-darwin-*,@img/sharp-win32-*,@img/sharp-linux-*,@img/sharp-libvips-*and keepssharp+@img/sharp-wasm32.vscecollects production dependencies vianpm list --production, so devDependencies are not bundled.
Local packaging check:
npm ci --omit=optional
npx vsce package
Playwright Browsers
The extension uses Playwright’s browser binaries (Chromium, Firefox, WebKit), stored in the default cache (e.g. ~/.cache/ms-playwright on Linux, ~/Library/Caches/ms-playwright on macOS).
- Which browsers to install: In Settings, use
browserDevtoolsMcp.install.chromium,install.firefox, andinstall.webkit(default: Chromium group). On first install/upgrade, the extension calls Playwright’sinstallBrowsersForNpmInstallwith that selection (unless Use system-installed browser is on or platform is Node). Playwright skips work when the chosen builds are already present in the cache (INSTALLATION_COMPLETE). Changing these settings triggers another install pass; restart the MCP session if it was already running. Install Playwright Browsers... in the Command Palette does the same selection UI and writes those three settings to match your choice, then runs the installer (so the sidebar/settings panel stay in sync). - VSIX / CI:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1is set when packaging so browser ZIPs are not part of the extension. - Download failures (Chromium stack): If Playwright’s install step fails while the Chromium group is requested (network, proxy, firewall, Winldd on Windows, etc.), the extension shows one notification (error text in details) and may offer Use Google Chrome to enable Use system-installed browser (
browserDevtoolsMcp.browser.useSystemBrowser). Google Chrome must be installed on the machine. Firefox/WebKit-only installs get a generic failure message instead. Restart the MCP session (or Restart Server) after accepting. You can also turn on Use system-installed browser manually in settings anytime.
To skip browser download (e.g. you use a system browser or custom path), set the environment variable PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 before starting VS Code/Cursor.
Configuration
Quick Settings
Open the Browser DevTools MCP panel in the Explorer sidebar to configure common settings.
Full Settings
Open VS Code Settings (Ctrl+, / Cmd+,) and search for "Browser DevTools MCP" or use the command:
Browser DevTools MCP: Open Settings
To (re)download Playwright binaries immediately:
Browser DevTools MCP: Install Playwright Browsers...
Available Settings
Settings below are passed to the MCP server as environment variables. Change them in Settings or in the Browser DevTools MCP sidebar panel (subset); restart the MCP session to apply.
General
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.enable | true | Enable or disable the extension (and MCP server) | | browserDevtoolsMcp.telemetry.enable | true | Allow anonymous install/uninstall telemetry (see [Telemetry](#telemetry)) | | browserDevtoolsMcp.platform | "browser" | MCP platform: browser (web automation) or node (Node.js debugging) |
Install (Playwright browsers to download on activate)
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.install.chromium | true | Browser group selection used on first install/upgrade; changing it triggers Playwright install pass. | | browserDevtoolsMcp.install.firefox | false | Browser group selection used on first install/upgrade; changing it triggers Playwright install pass. | | browserDevtoolsMcp.install.webkit | false | Browser group selection used on first install/upgrade; changing it triggers Playwright install pass. |
Browser
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.browser.headless | true | Run browser in headless mode | | browserDevtoolsMcp.browser.persistent | false | Enable persistent browser context | | browserDevtoolsMcp.browser.userDataDir | "" | Directory for persistent user data | | browserDevtoolsMcp.browser.useSystemBrowser | false | Use system browser instead of bundled | | browserDevtoolsMcp.browser.executablePath | "" | Custom browser executable path | | browserDevtoolsMcp.browser.locale | "" | Browser locale (e.g., en-US, tr-TR) | | browserDevtoolsMcp.browser.cdp.enable | false | Enable CDP attach mode (Chromium only). | | browserDevtoolsMcp.browser.cdp.endpointUrl | "" | Optional CDP endpoint (http://host:port or ws://...). | | browserDevtoolsMcp.browser.cdp.openInspect | true | On loopback CDP failure, open chrome://inspect/#remote-debugging when Chrome is running. | | browserDevtoolsMcp.browser.consoleMessagesBufferSize | 1000 | Max console messages to buffer | | browserDevtoolsMcp.browser.httpRequestsBufferSize | 1000 | Max HTTP requests to buffer |
Node (when platform is node)
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.node.inspectorHost | "" | Inspector host for Docker (e.g., host.docker.internal) | | browserDevtoolsMcp.node.consoleMessagesBufferSize | 1000 | Max console messages to buffer in Node process |
OpenTelemetry
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.opentelemetry.enable | false | Enable OpenTelemetry instrumentation | | browserDevtoolsMcp.opentelemetry.serviceName | "frontend" | Service name for traces | | browserDevtoolsMcp.opentelemetry.serviceVersion | "" | Service version for traces | | browserDevtoolsMcp.opentelemetry.assetsDir | "" | OpenTelemetry assets directory | | browserDevtoolsMcp.opentelemetry.instrumentationUserInteractionEvents | "" | Comma-separated events to instrument (default: click) | | browserDevtoolsMcp.opentelemetry.exporterType | "none" | Exporter: none, console, otlp/http | | browserDevtoolsMcp.opentelemetry.exporterUrl | "" | OTLP collector URL | | browserDevtoolsMcp.opentelemetry.exporterHeaders | "" | HTTP headers for collector |
AWS / Amazon Bedrock
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.aws.region | "" | AWS region for Bedrock | | browserDevtoolsMcp.aws.profile | "" | AWS profile name | | browserDevtoolsMcp.bedrock.enable | false | Enable Bedrock for AI features | | browserDevtoolsMcp.bedrock.imageModelId | "" | Image embedding model ID | | browserDevtoolsMcp.bedrock.textModelId | "" | Text embedding model ID | | browserDevtoolsMcp.bedrock.visionModelId | "" | Vision model ID |
Figma
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.figma.accessToken | "" | Figma API access token | | browserDevtoolsMcp.figma.apiBaseUrl | "" | Figma API base URL (default: https://api.figma.com/v1) |
Advanced (MCP)
| Setting | Default | Description | |---------|---------|-------------| | browserDevtoolsMcp.toolOutputSchemaDisable | false | Omit tool output schema from MCP registration (can reduce token usage) | | browserDevtoolsMcp.availableToolDomains | "" | Comma-separated domains to enable (e.g. navigation,interaction,a11y). Empty = all. Browser: a11y, content, debug, figma, interaction, navigation, o11y, react, run, stub, sync. Node: debug, run. |
Usage
Once installed, the MCP server is automatically available to AI assistants. Try prompts like:
Navigation & Screenshots:
Navigate to https://example.com and take a screenshot
Take a full-page screenshot of the current page
Wait for network to be idle and then take a screenshot
Accessibility Testing:
Check the accessibility of the current page
Get the ARIA snapshot for the navigation menu
Get the AX tree snapshot with occlusion checking enabled
Performance:
Get the Web Vitals for https://google.com
What is the LCP score of this page?
Measure Core Web Vitals and give me recommendations
Interaction:
Fill the login form with test@example.com and click submit
Click the "Sign Up" button and wait for the page to load
Scroll to the bottom of the page
Debugging:
Show me the console errors on this page
What network requests failed on this page?
Set a tracepoint at line 50 in main.js and capture the call stack
Get probe snapshots after triggering the
…
## Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [serkan-ozal](https://github.com/serkan-ozal)
- **Source:** [serkan-ozal/browser-devtools-mcp-vscode-extension](https://github.com/serkan-ozal/browser-devtools-mcp-vscode-extension)
- **License:** MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.