Skip to content

Commit 7d8d21d

Browse files
authored
Merge branch 'main' into fix/940-improve-mcp-invocation
2 parents 5ed43e1 + 13a18e2 commit 7d8d21d

82 files changed

Lines changed: 62778 additions & 814 deletions

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
pre-release:
13-
name: 'Verify MCP server schema unchanged'
13+
name: 'Verify artifacts before release'
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out repository

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Prettier-only ignores.
22
CHANGELOG.md
3+
src/third_party/lighthouse-devtools-mcp-bundle.js

.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.17.3"
2+
".": "0.18.1"
33
}

CHANGELOG.md

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

3+
## [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)
4+
5+
6+
### 🛠️ Fixes
7+
8+
* remove endsWith for filePath in memory tools ([#1041](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1041)) ([d0622d5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/d0622d52d46ac72a28bc22f93a337fb5007214c7))
9+
10+
## [0.18.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.17.3...chrome-devtools-mcp-v0.18.0) (2026-02-24)
11+
12+
13+
### 🎉 Features
14+
15+
* `--slim` mode for maximum token savings ([#958](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/958)) ([c402b43](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/c402b43697d834994c4fc141305189082da14bee))
16+
* add a new skill for accessibility debugging and auditing with Chrome DevTools MCP. ([#1002](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1002)) ([b0c6d04](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/b0c6d042e4d68763acf989edc8097ce07e85dc7a))
17+
* add experimental screencast recording tools ([#941](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/941)) ([33446d4](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/33446d457e4386fadcfe4ddf6c7a43b2e9098c9a))
18+
* add skill to debug and optimize LCP ([#993](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/993)) ([2cd9b95](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/2cd9b95346226aa52cce18f6ab889a2ae194806c))
19+
* add storage-isolated browser contexts ([#991](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/991)) ([59f6477](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/59f6477a70eb07585e9a510089f1dfc840a012fd))
20+
* add take_memory_snapshot tool ([#1023](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1023)) ([7ffdc5e](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/7ffdc5ee4d9df9f62f03354fa758fb4d022c3b08))
21+
* support any-match text arrays in wait_for ([#1011](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1011)) ([496ab1b](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/496ab1b45f7a283a1432643777e0795a17f33667))
22+
* support type_text ([#1026](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1026)) ([b5d01b5](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/b5d01b5fe65fa20f9b76555b86a749960a5d1738))
23+
24+
25+
### 🛠️ Fixes
26+
27+
* detect X server display on Linux ([#1027](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1027)) ([1746ed9](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/1746ed9ee11c212f78dcbb00af99a0400595e778))
28+
29+
30+
### ♻️ Chores
31+
32+
* cleanup string and structured console formatters ([#1005](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1005)) ([0d78685](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/0d78685a5b37dc68bb11a1088ff8816ecff3bb82))
33+
* extract version in a seprate file ([#1032](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1032)) ([0106865](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/0106865aad6d51b6cb590bf98ccaf7078e8d7436))
34+
* move emulation settings to context ([#1000](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1000)) ([bc3c40e](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/bc3c40e8f961433fb2ae858482d66f9a55fdde32))
35+
* optimize slim tool descriptions and params ([#1028](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1028)) ([ca6635d](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/ca6635d5a5d5e8b7b9944fa8b4e1063e6269a5f2))
36+
* simplify JavaScript code examples, update code block language, and refine descriptions in a11y debugging skill documentation. ([#1009](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1009)) ([5cedcaa](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/5cedcaad2c8a5e488064e21fb56cbd8643345440))
37+
* types for JSON output of IssueFormatter ([#1007](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1007)) ([9ef4479](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/9ef4479bec39c5f2651d6ebb63e9ec0fecf8bf89))
38+
339
## [0.17.3](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.17.2...chrome-devtools-mcp-v0.17.3) (2026-02-19)
440

541

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,14 +414,15 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles
414414

415415
<!-- BEGIN AUTO GENERATED TOOLS -->
416416

417-
- **Input automation** (8 tools)
417+
- **Input automation** (9 tools)
418418
- [`click`](docs/tool-reference.md#click)
419419
- [`drag`](docs/tool-reference.md#drag)
420420
- [`fill`](docs/tool-reference.md#fill)
421421
- [`fill_form`](docs/tool-reference.md#fill_form)
422422
- [`handle_dialog`](docs/tool-reference.md#handle_dialog)
423423
- [`hover`](docs/tool-reference.md#hover)
424424
- [`press_key`](docs/tool-reference.md#press_key)
425+
- [`type_text`](docs/tool-reference.md#type_text)
425426
- [`upload_file`](docs/tool-reference.md#upload_file)
426427
- **Navigation automation** (6 tools)
427428
- [`close_page`](docs/tool-reference.md#close_page)
@@ -441,9 +442,10 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles
441442
- **Network** (2 tools)
442443
- [`get_network_request`](docs/tool-reference.md#get_network_request)
443444
- [`list_network_requests`](docs/tool-reference.md#list_network_requests)
444-
- **Debugging** (5 tools)
445+
- **Debugging** (6 tools)
445446
- [`evaluate_script`](docs/tool-reference.md#evaluate_script)
446447
- [`get_console_message`](docs/tool-reference.md#get_console_message)
448+
- [`lighthouse_audit`](docs/tool-reference.md#lighthouse_audit)
447449
- [`list_console_messages`](docs/tool-reference.md#list_console_messages)
448450
- [`take_screenshot`](docs/tool-reference.md#take_screenshot)
449451
- [`take_snapshot`](docs/tool-reference.md#take_snapshot)

docs/slim-tool-reference.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->
22

3-
# Chrome DevTools MCP Slim Tool Reference (~368 cl100k_base tokens)
3+
# Chrome DevTools MCP Slim Tool Reference (~359 cl100k_base tokens)
44

55
- **[Navigation automation](#navigation-automation)** (1 tools)
66
- [`navigate`](#navigate)
@@ -12,29 +12,29 @@
1212

1313
### `navigate`
1414

15-
**Description:** Load URL in the browser
15+
**Description:** Loads a URL
1616

1717
**Parameters:**
1818

19-
- **url** (string) **(required)**: Page URL
19+
- **url** (string) **(required)**: URL to [`navigate`](#navigate) to
2020

2121
---
2222

2323
## Debugging
2424

2525
### `evaluate`
2626

27-
**Description:** [`Evaluate`](#evaluate) a JavaScript function on the last loaded page
27+
**Description:** Evaluates a JavaScript script
2828

2929
**Parameters:**
3030

31-
- **fn** (string) **(required)**: A JavaScript function to be executed on the active page
31+
- **script** (string) **(required)**: JS script to run on the page
3232

3333
---
3434

3535
### `screenshot`
3636

37-
**Description:** Take a [`screenshot`](#screenshot) of the active page.
37+
**Description:** Takes a [`screenshot`](#screenshot)
3838

3939
**Parameters:** None
4040

docs/tool-reference.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->
22

3-
# Chrome DevTools MCP Tool Reference (~6885 cl100k_base tokens)
3+
# Chrome DevTools MCP Tool Reference (~7324 cl100k_base tokens)
44

5-
- **[Input automation](#input-automation)** (8 tools)
5+
- **[Input automation](#input-automation)** (9 tools)
66
- [`click`](#click)
77
- [`drag`](#drag)
88
- [`fill`](#fill)
99
- [`fill_form`](#fill_form)
1010
- [`handle_dialog`](#handle_dialog)
1111
- [`hover`](#hover)
1212
- [`press_key`](#press_key)
13+
- [`type_text`](#type_text)
1314
- [`upload_file`](#upload_file)
1415
- **[Navigation automation](#navigation-automation)** (6 tools)
1516
- [`close_page`](#close_page)
@@ -29,9 +30,10 @@
2930
- **[Network](#network)** (2 tools)
3031
- [`get_network_request`](#get_network_request)
3132
- [`list_network_requests`](#list_network_requests)
32-
- **[Debugging](#debugging)** (5 tools)
33+
- **[Debugging](#debugging)** (6 tools)
3334
- [`evaluate_script`](#evaluate_script)
3435
- [`get_console_message`](#get_console_message)
36+
- [`lighthouse_audit`](#lighthouse_audit)
3537
- [`list_console_messages`](#list_console_messages)
3638
- [`take_screenshot`](#take_screenshot)
3739
- [`take_snapshot`](#take_snapshot)
@@ -118,6 +120,17 @@
118120

119121
---
120122

123+
### `type_text`
124+
125+
**Description:** Type text using keyboard into a previously focused input
126+
127+
**Parameters:**
128+
129+
- **text** (string) **(required)**: The text to type
130+
- **submitKey** (string) _(optional)_: Optional key to press after typing. E.g., "Enter", "Tab", "Escape"
131+
132+
---
133+
121134
### `upload_file`
122135

123136
**Description:** Upload a file through a provided element.
@@ -195,7 +208,7 @@
195208

196209
**Parameters:**
197210

198-
- **text** (string) **(required)**: Text to appear on the page
211+
- **text** (array) **(required)**: Non-empty list of texts. Resolves when any value appears on the page.
199212
- **timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
200213

201214
---
@@ -333,6 +346,18 @@ so returned values have to be JSON-serializable.
333346

334347
---
335348

349+
### `lighthouse_audit`
350+
351+
**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices.
352+
353+
**Parameters:**
354+
355+
- **device** (enum: "desktop", "mobile") _(optional)_: Device to [`emulate`](#emulate).
356+
- **mode** (enum: "navigation", "snapshot") _(optional)_: "navigation" reloads &amp; audits. "snapshot" analyzes current state.
357+
- **outputDirPath** (string) _(optional)_: Directory for reports. If omitted, uses temporary files.
358+
359+
---
360+
336361
### `list_console_messages`
337362

338363
**Description:** List all console messages for the currently selected page since the last navigation.

eslint.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ import tseslint from 'typescript-eslint';
1414
import localPlugin from './scripts/eslint_rules/local-plugin.js';
1515

1616
export default defineConfig([
17-
globalIgnores(['**/node_modules', '**/build/']),
17+
globalIgnores([
18+
'**/node_modules',
19+
'**/build/',
20+
'tests/tools/fixtures/',
21+
'src/third_party/lighthouse-devtools-mcp-bundle.js',
22+
]),
1823
importPlugin.flatConfigs.typescript,
1924
{
2025
languageOptions: {

0 commit comments

Comments
 (0)