Skip to content

Commit 893f8d6

Browse files
authored
Merge branch 'main' into feat/webperf-core-web-vitals-skill
2 parents 7773e96 + e237bad commit 893f8d6

60 files changed

Lines changed: 2105 additions & 808 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/03-task.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Task
2+
description: Work tracking for mainainers only!
3+
title: '[Task]:'
4+
type: 'Task'
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
### This issue type should be used only by mainainers!
10+
Task are to track small non user facing issue or improvements.
11+
The issue will be closed if it does not follow those rules.
12+
- type: textarea
13+
attributes:
14+
label: 'Task to do:'
15+
id: task
16+
validations:
17+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: false

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 2
2020

2121
- name: Set up Node.js
22-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
22+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2323
with:
2424
cache: npm
2525
node-version-file: '.nvmrc'

.github/workflows/presubmit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 2
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
24+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2525
with:
2626
cache: npm
2727
node-version-file: '.nvmrc'
@@ -43,23 +43,23 @@ jobs:
4343
fetch-depth: 2
4444

4545
- name: Set up Node.js
46-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
46+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4747
with:
4848
cache: npm
4949
node-version-file: '.nvmrc'
5050

5151
- name: Install dependencies
5252
run: npm ci
5353

54-
- name: Generate documents
55-
run: npm run docs
54+
- name: Generate
55+
run: npm run gen
5656

57-
- name: Check if autogenerated docs differ
57+
- name: Check if autogenerated code and docs are out of date
5858
run: |
5959
diff_file=$(mktemp doc_diff_XXXXXX)
6060
git diff --color > $diff_file
6161
if [[ -s $diff_file ]]; then
62-
echo "Please update the documentation by running 'npm run generate-docs'. The following was the diff"
62+
echo "Please update the documentation by running 'npm run gen'. The following was the diff"
6363
cat $diff_file
6464
rm $diff_file
6565
exit 1

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 2
3131

3232
- name: Set up Node.js
33-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
33+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3434
with:
3535
cache: npm
3636
node-version-file: '.nvmrc'
@@ -63,7 +63,7 @@ jobs:
6363
fetch-depth: 2
6464

6565
- name: Set up Node.js
66-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
66+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6767
with:
6868
cache: npm
6969
node-version-file: '.nvmrc'

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fetch-depth: 2
3333

3434
- name: Set up Node.js
35-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
35+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3636
with:
3737
cache: npm
3838
node-version: 22 # build works only with 22+.
@@ -47,7 +47,7 @@ jobs:
4747
NODE_OPTIONS: '--max_old_space_size=4096'
4848

4949
- name: Set up Node.js
50-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
50+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5151
with:
5252
cache: npm
5353
node-version: ${{ matrix.node }}

.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.18.1"
2+
".": "0.20.1"
33
}

CHANGELOG.md

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

3+
## [0.20.1](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.20.0...chrome-devtools-mcp-v0.20.1) (2026-03-16)
4+
5+
6+
### 🛠️ Fixes
7+
8+
* update VS Code manual installation powershell command ([#1151](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1151)) ([6c64a5b](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/6c64a5b543714796b25a12dc6f2be7a1e683e8bd))
9+
10+
11+
### ⚡ Performance
12+
13+
* use CDP to find open DevTools pages. ([#1150](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1150)) ([94de19c](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/94de19cdcdae9e31d0962b273ce352dc248eb5a8))
14+
15+
## [0.20.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.19.0...chrome-devtools-mcp-v0.20.0) (2026-03-11)
16+
17+
18+
### 🎉 Features
19+
20+
* experimental `chrome-devtools` CLI ([#1100](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1100)) ([1ac574e](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/1ac574e7154948e86e414e5149fb975a190d5bb0))
21+
22+
23+
### 📄 Documentation
24+
25+
* fix typo ([#1155](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1155)) ([b59cabc](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/b59cabcc1d59802ffd7d9667040188e46192357d))
26+
* fix typos and improve phrasing ([#1130](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1130)) ([70d4f36](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/70d4f365dc619a5743e697c30800f7065bc6227d))
27+
* revise contribution process and add release process ([#1134](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1134)) ([d7d26a1](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/d7d26a103b840e2feb7cb9af6a242edda94f1ddf))
28+
* **troubleshooting:** add symptom for missing tools due to read-only mode ([#1148](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1148)) ([57e7d51](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/57e7d51e8ca1e2ee325a9e7a9c64c033acbe6d6a))
29+
* Update troubleshooting for MCP server connection errors ([#1017](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1017)) ([00f9c31](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/00f9c3108ab9caefca57998439052c728298920b))
30+
31+
32+
### 🏗️ Refactor
33+
34+
* move main files ([#1120](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1120)) ([c2d8009](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/c2d8009ff75f76bce1ec4cf79c2467b50d81725e))
35+
36+
## [0.19.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.18.1...chrome-devtools-mcp-v0.19.0) (2026-03-05)
37+
38+
39+
### 🎉 Features
40+
41+
* add pageId routing for parallel multi-agent workflows ([#1022](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1022)) ([caf601a](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/caf601a32832bb87cfac801a6bbeacb87508412f)), closes [#1019](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1019)
42+
* Add skill which helps with onboarding of the mcp server ([#1083](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1083)) ([7273f16](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/7273f16ec08f6d5b46a2693b0ad4d559086ded89))
43+
* integrate Lighthouse audits ([#831](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/831)) ([dfdac26](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/dfdac2648e560d756a8711ad3bb1fa470be8e7c9))
44+
45+
46+
### 🛠️ Fixes
47+
48+
* improve error messages around --auto-connect ([#1075](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1075)) ([bcb852d](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/bcb852dd2e440b0005f4a9ad270a1a7998767907))
49+
* improve tool descriptions ([#965](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/965)) ([bdbbc84](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/bdbbc84c125bdd48f4be48aa476bec0323de611c))
50+
* repair broken markdown and extract snippets in a11y-debugging skill ([#1096](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1096)) ([adac7c5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/adac7c537ee304f324c5e7284fb363396d1773f5))
51+
* simplify emulation and script tools ([#1073](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1073)) ([e51ba47](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/e51ba4720338951e621585b77efc6a0e07678d99))
52+
* simplify focus state management ([#1063](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1063)) ([f763da2](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/f763da24a10e27605c0a5069853ce7c92974eec2))
53+
* tweak lighthouse description ([#1112](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1112)) ([5538180](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/55381804ae7ffa8a1e5933b621a9b8390b3000ff))
54+
55+
56+
### 📄 Documentation
57+
58+
* Adapt a11y skill to utilize Lighthouse ([#1054](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1054)) ([21634e6](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/21634e660c346e469ae62116b1824538f51567dd))
59+
* add feature release checklist to CONTRIBUTING.md ([#1118](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1118)) ([0378457](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/03784577ffb6e238bcb2d637bff9ad759723ea7b))
60+
* fix typo in README regarding slim mode ([#1093](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1093)) ([92f2c7b](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/92f2c7b48b56a6b1d6ac7c9e2f2e92beb26bcf62))
61+
62+
63+
### 🏗️ Refactor
64+
65+
* clean up more of the context getters ([#1062](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1062)) ([9628dab](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/9628dabcb4d39f0b94d152a0fc419e049246a29d))
66+
* consistently use McpPage in tools ([#1057](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1057)) ([302e5a0](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/302e5a04191ba0558e3c79f1486d01d5eb0f6896))
67+
* improve type safety for page scoped tools ([#1051](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1051)) ([5f694c6](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/5f694c60ffd21f8b022554c92b2ad4cbdb457375))
68+
* make cdp resolvers use McpPage ([#1060](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1060)) ([d6c06c5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/d6c06c56a7b8e4968318adc9fc7c820ace9f5bd9))
69+
* move dialog handling to McpPage ([#1059](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1059)) ([40c241b](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/40c241bbfc80d6282953ab325b30a597d3d85ade))
70+
* move server to a separate file ([#1043](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1043)) ([a8bf3e5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/a8bf3e585682c3126dfd378e9f98b5dc7ab6045d))
71+
* remove page passing via context ([#1061](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1061)) ([4cb5a17](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/4cb5a17b57f57d8a367cd423c960ba122b9952e3))
72+
* set defaults to performance trace tool ([#1090](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1090)) ([dfa9b79](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/dfa9b79a4ecc9e67f5b043f2dd97f6889d1fee0b))
73+
* simplify the response texts ([#1095](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1095)) ([cb0079e](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/cb0079efbbd41874f6913772fe3f2a037e9f5f8f))
74+
* type-cast as internal CdpPage interface ([#1064](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1064)) ([2d5e4fa](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/2d5e4fa3579650a384ff21c88c2e6b9cda031e1a))
75+
376
## [0.18.1](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.18.0...chrome-devtools-mcp-v0.18.1) (2026-02-25)
477

578

CONTRIBUTING.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sign a new one.
2323
This project follows
2424
[Google's Open Source Community Guidelines](https://opensource.google/conduct/).
2525

26-
## Contribution process
26+
## Development process
2727

2828
### Code reviews
2929

@@ -37,6 +37,29 @@ information on using pull requests.
3737
Please follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/)
3838
for PR and commit titles.
3939

40+
### Feature release checklist
41+
42+
Use `chore:` for commits containing incomplete features that are not available
43+
to users yet. Once the feature is ready to be released, create a PR with a
44+
`feat:` prefix that enables the feature. The following criteria need to be
45+
completed:
46+
47+
- Documentation for the feature is up to date. For example, README.md and tools
48+
reference are updated.
49+
- The feature can be used with Chrome stable or version restrictions are
50+
documented otherwise.
51+
- Corresponding skills are updated or new skills are added if needed.
52+
- The feature fulfills the use case by its own or in conjunction with existing
53+
features (we want to avoid features that offer some tools but cannot be used
54+
successfully to debug things).
55+
56+
### Release process
57+
58+
Releasing `chrome-devtools-mcp` is automated by GitHub Actions. To release a new
59+
version, [search for a PR titled `chore(main): release chrome-devtools-mcp`](https://github.com/ChromeDevTools/chrome-devtools-mcp/pulls?q=is%3Apr+is%3Aopen+%22chore%28main%29%3A+release+chrome-devtools-mcp%22)
60+
and review, test, and land it. The release PR is automatically opened if there
61+
are any changes on the main branch that show up in the changelog.
62+
4063
## Installation
4164

4265
Check that you are using node version specified in .nvmrc, then run following commands:
@@ -51,7 +74,7 @@ npm run build
5174
### Testing with @modelcontextprotocol/inspector
5275

5376
```sh
54-
npx @modelcontextprotocol/inspector node build/src/index.js
77+
npx @modelcontextprotocol/inspector node /build/src/bin/chrome-devtools-mcp.js
5578
```
5679

5780
### Testing with an MCP client
@@ -63,7 +86,7 @@ Add the MCP server to your client's config.
6386
"mcpServers": {
6487
"chrome-devtools": {
6588
"command": "node",
66-
"args": ["/path-to/build/src/index.js"]
89+
"args": ["/path-to/build/src/bin/chrome-devtools-mcp.js"]
6790
}
6891
}
6992
}
@@ -79,14 +102,14 @@ Usually VS Code automatically detects and forwards `6274` but fails to detect `6
79102
To write debug logs to `log.txt` in the working directory, run with the following commands:
80103

81104
```sh
82-
npx @modelcontextprotocol/inspector node build/src/index.js --log-file=/your/desired/path/log.txt
105+
npx @modelcontextprotocol/inspector node /build/src/bin/chrome-devtools-mcp.js --log-file=/your/desired/path/log.txt
83106
```
84107

85108
You can use the `DEBUG` environment variable as usual to control categories that are logged.
86109

87110
### Updating documentation
88111

89-
When adding a new tool or updating a tool name or description, make sure to run `npm run docs` to generate the tool reference documentation.
112+
When adding a new tool or updating a tool name or description, make sure to run `npm run gen` to generate the tool reference documentation.
90113

91114
### Contributing to Evals
92115

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ To use the Chrome DevTools MCP server follow the instructions from <a href="http
122122

123123
This will make the Chrome DevTools MCP server automatically connect to the browser that Antigravity is using. If you are not using port 9222, make sure to adjust accordingly.
124124

125-
Chrome DevTools MCP will not start the browser instance automatically using this approach as as the Chrome DevTools MCP server runs in Antigravity's built-in browser. If the browser is not already running, you have to start it first by clicking the Chrome icon at the top right corner.
125+
Chrome DevTools MCP will not start the browser instance automatically using this approach because the Chrome DevTools MCP server connects to Antigravity's built-in browser. If the browser is not already running, you have to start it first by clicking the Chrome icon at the top right corner.
126126

127127
</details>
128128

@@ -228,10 +228,18 @@ Configure the following fields and press `CTRL+S` to save the configuration:
228228
Follow the MCP install <a href="https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server">guide</a>,
229229
with the standard config from above. You can also install the Chrome DevTools MCP server using the VS Code CLI:
230230

231+
For macOS and Linux:
232+
231233
```bash
232234
code --add-mcp '{"name":"io.github.ChromeDevTools/chrome-devtools-mcp","command":"npx","args":["-y","chrome-devtools-mcp"],"env":{}}'
233235
```
234236

237+
For Windows (PowerShell):
238+
239+
```powershell
240+
code --add-mcp '{"""name""":"""io.github.ChromeDevTools/chrome-devtools-mcp""","""command""":"""npx""","""args""":["""-y""","""chrome-devtools-mcp"""]}'
241+
```
242+
235243
</details>
236244

237245
<details>
@@ -358,7 +366,7 @@ Alternatively, follow the <a href="https://docs.qoder.com/user-guide/chat/model-
358366
<details>
359367
<summary>Qoder CLI</summary>
360368

361-
Install the Chrome DevTools MCP server using the Qoder CLI (<a href="https://docs.qoder.com/cli/using-cli#mcp-servsers">guide</a>):
369+
Install the Chrome DevTools MCP server using the Qoder CLI (<a href="https://docs.qoder.com/cli/using-cli#mcp-servers">guide</a>):
362370

363371
**Project wide:**
364372

0 commit comments

Comments
 (0)