Skip to content

Commit 3814022

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feat/list_network_requests_pagination
2 parents 953fe35 + d64ba0d commit 3814022

22 files changed

Lines changed: 441 additions & 282 deletions

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
- name: Build
6666
run: npm run build
6767

68+
- name: Bump
69+
run: npm run sync-server-json-version
70+
6871
- name: Install MCP Publisher
6972
run: |
7073
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

.github/workflows/run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- windows-latest
2121
- macos-latest
2222
node:
23+
- 22.12.0
2324
- 22
25+
- 23
2426
- 24
2527
steps:
2628
- name: Check out repository

.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.2.3"
2+
".": "0.2.7"
33
}

CHANGELOG.md

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

3+
## [0.2.7](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.2.6...chrome-devtools-mcp-v0.2.7) (2025-09-24)
4+
5+
6+
### Bug Fixes
7+
8+
* validate and report incompatible Node versions ([#113](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/113)) ([adfcecf](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/adfcecf9871938b1ad5d1460e0050b849fb2aa49))
9+
10+
## [0.2.6](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.2.5...chrome-devtools-mcp-v0.2.6) (2025-09-24)
11+
12+
13+
### Bug Fixes
14+
15+
* manually bump server.json versions based on package.json ([#105](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/105)) ([cae1cf1](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/cae1cf13d5a97add3b96f20c425f720a1ceabf94))
16+
17+
## [0.2.5](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.2.4...chrome-devtools-mcp-v0.2.5) (2025-09-24)
18+
19+
20+
### Bug Fixes
21+
22+
* add mcpName to package.json ([#103](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/103)) ([bd0351f](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/bd0351fd36ae35e41e613f0d15df40aeca17ba94))
23+
24+
## [0.2.4](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.2.3...chrome-devtools-mcp-v0.2.4) (2025-09-24)
25+
26+
27+
### Bug Fixes
28+
29+
* forbid closing the last page ([#90](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/90)) ([0ca2434](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/0ca2434a29eb4bc6e570a4ebe21a135d85f4c0f3))
30+
331
## [0.2.3](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.2.2...chrome-devtools-mcp-v0.2.3) (2025-09-24)
432

533

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ MCP clients.
2727

2828
## Requirements
2929

30-
- [Node.js 22](https://nodejs.org/) or newer.
30+
- [Node.js 22.12.0](https://nodejs.org/) or newer.
3131
- [Chrome](https://www.google.com/chrome/) current stable version or newer.
3232
- [npm](https://www.npmjs.com/).
3333

@@ -112,6 +112,14 @@ Go to `Cursor Settings` -> `MCP` -> `New MCP Server`. Use the config provided ab
112112
using the standard config from above.
113113
</details>
114114

115+
<details>
116+
<summary>JetBrains AI Assistant & Junie</summary>
117+
118+
Go to `Settings | Tools | AI Assistant | Model Context Protocol (MCP)` -> `Add`. Use the config provided above.
119+
The same way chrome-devtools-mcp can be configured for JetBrains Junie in `Settings | Tools | Junie | MCP Settings` -> `Add`. Use the config provided above.
120+
121+
</details>
122+
115123
### Your first prompt
116124

117125
Enter the following prompt in your MCP Client to check if everything is working:
@@ -203,10 +211,10 @@ Pass them via the `args` property in the JSON configuration. For example:
203211
"chrome-devtools": {
204212
"command": "npx",
205213
"args": [
206-
"chrome-devtools-mcp@latest"
214+
"chrome-devtools-mcp@latest",
207215
"--channel=canary",
208216
"--headless=true",
209-
"--isolated=true",
217+
"--isolated=true"
210218
]
211219
}
212220
}

docs/tool-reference.md

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

117117
### `close_page`
118118

119-
**Description:** Closes the page by its index.
119+
**Description:** Closes the page by its index. The last open page cannot be closed.
120120

121121
**Parameters:**
122122

gemini-extension.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "chrome-devtools-mcp",
3+
"version": "latest",
4+
"mcpServers": {
5+
"chrome-devtools": {
6+
"command": "npx",
7+
"args": ["chrome-devtools-mcp@latest"]
8+
}
9+
}
10+
}

package-lock.json

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

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chrome-devtools-mcp",
3-
"version": "0.2.3",
3+
"version": "0.2.7",
44
"description": "MCP server for Chrome DevTools",
55
"type": "module",
66
"bin": "./build/src/index.js",
@@ -18,7 +18,8 @@
1818
"test:only": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
1919
"test:only:no-build": "node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
2020
"test:update-snapshots": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"",
21-
"prepare": "node --experimental-strip-types scripts/prepare.ts"
21+
"prepare": "node --experimental-strip-types scripts/prepare.ts",
22+
"sync-server-json-version": "node --experimental-strip-types scripts/sync-server-json-version.ts && npm run format"
2223
},
2324
"files": [
2425
"build/src",
@@ -33,10 +34,11 @@
3334
"url": "https://github.com/ChromeDevTools/chrome-devtools-mcp/issues"
3435
},
3536
"homepage": "https://github.com/ChromeDevTools/chrome-devtools-mcp#readme",
37+
"mcpName": "io.github.ChromeDevTools/chrome-devtools-mcp",
3638
"dependencies": {
3739
"@modelcontextprotocol/sdk": "1.18.1",
3840
"debug": "4.4.3",
39-
"puppeteer-core": "24.22.2",
41+
"puppeteer-core": "24.22.3",
4042
"yargs": "18.0.0"
4143
},
4244
"devDependencies": {
@@ -52,9 +54,12 @@
5254
"eslint": "^9.35.0",
5355
"globals": "^16.4.0",
5456
"prettier": "^3.6.2",
55-
"puppeteer": "24.22.2",
57+
"puppeteer": "24.22.3",
5658
"sinon": "^21.0.0",
5759
"typescript": "^5.9.2",
5860
"typescript-eslint": "^8.43.0"
61+
},
62+
"engines": {
63+
"node": ">=22.12.0"
5964
}
6065
}

scripts/generate-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {Client} from '@modelcontextprotocol/sdk/client/index.js';
88
import {StdioClientTransport} from '@modelcontextprotocol/sdk/client/stdio.js';
99
import type {Tool} from '@modelcontextprotocol/sdk/types.js';
1010
import {ToolCategories} from '../build/src/tools/categories.js';
11-
import {cliOptions} from '../build/src/index.js';
11+
import {cliOptions} from '../build/src/main.js';
1212
import fs from 'fs';
1313

1414
const MCP_SERVER_PATH = 'build/src/index.js';

0 commit comments

Comments
 (0)