chrometools-mcp 1.8.2 → 2.2.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/CHANGELOG.md +757 -494
- package/README.md +219 -41
- package/browser/browser-manager.js +206 -0
- package/browser/page-manager.js +298 -0
- package/index.js +525 -1892
- package/package.json +55 -55
- package/recorder/page-object-generator.js +720 -0
- package/recorder/recorder-script.js +118 -12
- package/recorder/scenario-executor.js +970 -946
- package/recorder/scenario-storage.js +253 -29
- package/server/tool-definitions.js +620 -0
- package/server/tool-schemas.js +295 -0
- package/utils/code-generators/code-generator-base.js +61 -0
- package/utils/code-generators/file-appender.js +202 -0
- package/utils/code-generators/playwright-python.js +84 -0
- package/utils/code-generators/playwright-typescript.js +95 -0
- package/utils/code-generators/selenium-java.js +123 -0
- package/utils/code-generators/selenium-python.js +82 -0
- package/utils/css-utils.js +151 -0
- package/utils/image-processing.js +236 -0
- package/utils/platform-utils.js +62 -0
- package/utils/url-to-project.js +141 -0
- package/index.js.backup +0 -3674
- package/utils/project-detector.js +0 -87
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "chrometools-mcp",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "MCP (Model Context Protocol) server for Chrome automation using Puppeteer. Persistent browser sessions, visual testing, Figma comparison, and design validation. Works seamlessly in WSL, Linux, and macOS.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"chrometools-mcp": "index.js"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "node index.js",
|
|
12
|
-
"dev": "node index.js",
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"build": "npm run lint && npm run validate",
|
|
15
|
-
"lint": "echo \"No linting configured\"",
|
|
16
|
-
"validate": "node -c index.js && echo \"Syntax validation passed\"",
|
|
17
|
-
"prepublishOnly": "npm run build"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"mcp",
|
|
21
|
-
"model-context-protocol",
|
|
22
|
-
"puppeteer",
|
|
23
|
-
"chrome",
|
|
24
|
-
"chromium",
|
|
25
|
-
"browser",
|
|
26
|
-
"automation",
|
|
27
|
-
"testing",
|
|
28
|
-
"visual-testing",
|
|
29
|
-
"figma",
|
|
30
|
-
"design-validation",
|
|
31
|
-
"web-automation",
|
|
32
|
-
"devtools",
|
|
33
|
-
"wsl"
|
|
34
|
-
],
|
|
35
|
-
"author": "Andrey Prozorov <docentovich@gmail.com>",
|
|
36
|
-
"license": "ISC",
|
|
37
|
-
"repository": {
|
|
38
|
-
"type": "git",
|
|
39
|
-
"url": "git+https://github.com/docentovich/chrometools-mcp.git"
|
|
40
|
-
},
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/docentovich/chrometools-mcp/issues"
|
|
43
|
-
},
|
|
44
|
-
"homepage": "https://github.com/docentovich/chrometools-mcp#readme",
|
|
45
|
-
"engines": {
|
|
46
|
-
"node": ">=18.0.0"
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@modelcontextprotocol/sdk": "^1.20.2",
|
|
50
|
-
"jimp": "^0.22.12",
|
|
51
|
-
"pixelmatch": "^7.1.0",
|
|
52
|
-
"puppeteer": "^24.27.0",
|
|
53
|
-
"zod": "^3.25.76"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "chrometools-mcp",
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"description": "MCP (Model Context Protocol) server for Chrome automation using Puppeteer. Persistent browser sessions, visual testing, Figma comparison, and design validation. Works seamlessly in WSL, Linux, and macOS.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"chrometools-mcp": "index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node index.js",
|
|
12
|
+
"dev": "node index.js",
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
+
"build": "npm run lint && npm run validate",
|
|
15
|
+
"lint": "echo \"No linting configured\"",
|
|
16
|
+
"validate": "node -c index.js && echo \"Syntax validation passed\"",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"puppeteer",
|
|
23
|
+
"chrome",
|
|
24
|
+
"chromium",
|
|
25
|
+
"browser",
|
|
26
|
+
"automation",
|
|
27
|
+
"testing",
|
|
28
|
+
"visual-testing",
|
|
29
|
+
"figma",
|
|
30
|
+
"design-validation",
|
|
31
|
+
"web-automation",
|
|
32
|
+
"devtools",
|
|
33
|
+
"wsl"
|
|
34
|
+
],
|
|
35
|
+
"author": "Andrey Prozorov <docentovich@gmail.com>",
|
|
36
|
+
"license": "ISC",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/docentovich/chrometools-mcp.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/docentovich/chrometools-mcp/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/docentovich/chrometools-mcp#readme",
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18.0.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@modelcontextprotocol/sdk": "^1.20.2",
|
|
50
|
+
"jimp": "^0.22.12",
|
|
51
|
+
"pixelmatch": "^7.1.0",
|
|
52
|
+
"puppeteer": "^24.27.0",
|
|
53
|
+
"zod": "^3.25.76"
|
|
54
|
+
}
|
|
55
|
+
}
|