Skip to content

Commit b3c2707

Browse files
committed
docs: remove conflicts and set default to false
1 parent 7a62a0c commit b3c2707

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,7 @@ The Chrome DevTools MCP server supports the following configuration option:
621621
- **`--categoryExtensions`/ `--category-extensions`**
622622
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.
623623
- **Type:** boolean
624+
- **Default:** `false`
624625

625626
- **`--performanceCrux`/ `--performance-crux`**
626627
Set to false to disable sending URLs from performance traces to CrUX API to get field performance data.

src/bin/chrome-devtools-mcp-cli-options.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const cliOptions = {
1212
type: 'boolean',
1313
description:
1414
'If specified, automatically connects to a browser (Chrome 144+) running locally from the user data directory identified by the channel param (default channel is stable). Requires the remote debugging server to be started in the Chrome instance via chrome://inspect/#remote-debugging.',
15-
conflicts: ['isolated', 'executablePath', 'categoryExtensions'],
15+
conflicts: ['isolated', 'executablePath'],
1616
default: false,
1717
coerce: (value: boolean | undefined) => {
1818
if (!value) {
@@ -26,7 +26,7 @@ export const cliOptions = {
2626
description:
2727
'Connect to a running, debuggable Chrome instance (e.g. `http://127.0.0.1:9222`). For more details see: https://github.com/ChromeDevTools/chrome-devtools-mcp#connecting-to-a-running-chrome-instance.',
2828
alias: 'u',
29-
conflicts: ['wsEndpoint', 'categoryExtensions'],
29+
conflicts: ['wsEndpoint'],
3030
coerce: (url: string | undefined) => {
3131
if (!url) {
3232
return;
@@ -44,7 +44,7 @@ export const cliOptions = {
4444
description:
4545
'WebSocket endpoint to connect to a running Chrome instance (e.g., ws://127.0.0.1:9222/devtools/browser/<id>). Alternative to --browserUrl.',
4646
alias: 'w',
47-
conflicts: ['browserUrl', 'categoryExtensions'],
47+
conflicts: ['browserUrl'],
4848
coerce: (url: string | undefined) => {
4949
if (!url) {
5050
return;
@@ -223,7 +223,7 @@ export const cliOptions = {
223223
categoryExtensions: {
224224
type: 'boolean',
225225
hidden: false,
226-
conflicts: ['browserUrl', 'autoConnect', 'wsEndpoint'],
226+
default: false,
227227
describe:
228228
'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.',
229229
},

0 commit comments

Comments
 (0)