Chrome DevTools for coding agents
docs: fix categories not being configured correclty (#2807)
Alex Rudenko2250cdcde4aa
diff --git a/docs/configuration.md b/docs/configuration.mdindex b91b81ce..dc79eac2 100644--- a/docs/configuration.md+++ b/docs/configuration.md@@ -4,6 +4,16 @@ The Chrome DevTools MCP server supports the following configuration option:<!-- BEGIN AUTO GENERATED OPTIONS -->+- **`--categoryInput`/ `--category-input`**+ Set to false to exclude tools related to input.+ - **Type:** boolean+ - **Default:** `true`++- **`--categoryNavigation`/ `--category-navigation`**+ Set to false to exclude tools related to navigation.+ - **Type:** boolean+ - **Default:** `true`+- **`--categoryEmulation`/ `--category-emulation`**Set to false to exclude tools related to emulation.- **Type:** boolean@@ -19,6 +29,11 @@ The Chrome DevTools MCP server supports the following configuration option:- **Type:** boolean- **Default:** `true`+- **`--categoryDebugging`/ `--category-debugging`**+ Set to false to exclude tools related to debugging.+ - **Type:** boolean+ - **Default:** `true`+- **`--categoryExtensions`/ `--category-extensions`**Set to true to include tools related to extensions. Note: This feature is currently only supported with a pipe connection. autoConnect, browserUrl, and wsEndpoint are not supported with this feature until 149 will be released.- **Type:** boolean@@ -29,6 +44,16 @@ The Chrome DevTools MCP server supports the following configuration option:- **Type:** boolean- **Default:** `false`+- **`--categoryMemory`/ `--category-memory`**+ Set to false to exclude tools related to memory.+ - **Type:** boolean+ - **Default:** `true`++- **`--categoryExperimentalWebmcp`/ `--category-experimental-webmcp`**+ Set to true to enable debugging WebMCP tools. Requires Chrome 150+ with the following flag: `--enable-features=WebMCP`+ - **Type:** boolean+ - **Default:** `false`+- **`--categoryPwa`/ `--category-pwa`**Set to true to include tools for automating Progressive Web Apps (install, launch, uninstall, and OS state). This feature is only supported with a pipe connection; autoConnect, browserUrl, and wsEndpoint are not supported.- **Type:** booleandiff --git a/src/config/category-options.ts b/src/config/category-options.tsindex f2a17b32..7e158ac0 100644--- a/src/config/category-options.ts+++ b/src/config/category-options.ts@@ -30,8 +30,12 @@ const categoryOverrides: Record<offByDefault?: boolean;}> = {- [ToolCategory.INPUT]: {},- [ToolCategory.NAVIGATION]: {},+ [ToolCategory.INPUT]: {+ hidden: false,+ },+ [ToolCategory.NAVIGATION]: {+ hidden: false,+ },[ToolCategory.EMULATION]: {hidden: false,},@@ -41,12 +45,17 @@ const categoryOverrides: Record<[ToolCategory.NETWORK]: {hidden: false,},- [ToolCategory.DEBUGGING]: {},- [ToolCategory.MEMORY]: {},+ [ToolCategory.DEBUGGING]: {+ hidden: false,+ },+ [ToolCategory.MEMORY]: {+ hidden: false,+ },[ToolCategory.WEBMCP]: {describe:'Set to true to enable debugging WebMCP tools. Requires Chrome 150+ with the following flag: `--enable-features=WebMCP`',offByDefault: true,+ hidden: false,},[ToolCategory.EXTENSIONS]: {describe: