chrome-devtools-mcp package to connect desktop AI agents to a live Chrome browser. The server gives your agent browser automation tools plus the ability to discover and call WebMCP tools registered on a page.
Use chrome-devtools-mcp@latest directly; the WebMCP changes from the former fork have all landed upstream.
Install the MCP server
Add the server to your MCP client configuration and enable its experimental WebMCP category:WebMCP feature enabled. The configuration above passes the required browser
flag. The server launches Chrome when the agent first uses a browser tool;
connecting to the MCP server alone does not start it.
Test the connection
Enter this prompt in your MCP client:Discover WebMCP tools on a page
The server detects Chrome’s native WebMCP registry through the Chrome DevTools Protocol. MCP-B tools appear when@mcp-b/global adopts and mirrors that native
context; a standalone JavaScript polyfill is not a DevTools discovery source.
The upstream server exposes two WebMCP tools:
list_webmcp_toolslists the tools exposed by the current page.execute_webmcp_toolexecutes one listed tool with JSON-stringified input.

webmcp.sh registers tools for navigation, data management, SQL queries, and more
execute_webmcp_tool, then returns the result from the page.

The agent executed the sql_query WebMCP tool against the in-browser PostgreSQL database
list_webmcp_tools again after a navigation or hot reload. The upstream tool returns the
current page’s list and takes no parameters.Use the AI-driven development workflow
The most powerful use case is building WebMCP tools with your AI agent in a tight feedback loop. Clone the Chrome DevTools Quickstart for a minimal project with@mcp-b/global pre-installed, or use your own app.
Ask your agent to create a tool
Let the dev server reload the change
The agent discovers the new tool
The agent tests the tool
The agent iterates if something fails
Connect to an existing Chrome instance
By default, the server launches its own Chrome with a dedicated profile. This is the simplest way to use the experimental WebMCP category because the server supplies the required feature flags. If you attach to an existing Chrome session, launch that browser with--enable-features=WebMCP first.
Auto-connect (Chrome 144+)
Enable remote debugging in Chrome
chrome://inspect/#remote-debugging and follow the dialog to allow debugging connections.Use the autoConnect flag
Manual connection via remote debugging port
Configure the MCP server with a browser URL
Start Chrome with remote debugging enabled
Common configuration options
Pass options through theargs array in your MCP client config:
Troubleshoot common issues
Related pages
- ChromeDevTools/chrome-devtools-mcp for the full upstream tool list and CLI options
- Connect desktop agents with the local relay for an explicit page-to-desktop bridge
- Debug and Troubleshoot for general debugging strategies
