@mcp-b/chrome-devtools-mcp 0.12.0-beta.0
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/LICENSE +202 -0
- package/README.md +554 -0
- package/build/src/DevToolsConnectionAdapter.js +69 -0
- package/build/src/DevtoolsUtils.js +206 -0
- package/build/src/McpContext.js +499 -0
- package/build/src/McpResponse.js +396 -0
- package/build/src/Mutex.js +37 -0
- package/build/src/PageCollector.js +283 -0
- package/build/src/WaitForHelper.js +139 -0
- package/build/src/browser.js +134 -0
- package/build/src/cli.js +213 -0
- package/build/src/formatters/consoleFormatter.js +121 -0
- package/build/src/formatters/networkFormatter.js +77 -0
- package/build/src/formatters/snapshotFormatter.js +73 -0
- package/build/src/index.js +21 -0
- package/build/src/issue-descriptions.js +39 -0
- package/build/src/logger.js +27 -0
- package/build/src/main.js +130 -0
- package/build/src/polyfill.js +7 -0
- package/build/src/third_party/index.js +16 -0
- package/build/src/tools/ToolDefinition.js +20 -0
- package/build/src/tools/categories.js +24 -0
- package/build/src/tools/console.js +85 -0
- package/build/src/tools/emulation.js +87 -0
- package/build/src/tools/input.js +268 -0
- package/build/src/tools/network.js +106 -0
- package/build/src/tools/pages.js +237 -0
- package/build/src/tools/performance.js +147 -0
- package/build/src/tools/screenshot.js +84 -0
- package/build/src/tools/script.js +71 -0
- package/build/src/tools/snapshot.js +52 -0
- package/build/src/tools/tools.js +31 -0
- package/build/src/tools/webmcp.js +233 -0
- package/build/src/trace-processing/parse.js +84 -0
- package/build/src/transports/WebMCPBridgeScript.js +196 -0
- package/build/src/transports/WebMCPClientTransport.js +276 -0
- package/build/src/transports/index.js +7 -0
- package/build/src/utils/keyboard.js +296 -0
- package/build/src/utils/pagination.js +49 -0
- package/build/src/utils/types.js +6 -0
- package/package.json +87 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mcp-b/chrome-devtools-mcp",
|
|
3
|
+
"version": "0.12.0-beta.0",
|
|
4
|
+
"description": "MCP server for Chrome DevTools with WebMCP integration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": "./build/src/index.js",
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"build/src",
|
|
10
|
+
"build/node_modules",
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"!*.tsbuildinfo"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/WebMCP-org/npm-packages.git",
|
|
17
|
+
"directory": "packages/chrome-devtools-mcp"
|
|
18
|
+
},
|
|
19
|
+
"author": "Google LLC",
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/WebMCP-org/npm-packages/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/WebMCP-org/npm-packages/tree/main/packages/chrome-devtools-mcp#readme",
|
|
25
|
+
"upstream": {
|
|
26
|
+
"repository": "https://github.com/ChromeDevTools/chrome-devtools-mcp",
|
|
27
|
+
"mcpName": "io.github.ChromeDevTools/chrome-devtools-mcp"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public",
|
|
31
|
+
"registry": "https://registry.npmjs.org/"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@eslint/js": "^9.35.0",
|
|
35
|
+
"@modelcontextprotocol/sdk": "1.24.1",
|
|
36
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
37
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
38
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
39
|
+
"@stylistic/eslint-plugin": "^5.4.0",
|
|
40
|
+
"@types/debug": "^4.1.12",
|
|
41
|
+
"@types/filesystem": "^0.0.36",
|
|
42
|
+
"@types/node": "^24.3.3",
|
|
43
|
+
"@types/sinon": "^21.0.0",
|
|
44
|
+
"@types/yargs": "^17.0.33",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
|
46
|
+
"@typescript-eslint/parser": "^8.43.0",
|
|
47
|
+
"chrome-devtools-frontend": "1.0.1550444",
|
|
48
|
+
"core-js": "3.47.0",
|
|
49
|
+
"debug": "4.4.3",
|
|
50
|
+
"eslint": "^9.35.0",
|
|
51
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
52
|
+
"eslint-plugin-import": "^2.32.0",
|
|
53
|
+
"globals": "^16.4.0",
|
|
54
|
+
"prettier": "^3.6.2",
|
|
55
|
+
"puppeteer": "24.32.0",
|
|
56
|
+
"puppeteer-core": "24.32.0",
|
|
57
|
+
"rollup": "4.53.3",
|
|
58
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
59
|
+
"rollup-plugin-license": "^3.6.0",
|
|
60
|
+
"sinon": "^21.0.0",
|
|
61
|
+
"typescript": "^5.9.2",
|
|
62
|
+
"typescript-eslint": "^8.43.0",
|
|
63
|
+
"yargs": "18.0.0",
|
|
64
|
+
"zod": "3.25.76"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": "^20.19.0 || ^22.12.0 || >=23"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
|
|
71
|
+
"bundle": "npm run clean && npm run build && rollup -c rollup.config.mjs",
|
|
72
|
+
"build": "tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts",
|
|
73
|
+
"typecheck": "tsc --noEmit",
|
|
74
|
+
"format": "eslint --cache --fix . && prettier --write --cache .",
|
|
75
|
+
"check-format": "eslint --cache . && prettier --check --cache .;",
|
|
76
|
+
"docs": "npm run build && npm run docs:generate && npm run format",
|
|
77
|
+
"docs:generate": "node --experimental-strip-types scripts/generate-docs.ts",
|
|
78
|
+
"start": "npm run build && node build/src/index.js",
|
|
79
|
+
"start-debug": "DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js",
|
|
80
|
+
"test:node20": "node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests",
|
|
81
|
+
"test": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"",
|
|
82
|
+
"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\"",
|
|
83
|
+
"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\"",
|
|
84
|
+
"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\"",
|
|
85
|
+
"verify-server-json-version": "node --experimental-strip-types scripts/verify-server-json-version.ts"
|
|
86
|
+
}
|
|
87
|
+
}
|