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
***screenshot:** add WebP format support with quality parameter ([#220](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/220)) ([03e02a2](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/03e02a2d769fbfc0c98599444dfed5413d15ae6e))
9
+
***screenshot:** adds ability to output screenshot to a specific pat… ([#172](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/172)) ([f030726](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/f03072698ddda8587ce23229d733405f88b7c89e))
10
+
* support --accept-insecure-certs CLI ([#231](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/231)) ([efb106d](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/efb106dc94af0057f88c89f810beb65114eeaa4b))
11
+
* support --proxy-server CLI ([#230](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/230)) ([dfacc75](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/dfacc75ee9f46137b5194e35fc604b89a00ff53f))
12
+
* support initial viewport in the CLI ([#229](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/229)) ([ef61a08](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/ef61a08707056c5078d268a83a2c95d10e224f31))
13
+
* support timeouts in wait_for and navigations ([#228](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/228)) ([36e64d5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/36e64d5ae21e8bb244a18201a23a16932947e938))
14
+
15
+
16
+
### Bug Fixes
17
+
18
+
***network:** show only selected request ([#236](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/236)) ([73f0aec](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/73f0aecd8a48b9d1ee354897fe14d785c80e863e))
19
+
* PageCollector subscribing multiple times ([#241](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/241)) ([0412878](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/0412878bf51ae46e48a171183bb38cfbbee1038a))
20
+
* snapshot does not capture Iframe content ([#217](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/217)) ([ce356f2](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/ce356f256545e805db74664797de5f42e7b92bed)), closes [#186](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/186)
* update package.json engines to reflect node20 support ([#210](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/210)) ([b31e647](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/b31e64713e0524f28cbf760fad27b25829ec419d))
***screenshot:** add JPEG quality parameter support ([#184](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/184)) ([139cfd1](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/139cfd135cdb07573fe87d824631fcdb6153186e))
35
+
36
+
37
+
### Bug Fixes
38
+
39
+
* do not error if the dialog was already handled ([#208](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/208)) ([d9f77f8](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/d9f77f85098ffe851308c5de05effb03ac21237b))
40
+
* reference to handle_dialog tool ([#209](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/209)) ([205eef5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/205eef5cdff19ccb7ddbd113bb1450cb87e8f398))
41
+
* support node20 ([#52](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/52)) ([13613b4](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/13613b4a33ab7cf2d4fb1f4849bfa6b82f546945))
42
+
* update tool reference in an error ([#205](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/205)) ([7765bb3](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/7765bb381ad9d01219547faf879a74978188754a))
Configure the Chrome install location and increase the startup timeout by updating `.codex/config.toml` and adding the following `env` and `startup_timeout_ms` parameters:
[<imgsrc="https://cursor.com/deeplink/mcp-install-dark.svg"alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=chrome-devtools&config=eyJjb21tYW5kIjoibnB4IGNocm9tZS1kZXZ0b29scy1tY3BAbGF0ZXN0In0%3D)
138
+
[<imgsrc="https://cursor.com/deeplink/mcp-install-dark.svg"alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=chrome-devtools&config=eyJjb21tYW5kIjoibnB4IC15IGNocm9tZS1kZXZ0b29scy1tY3BAbGF0ZXN0In0%3D)
96
139
97
140
**Or install manually:**
98
141
@@ -134,6 +177,21 @@ The same way chrome-devtools-mcp can be configured for JetBrains Junie in `Setti
134
177
135
178
</details>
136
179
180
+
<details>
181
+
<summary>Visual Studio</summary>
182
+
183
+
**Click the button to install:**
184
+
185
+
[<imgsrc="https://img.shields.io/badge/Visual_Studio-Install-C16FDE?logo=visualstudio&logoColor=white"alt="Install in Visual Studio">](https://vs-open.link/mcp-install?%7B%22name%22%3A%22chrome-devtools%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22chrome-devtools-mcp%40latest%22%5D%7D)
186
+
</details>
187
+
188
+
<details>
189
+
<summary>Warp</summary>
190
+
191
+
Go to `Settings | AI | Manage MCP Servers` -> `+ Add` to [add an MCP Server](https://docs.warp.dev/knowledge-and-collaboration/mcp#adding-an-mcp-server). Use the config provided above.
192
+
193
+
</details>
194
+
137
195
### Your first prompt
138
196
139
197
Enter the following prompt in your MCP Client to check if everything is working:
@@ -149,6 +207,8 @@ Your MCP client should open the browser and record a performance trace.
149
207
150
208
## Tools
151
209
210
+
If you run into any issues, checkout our [troubleshooting guide](./docs/troubleshooting.md).
211
+
152
212
<!-- BEGIN AUTO GENERATED TOOLS -->
153
213
154
214
-**Input automation** (7 tools)
@@ -219,6 +279,18 @@ The Chrome DevTools MCP server supports the following configuration option:
219
279
Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.
220
280
-**Type:** string
221
281
282
+
-**`--viewport`**
283
+
Initial viewport size for the Chrome instances started by the server. For example, `1280x720`
284
+
-**Type:** string
285
+
286
+
-**`--proxyServer`**
287
+
Proxy server configuration for Chrome passed as --proxy-server when launching the browser. See https://www.chromium.org/developers/design-documents/network-settings/ for details.
288
+
-**Type:** string
289
+
290
+
-**`--acceptInsecureCerts`**
291
+
If enabled, ignores errors relative to self-signed and expired certificates. Use with caution.
292
+
-**Type:** boolean
293
+
222
294
<!-- END AUTO GENERATED OPTIONS -->
223
295
224
296
Pass them via the `args` property in the JSON configuration. For example:
@@ -249,7 +321,7 @@ You can also run `npx chrome-devtools-mcp@latest --help` to see all available co
249
321
data directory:
250
322
251
323
- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
Copy file name to clipboardExpand all lines: docs/tool-reference.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@
138
138
139
139
**Parameters:**
140
140
141
+
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
141
142
-**url** (string) **(required)**: URL to navigate the page to
142
143
143
144
---
@@ -149,6 +150,7 @@
149
150
**Parameters:**
150
151
151
152
-**navigate** (enum: "back", "forward") **(required)**: Whether to navigate back or navigate forward in the selected pages history
153
+
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
152
154
153
155
---
154
156
@@ -158,6 +160,7 @@
158
160
159
161
**Parameters:**
160
162
163
+
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
161
164
-**url** (string) **(required)**: URL to load in a new page.
162
165
163
166
---
@@ -179,6 +182,7 @@
179
182
**Parameters:**
180
183
181
184
-**text** (string) **(required)**: Text to appear on the page
185
+
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
182
186
183
187
---
184
188
@@ -219,7 +223,7 @@
219
223
220
224
### `performance_analyze_insight`
221
225
222
-
**Description:** Provides more detailed information on a specific Performance Insight that was highlighed in the results of a trace recording.
226
+
**Description:** Provides more detailed information on a specific Performance Insight that was highlighted in the results of a trace recording.
223
227
224
228
**Parameters:**
225
229
@@ -306,8 +310,10 @@ so returned values have to JSON-serializable.
306
310
307
311
**Parameters:**
308
312
309
-
-**format** (enum: "png", "jpeg") _(optional)_: Type of format to save the screenshot as. Default is "png"
313
+
-**filePath** (string) _(optional)_: The absolute path, or a path relative to the current working directory, to save the screenshot to instead of attaching it to the response.
314
+
-**format** (enum: "png", "jpeg", "webp") _(optional)_: Type of format to save the screenshot as. Default is "png"
310
315
-**fullPage** (boolean) _(optional)_: If set to true takes a screenshot of the full page instead of the currently visible viewport. Incompatible with uid.
316
+
-**quality** (number) _(optional)_: Compression quality for JPEG and WebP formats (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format.
311
317
-**uid** (string) _(optional)_: The uid of an element on the page from the page content snapshot. If omitted takes a pages screenshot.
0 commit comments