@mcp-b/chrome-devtools-mcp is an MCP server that lets AI agents control and inspect a live Chrome browser via the Chrome DevTools Protocol. It is a fork of ChromeDevTools/chrome-devtools-mcp with added WebMCP integration for discovering and calling tools registered on webpages.
Requirements
Installation
Minimal example
For a minimal working example, see the Chrome DevTools Quickstart.Configuration options
Pass options via theargs array in your MCP client config.
Tools (27)
Input automation (8 tools)
Navigation automation (6 tools)
Emulation (2 tools)
Performance (3 tools)
Network (2 tools)
Debugging (5 tools)
WebMCP (1 tool)
When a page has WebMCP tools registered via
@mcp-b/global, those tools are automatically registered as first-class MCP tools with prefixed names (e.g. webmcp_localhost_3000_page0_search_products).
Prompts
Dynamic tool registration
WebMCP tools from webpages are registered as first-class MCP tools. Client support fortools/list_changed notifications:
The
list_webmcp_tools tool is diff-aware: the first call returns the full list, subsequent calls return only changes. Pass full: true to force the complete list.
Connecting to a running Chrome instance
Two approaches:-
Automatic (Chrome 144+): Enable remote debugging at
chrome://inspect/#remote-debugging. The server connects automatically with--autoConnect(enabled by default). -
Manual via port: Start Chrome with
--remote-debugging-port=9222and a non-default--user-data-dir, then pass--browserUrl=http://127.0.0.1:9222to the MCP server.
User data directory
Default paths:
The directory persists between runs. Set
--isolated=true to use a temporary directory that is cleaned up when the browser closes.
Known limitations
- Operating system sandboxes (macOS Seatbelt, Linux containers) can prevent Chrome from launching. Use
--browserUrlto connect to an externally started Chrome instance. - The MCP server exposes browser content to MCP clients. Avoid browsing sensitive data during a session.
Related
- Use DevTools MCP (how-to guide)
- @mcp-b/global (runtime reference)
- Chrome DevTools Quickstart (external)
