Skip to content

Commit 7fb76e7

Browse files
committed
feat: --minimal mode with maximum token savings
1 parent 33446d4 commit 7fb76e7

8 files changed

Lines changed: 388 additions & 167 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ The Chrome DevTools MCP server supports the following configuration option:
532532
- **Type:** boolean
533533
- **Default:** `true`
534534

535+
- **`--slim`**
536+
Exposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser tasks.
537+
- **Type:** boolean
538+
535539
<!-- END AUTO GENERATED OPTIONS -->
536540

537541
Pass them via the `args` property in the JSON configuration. For example:

docs/slim-tool-reference.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->
2+
3+
# Chrome DevTools MCP Slim Tool Reference (~359 cl100k_base tokens)
4+
5+
- **[Navigation automation](#navigation-automation)** (1 tools)
6+
- [`navigate`](#navigate)
7+
- **[Debugging](#debugging)** (2 tools)
8+
- [`evaluate`](#evaluate)
9+
- [`screenshot`](#screenshot)
10+
11+
## Navigation automation
12+
13+
### `navigate`
14+
15+
**Description:** Load URL in the browser
16+
17+
**Parameters:**
18+
19+
- **url** (string) **(required)**: Page URL
20+
21+
---
22+
23+
## Debugging
24+
25+
### `evaluate`
26+
27+
**Description:** [`Evaluate`](#evaluate) a JavaScript function
28+
29+
**Parameters:**
30+
31+
- **fn** (string) **(required)**: A JavaScript function to be executed on the active page
32+
33+
---
34+
35+
### `screenshot`
36+
37+
**Description:** Take page [`screenshot`](#screenshot)
38+
39+
**Parameters:** None
40+
41+
---

0 commit comments

Comments
 (0)