@nimbus21.ai/chrome-devtools-mcp 0.12.1 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -14
- package/build/src/browser.js +2 -2
- package/build/src/main.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 🚀 Powered by NIMBUS21
|
|
8
8
|
|
|
9
|
-
This enhanced version is brought to you by **[NIMBUS21](https://nimbus21.com)** - a leading technology innovation company specializing in AI-powered automation, browser automation solutions, and enterprise software development. Visit [nimbus21.
|
|
9
|
+
This enhanced version is brought to you by **[NIMBUS21](https://nimbus21.com)** - a leading technology innovation company specializing in AI-powered automation, browser automation solutions, and enterprise software development. Visit [nimbus21.com](https://nimbus21.com) to explore our cutting-edge AI tools, automation platforms, and developer services.
|
|
10
10
|
|
|
11
11
|
**NIMBUS21** delivers advanced browser automation frameworks, intelligent testing solutions, and AI-driven development tools for modern web applications. Our expertise in Chrome automation, DevTools integration, and Model Context Protocol (MCP) implementations helps developers and enterprises build more reliable, performant, and intelligent software solutions.
|
|
12
12
|
|
|
@@ -353,20 +353,20 @@ The Chrome DevTools MCP server supports the following configuration option:
|
|
|
353
353
|
|
|
354
354
|
<!-- BEGIN AUTO GENERATED OPTIONS -->
|
|
355
355
|
|
|
356
|
-
- **`--autoConnect`**
|
|
356
|
+
- **`--autoConnect`/ `--auto-connect`**
|
|
357
357
|
If specified, automatically connects to a browser (Chrome 145+) running in the user data directory identified by the channel param. Requires remote debugging being enabled in Chrome here: chrome://inspect/#remote-debugging.
|
|
358
358
|
- **Type:** boolean
|
|
359
359
|
- **Default:** `false`
|
|
360
360
|
|
|
361
|
-
- **`--browserUrl`, `-u`**
|
|
361
|
+
- **`--browserUrl`/ `--browser-url`, `-u`**
|
|
362
362
|
Connect to a running, debuggable Chrome instance (e.g. `http://127.0.0.1:9222`). For more details see: https://github.com/ChromeDevTools/chrome-devtools-mcp#connecting-to-a-running-chrome-instance.
|
|
363
363
|
- **Type:** string
|
|
364
364
|
|
|
365
|
-
- **`--wsEndpoint`, `-w`**
|
|
365
|
+
- **`--wsEndpoint`/ `--ws-endpoint`, `-w`**
|
|
366
366
|
WebSocket endpoint to connect to a running Chrome instance (e.g., ws://127.0.0.1:9222/devtools/browser/<id>). Alternative to --browserUrl.
|
|
367
367
|
- **Type:** string
|
|
368
368
|
|
|
369
|
-
- **`--wsHeaders`**
|
|
369
|
+
- **`--wsHeaders`/ `--ws-headers`**
|
|
370
370
|
Custom headers for WebSocket connection in JSON format (e.g., '{"Authorization":"Bearer token"}'). Only works with --wsEndpoint.
|
|
371
371
|
- **Type:** string
|
|
372
372
|
|
|
@@ -375,7 +375,7 @@ The Chrome DevTools MCP server supports the following configuration option:
|
|
|
375
375
|
- **Type:** boolean
|
|
376
376
|
- **Default:** `false`
|
|
377
377
|
|
|
378
|
-
- **`--executablePath`, `-e`**
|
|
378
|
+
- **`--executablePath`/ `--executable-path`, `-e`**
|
|
379
379
|
Path to custom Chrome executable.
|
|
380
380
|
- **Type:** string
|
|
381
381
|
|
|
@@ -383,7 +383,7 @@ The Chrome DevTools MCP server supports the following configuration option:
|
|
|
383
383
|
If specified, creates a temporary user-data-dir that is automatically cleaned up after the browser is closed. Defaults to false.
|
|
384
384
|
- **Type:** boolean
|
|
385
385
|
|
|
386
|
-
- **`--userDataDir`**
|
|
386
|
+
- **`--userDataDir`/ `--user-data-dir`**
|
|
387
387
|
Path to the user data directory for Chrome. Default is $HOME/.cache/chrome-devtools-mcp/chrome-profile$CHANNEL_SUFFIX_IF_NON_STABLE
|
|
388
388
|
- **Type:** string
|
|
389
389
|
|
|
@@ -392,7 +392,7 @@ The Chrome DevTools MCP server supports the following configuration option:
|
|
|
392
392
|
- **Type:** string
|
|
393
393
|
- **Choices:** `stable`, `canary`, `beta`, `dev`
|
|
394
394
|
|
|
395
|
-
- **`--logFile`**
|
|
395
|
+
- **`--logFile`/ `--log-file`**
|
|
396
396
|
Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.
|
|
397
397
|
- **Type:** string
|
|
398
398
|
|
|
@@ -400,29 +400,38 @@ The Chrome DevTools MCP server supports the following configuration option:
|
|
|
400
400
|
Initial viewport size for the Chrome instances started by the server. For example, `1280x720`. In headless mode, max size is 3840x2160px.
|
|
401
401
|
- **Type:** string
|
|
402
402
|
|
|
403
|
-
- **`--proxyServer`**
|
|
403
|
+
- **`--proxyServer`/ `--proxy-server`**
|
|
404
404
|
Proxy server configuration for Chrome passed as --proxy-server when launching the browser. See https://www.chromium.org/developers/design-documents/network-settings/ for details.
|
|
405
405
|
- **Type:** string
|
|
406
406
|
|
|
407
|
-
- **`--acceptInsecureCerts`**
|
|
407
|
+
- **`--acceptInsecureCerts`/ `--accept-insecure-certs`**
|
|
408
408
|
If enabled, ignores errors relative to self-signed and expired certificates. Use with caution.
|
|
409
409
|
- **Type:** boolean
|
|
410
410
|
|
|
411
|
-
- **`--
|
|
411
|
+
- **`--stealth`**
|
|
412
|
+
Enable stealth mode to avoid bot detection. Uses puppeteer-extra-plugin-stealth and adds anti-detection Chrome arguments.
|
|
413
|
+
- **Type:** boolean
|
|
414
|
+
- **Default:** `false`
|
|
415
|
+
|
|
416
|
+
- **`--chromeArgs`/ `--chrome-args`**
|
|
417
|
+
Additional Chrome arguments to pass to the browser (comma-separated). Example: --chromeArgs="--disable-gpu,--no-sandbox"
|
|
418
|
+
- **Type:** string
|
|
419
|
+
|
|
420
|
+
- **`--chromeArg`/ `--chrome-arg`**
|
|
412
421
|
Additional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.
|
|
413
422
|
- **Type:** array
|
|
414
423
|
|
|
415
|
-
- **`--categoryEmulation`**
|
|
424
|
+
- **`--categoryEmulation`/ `--category-emulation`**
|
|
416
425
|
Set to false to exclude tools related to emulation.
|
|
417
426
|
- **Type:** boolean
|
|
418
427
|
- **Default:** `true`
|
|
419
428
|
|
|
420
|
-
- **`--categoryPerformance`**
|
|
429
|
+
- **`--categoryPerformance`/ `--category-performance`**
|
|
421
430
|
Set to false to exclude tools related to performance.
|
|
422
431
|
- **Type:** boolean
|
|
423
432
|
- **Default:** `true`
|
|
424
433
|
|
|
425
|
-
- **`--categoryNetwork`**
|
|
434
|
+
- **`--categoryNetwork`/ `--category-network`**
|
|
426
435
|
Set to false to exclude tools related to network.
|
|
427
436
|
- **Type:** boolean
|
|
428
437
|
- **Default:** `true`
|
package/build/src/browser.js
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import fs from 'node:fs';
|
|
7
7
|
import os from 'node:os';
|
|
8
8
|
import path from 'node:path';
|
|
9
|
-
import { logger } from './logger.js';
|
|
10
|
-
import { puppeteer } from './third_party/index.js';
|
|
11
9
|
import puppeteerExtra from 'puppeteer-extra';
|
|
12
10
|
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
|
|
11
|
+
import { logger } from './logger.js';
|
|
12
|
+
import { puppeteer } from './third_party/index.js';
|
|
13
13
|
// Add stealth plugin
|
|
14
14
|
puppeteerExtra.use(StealthPlugin());
|
|
15
15
|
let browser;
|
package/build/src/main.js
CHANGED
|
@@ -17,7 +17,7 @@ import { ToolCategory } from './tools/categories.js';
|
|
|
17
17
|
import { tools } from './tools/tools.js';
|
|
18
18
|
// If moved update release-please config
|
|
19
19
|
// x-release-please-start-version
|
|
20
|
-
const VERSION = '0.12.
|
|
20
|
+
const VERSION = '0.12.3';
|
|
21
21
|
// x-release-please-end
|
|
22
22
|
export const args = parseArguments(VERSION);
|
|
23
23
|
const logFile = args.logFile ? saveLogsToFile(args.logFile) : undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus21.ai/chrome-devtools-mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "MCP server for Chrome DevTools with stealth mode support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./build/src/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"format": "eslint --cache --fix . && prettier --write --cache .",
|
|
14
14
|
"check-format": "eslint --cache . && prettier --check --cache .;",
|
|
15
15
|
"docs": "npm run build && npm run docs:generate && npm run format",
|
|
16
|
-
"docs:generate": "node
|
|
16
|
+
"docs:generate": "node --experimental-strip-types scripts/generate-docs.ts",
|
|
17
17
|
"start": "npm run build && node build/src/index.js",
|
|
18
18
|
"start-debug": "DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js",
|
|
19
19
|
"test:node20": "node --import ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"homepage": "https://github.com/nimbus21/chrome-devtools-mcp#readme",
|
|
41
41
|
"mcpName": "io.github.nimbus21/chrome-devtools-mcp",
|
|
42
42
|
"dependencies": {
|
|
43
|
+
"puppeteer-core": "^24.33.0",
|
|
43
44
|
"puppeteer-extra": "^3.3.6",
|
|
44
45
|
"puppeteer-extra-plugin-stealth": "^2.11.2"
|
|
45
46
|
},
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
71
72
|
"rollup-plugin-license": "^3.6.0",
|
|
72
73
|
"sinon": "^21.0.0",
|
|
74
|
+
"tsx": "^4.21.0",
|
|
73
75
|
"typescript": "^5.9.2",
|
|
74
76
|
"typescript-eslint": "^8.43.0",
|
|
75
77
|
"yargs": "18.0.0"
|