Skip to content

Commit 978540f

Browse files
authored
Merge branch 'main' into main
2 parents b102fee + a525f19 commit 978540f

27 files changed

+560
-131
lines changed

.github/ISSUE_TEMPLATE/01-bug.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Bug report
2+
description: File a bug report for chrome-devtools-mcp
3+
title: '<short description of the bug>'
4+
labels:
5+
- 'bug'
6+
body:
7+
- id: description
8+
type: textarea
9+
attributes:
10+
label: Description of the bug
11+
description: >
12+
A clear and concise description of what the bug is.
13+
placeholder:
14+
validations:
15+
required: true
16+
17+
- id: reproduce
18+
type: textarea
19+
attributes:
20+
label: Reproduction
21+
description: >
22+
Steps to reproduce the behavior:
23+
placeholder: |
24+
1. Use tool '...'
25+
2. Then use tool '...'
26+
27+
- id: expectation
28+
type: textarea
29+
attributes:
30+
label: Expectation
31+
description: A clear and concise description of what you expected to happen.
32+
33+
- id: mcp-configuration
34+
type: textarea
35+
attributes:
36+
label: MCP configuration
37+
38+
- id: node-version
39+
type: input
40+
attributes:
41+
label: Node version
42+
description: >
43+
Please verify you have the minimal supported version listed in the README.md
44+
45+
- id: chrome-version
46+
type: input
47+
attributes:
48+
label: Chrome version
49+
50+
- id: coding-agent-version
51+
type: input
52+
attributes:
53+
label: Coding agent version
54+
55+
- id: model-version
56+
type: input
57+
attributes:
58+
label: Model version
59+
60+
- id: chat-log
61+
type: input
62+
attributes:
63+
label: Chat log
64+
65+
- id: operating-system
66+
type: dropdown
67+
attributes:
68+
label: Operating system
69+
description: What supported operating system are you running?
70+
options:
71+
- Windows
72+
- macOS
73+
- Linux

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@ updates:
1010
groups:
1111
dependencies:
1212
dependency-type: production
13+
exclude-patterns:
14+
- 'puppeteer*'
1315
patterns:
1416
- '*'
1517
dev-dependencies:
1618
dependency-type: development
19+
exclude-patterns:
20+
- 'puppeteer*'
1721
patterns:
1822
- '*'
23+
puppeteer:
24+
patterns:
25+
- 'puppeteer*'
1926
- package-ecosystem: github-actions
2027
directory: /
2128
schedule:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Conventional Commit'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
# Defaults
7+
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
8+
- opened
9+
- reopened
10+
- synchronize
11+
# Tracks editing PR title or description, or base branch changes
12+
# https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=edited#pull_request
13+
- edited
14+
15+
jobs:
16+
main:
17+
name: '[Required] Validate PR title'
18+
runs-on: ubuntu-latest
19+
permissions:
20+
pull-requests: read
21+
steps:
22+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
check-format:
13+
name: '[Required] Check correct format'
1314
runs-on: ubuntu-latest
1415

1516
steps:
@@ -31,6 +32,7 @@ jobs:
3132
run: npm run check-format
3233

3334
check-docs:
35+
name: '[Required] Check docs updated'
3436
runs-on: ubuntu-latest
3537

3638
steps:

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
push:
55
tags:
66
- 'chrome-devtools-mcp-v*'
7+
workflow_dispatch:
8+
inputs:
9+
npm-publish:
10+
description: 'Try to publish to NPM'
11+
default: false
12+
type: boolean
13+
mcp-publish:
14+
description: 'Try to publish to MCP registry'
15+
default: true
16+
type: boolean
717

818
permissions:
919
id-token: write # Required for OIDC
@@ -12,6 +22,7 @@ permissions:
1222
jobs:
1323
publish-to-npm:
1424
runs-on: ubuntu-latest
25+
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.npm-publish && always()) }}
1526
steps:
1627
- name: Check out repository
1728
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -42,6 +53,7 @@ jobs:
4253
publish-to-mcp-registry:
4354
runs-on: ubuntu-latest
4455
needs: publish-to-npm
56+
if: ${{ (github.event_name != 'workflow_dispatch' && needs.publish-to-npm.result == 'success') || (inputs.mcp-publish && always()) }}
4557
steps:
4658
- name: Check out repository
4759
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -70,7 +82,9 @@ jobs:
7082

7183
- name: Install MCP Publisher
7284
run: |
73-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.1.0/mcp-publisher_1.1.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
85+
export VERSION="1.2.1"
86+
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
87+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v${VERSION}/mcp-publisher_${VERSION}_${OS}.tar.gz" | tar xz mcp-publisher
7488
7589
- name: Login to MCP Registry
7690
run: ./mcp-publisher login github-oidc

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.6.0"
2+
".": "0.6.1"
33
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [0.6.1](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.6.0...chrome-devtools-mcp-v0.6.1) (2025-10-07)
4+
5+
6+
### Bug Fixes
7+
8+
* change default screen size in headless ([#299](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/299)) ([357db65](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/357db65d18f87b1299a0f6212b7ec982ef187171))
9+
* **cli:** tolerate empty browser URLs ([#298](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/298)) ([098a904](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/098a904b363f3ad81595ed58c25d34dd7d82bcd8))
10+
* guard performance_stop_trace when tracing inactive ([#295](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/295)) ([8200194](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/8200194c8037cc30b8ab815e5ee0d0b2b000bea6))
11+
312
## [0.6.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.5.1...chrome-devtools-mcp-v0.6.0) (2025-10-01)
413

514

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ MCP clients.
2929

3030
## Requirements
3131

32-
- [Node.js 20](https://nodejs.org/) or a newer [latest maintainance LTS](https://github.com/nodejs/Release#release-schedule) version.
32+
- [Node.js](https://nodejs.org/) v20.19 or a newer [latest maintenance LTS](https://github.com/nodejs/Release#release-schedule) version.
3333
- [Chrome](https://www.google.com/chrome/) current stable version or newer.
3434
- [npm](https://www.npmjs.com/).
3535

@@ -111,7 +111,7 @@ Start the dialog to add a new MCP server by running:
111111
/mcp add
112112
```
113113

114-
Configure the following fields and press `CTR-S` to save the configuration:
114+
Configure the following fields and press `CTRL+S` to save the configuration:
115115

116116
- **Server name:** `chrome-devtools`
117117
- **Server Type:** `[1] Local`
@@ -185,6 +185,13 @@ The same way chrome-devtools-mcp can be configured for JetBrains Junie in `Setti
185185
[<img src="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)
186186
</details>
187187

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+
188195
### Your first prompt
189196

190197
Enter the following prompt in your MCP Client to check if everything is working:
@@ -273,7 +280,7 @@ The Chrome DevTools MCP server supports the following configuration option:
273280
- **Type:** string
274281

275282
- **`--viewport`**
276-
Initial viewport size for the Chromee instances started by the server. For example, `1280x720`
283+
Initial viewport size for the Chrome instances started by the server. For example, `1280x720`. In headless mode, max size is 3840x2160px.
277284
- **Type:** string
278285

279286
- **`--proxyServer`**
@@ -313,7 +320,7 @@ You can also run `npx chrome-devtools-mcp@latest --help` to see all available co
313320
`chrome-devtools-mcp` starts a Chrome's stable channel instance using the following user
314321
data directory:
315322

316-
- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
323+
- Linux / macOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
317324
- Windows: `%HOMEPATH%/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
318325

319326
The user data directory is not cleared between runs and shared across

docs/tool-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223

224224
### `performance_analyze_insight`
225225

226-
**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.
227227

228228
**Parameters:**
229229

0 commit comments

Comments
 (0)