Skip to content

Commit 4f0fa88

Browse files
authored
Merge branch 'main' into orkon/formats-screencast
2 parents 32f8c40 + b377454 commit 4f0fa88

16 files changed

Lines changed: 502 additions & 221 deletions

.gemini/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"context": {
3+
"fileName": ["AGENTS.md", "GEMINI.md"]
4+
}
5+
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
---
2-
trigger: always_on
3-
---
1+
This repository contains an MCP server and CLI for Chrome DevTools.
42

53
# Instructions
64

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,10 @@ The Chrome DevTools MCP server supports the following configuration option:
591591
Exposes experimental screencast tools (requires ffmpeg). Install ffmpeg https://www.ffmpeg.org/download.html and ensure it is available in the MCP server PATH.
592592
- **Type:** boolean
593593

594+
- **`--experimentalFfmpegPath`/ `--experimental-ffmpeg-path`**
595+
Path to ffmpeg executable for screencast recording.
596+
- **Type:** string
597+
594598
- **`--experimentalWebmcp`/ `--experimental-webmcp`**
595599
Set to true to enable debugging WebMCP tools. Requires Chrome 149+ with the following flags: `--enable-features=WebMCPTesting,DevToolsWebMCPSupport`
596600
- **Type:** boolean

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"tiktoken": "^1.0.22",
8181
"typescript": "^6.0.2",
8282
"typescript-eslint": "^8.43.0",
83+
"urlpattern-polyfill": "^10.1.0",
8384
"yargs": "18.0.0"
8485
},
8586
"engines": {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ export const cliOptions = {
180180
'Whether to include all kinds of pages such as webviews or background pages as pages.',
181181
hidden: true,
182182
},
183+
experimentalNavigationAllowlist: {
184+
type: 'boolean',
185+
describe: 'Whether to enable navigation allowlist tool parameter.',
186+
hidden: true,
187+
},
183188
experimentalInteropTools: {
184189
type: 'boolean',
185190
describe: 'Whether to enable interoperability tools',
@@ -190,6 +195,11 @@ export const cliOptions = {
190195
describe:
191196
'Exposes experimental screencast tools (requires ffmpeg). Install ffmpeg https://www.ffmpeg.org/download.html and ensure it is available in the MCP server PATH.',
192197
},
198+
experimentalFfmpegPath: {
199+
type: 'string',
200+
describe: 'Path to ffmpeg executable for screencast recording.',
201+
implies: 'experimentalScreencast',
202+
},
193203
experimentalWebmcp: {
194204
type: 'boolean',
195205
describe:

src/telemetry/flag_usage_metrics.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
"name": "experimental_devtools_present",
107107
"flagType": "boolean"
108108
},
109+
{
110+
"name": "experimental_ffmpeg_path_present",
111+
"flagType": "boolean"
112+
},
109113
{
110114
"name": "experimental_include_all_pages",
111115
"flagType": "boolean"
@@ -130,6 +134,14 @@
130134
"name": "experimental_memory_present",
131135
"flagType": "boolean"
132136
},
137+
{
138+
"name": "experimental_navigation_allowlist",
139+
"flagType": "boolean"
140+
},
141+
{
142+
"name": "experimental_navigation_allowlist_present",
143+
"flagType": "boolean"
144+
},
133145
{
134146
"name": "experimental_page_id_routing",
135147
"flagType": "boolean"

src/third_party/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
import 'urlpattern-polyfill';
78
import 'core-js/modules/es.promise.with-resolvers.js';
89
import 'core-js/modules/es.set.union.v2.js';
910
import 'core-js/proposals/iterator-helpers.js';

0 commit comments

Comments
 (0)