You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -768,6 +768,11 @@ The Chrome DevTools MCP server supports the following configuration option:
768
768
-**Type:** boolean
769
769
-**Default:**`true`
770
770
771
+
-**`--sourceMaps`/ `--source-maps`**
772
+
Whether to enable source maps in DevTools. Use --no-source-maps to disable.
773
+
-**Type:** boolean
774
+
-**Default:**`true`
775
+
771
776
-**`--screenshotFormat`/ `--screenshot-format`**
772
777
Override the default output format used by take_screenshot when the caller does not specify one. JPEG and WebP are ~3-5x smaller than PNG, which helps reduce context size in AI conversations. Unset preserves the existing default ("png").
Copy file name to clipboardExpand all lines: src/config/mcp-options.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -280,6 +280,12 @@ export const mcpOptions = {
280
280
describe:
281
281
'Set to false to opt-out of usage statistics collection. Google collects usage data to improve the tool, handled under the Google Privacy Policy (https://policies.google.com/privacy). This is independent from Chrome browser metrics. Disabled if `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` or `CI` env variables are set.',
282
282
},
283
+
sourceMaps: {
284
+
type: 'boolean',
285
+
default: true,
286
+
describe:
287
+
'Whether to enable source maps in DevTools. Use --no-source-maps to disable.',
288
+
},
283
289
clearcutEndpoint: {
284
290
type: 'string',
285
291
hidden: true,
@@ -538,6 +544,7 @@ export function parser(
538
544
'$0 --no-performance-crux',
539
545
'Disable CrUX (field data) integration in performance tools.',
540
546
],
547
+
['$0 --no-source-maps','Disable source maps in DevTools.'],
541
548
[
542
549
'$0 --slim',
543
550
'Only 3 tools: navigation, JavaScript execution and screenshot',
0 commit comments