Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Chrome DevTools MCP RelayNew to Visual Studio Code? Get it now.
Chrome DevTools MCP Relay

Chrome DevTools MCP Relay

Vijay Nirmal

|
15 installs
| (1) | Free
Chrome DevTools lets Github Copilot control and inspect a live Chrome browser, giving the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis. This extension works even if MCP Server was disabled in GitHub Copilot or VSCode Settings.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Chrome DevTools MCP Relay

Chrome DevTools lets Github Copilot control and inspect a live Chrome browser, giving the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis. This extension works even if MCP Server was disabled in GitHub Copilot or VSCode Settings.

⚠️ IMPORTANT: Manual Tool Set Configuration Required

This extension's tools need to be manually configured as a tool set in VS Code. Follow these steps to enable all tools at once:

Steps to Configure Tool Set:

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  2. Search for and select: Chat: Configure Tool Sets...
  3. Select an existing tool set file or create a new file (e.g., user-toolsets.json)
  4. Add the following JSON configuration to the file:
{
    "chrome-devtools": {
        "tools": [
            "click",
            "close_page",
            "drag",
            "emulate_cpu",
            "emulate_network",
            "evaluate_script",
            "fill",
            "fill_form",
            "get_console_message",
            "get_network_request",
            "handle_dialog",
            "hover",
            "list_console_messages",
            "list_network_requests",
            "list_pages",
            "navigate_page",
            "navigate_page_history",
            "new_page",
            "performance_analyze_insight",
            "performance_start_trace",
            "performance_stop_trace",
            "resize_page",
            "select_page",
            "take_screenshot",
            "take_snapshot",
            "upload_file",
            "wait_for"
        ],
        "description": "Chrome DevTools lets Copilot control and inspect a live Chrome browser, giving the AI coding assistant access to the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis",
        "icon": "tools"
    }
}
  1. Save the file
  2. The tool set will now be available in GitHub Copilot, you can invoke it using '#chrome-devtools'

Why is this needed? VS Code doesn't currently support including toolSets in extensions (planned for future releases). This manual step groups all tools under a single name (#chrome-devtools) for easier management and invocation similar to MCP Server.

Configuration

Configure the extension using these settings:

  • chrome-devtools-mcp-relay.autoConnect: Automatically connect to MCP server when VS Code starts. If disabled (default), the server will connect on first tool use. (Default: false)
  • chrome-devtools-mcp-relay.additionalMCPServerArguments: Additional MCP Server arguments that need to be used when connecting to the Chrome DevTools MCP Server. You can find the argument details here
    • Type: Dynamic Argument - This value will be appended to the MCP server command at runtime

Features

This extension integrates with an MCP (Model Context Protocol) server to provide enhanced AI capabilities.

  • click: Clicks on the provided element
  • close_page: Closes the page by its index. The last open page cannot be closed.
  • drag: Drag an element onto another element
  • emulate_cpu: Emulates CPU throttling by slowing down the selected page's execution.
  • emulate_network: Emulates network conditions such as throttling or offline mode on the selected page.
  • evaluate_script: Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON so returned values have to JSON-serializable.
  • fill: Type text into a input, text area or select an option from a
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft