cad-compare-mcp 0.1.0 → 0.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/README.md +4 -2
- package/THIRD_PARTY_LICENSES.txt +26 -0
- package/package.json +1 -1
- package/server.mjs +4849 -67
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CAD Compare for AI assistants (MCP server)
|
|
2
2
|
|
|
3
|
-
Compare STEP CAD files from Claude, Cursor or any other MCP client: are two parts identical, the same part moved or rotated, or different, and what changed (which hole, from which diameter to which, where). Assemblies, duplicates in a folder, pictures of the differences and
|
|
3
|
+
Compare STEP CAD files from Claude, Cursor or any other MCP client: are two parts identical, the same part moved or rotated, or different, and what changed (which hole, from which diameter to which, where). Assemblies, duplicates in a folder, pictures of the differences and reports with an interactive 3D view with CAD Compare Pro.
|
|
4
4
|
|
|
5
5
|
**Everything runs on your computer.** Files are read locally and never uploaded; the assistant only sees the comparison result. The only network request is the licence check (licence key and plug-in version, if you set a key).
|
|
6
6
|
|
|
@@ -32,6 +32,8 @@ Claude Desktop users can also install the one-click bundle (`cad-compare.mcpb`)
|
|
|
32
32
|
|
|
33
33
|
Then ask, for example: *"Compare ~/parts/bracket_v1.step with ~/parts/bracket_v2.step: what changed?"*
|
|
34
34
|
|
|
35
|
+
You can also drag the two files into the chat. The server runs on your computer and cannot see files uploaded to the chat, so it looks up the files with the same names in your Downloads, Desktop and Documents (on macOS via Spotlight) and says which ones it used; if there are several, the assistant asks you.
|
|
36
|
+
|
|
35
37
|
## Tools
|
|
36
38
|
|
|
37
39
|
| Tool | Free | Pro | What it does |
|
|
@@ -42,7 +44,7 @@ Then ask, for example: *"Compare ~/parts/bracket_v1.step with ~/parts/bracket_v2
|
|
|
42
44
|
| `compare_assembly` | | ✓ | Two assemblies → parts added, removed, renamed or replaced, quantities, moves, structure, and what changed in modified parts |
|
|
43
45
|
| `find_duplicates` | | ✓ | A folder → groups of files that are the same part (also when moved), and mirrored left/right parts |
|
|
44
46
|
| `render_diff` | | ✓ | PNG pictures of the differences (overview and close-up) with numbered markers |
|
|
45
|
-
| `export_report` | | ✓ |
|
|
47
|
+
| `export_report` | | ✓ | An HTML report of the comparison next to the files: printable, with an interactive 3D view that works offline in any browser |
|
|
46
48
|
|
|
47
49
|
Results are JSON with documented fields (`cadver.diff/v1`, `cadver.fingerprint/v1`, `cad-compare.*/v1`); lengths are in millimetres. Errors come back as `{"error": "invalid_file" | "unsupported" | "license_required" | "exists" | "internal", "message": …, "hint": …}`; the hint tells the assistant what to do next.
|
|
48
50
|
|
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -52,6 +52,32 @@ SOFTWARE.
|
|
|
52
52
|
|
|
53
53
|
------------------------------------------------------------------------
|
|
54
54
|
|
|
55
|
+
esbuild 0.28.2 (MIT)
|
|
56
|
+
|
|
57
|
+
MIT License
|
|
58
|
+
|
|
59
|
+
Copyright (c) 2020 Evan Wallace
|
|
60
|
+
|
|
61
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
62
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
63
|
+
in the Software without restriction, including without limitation the rights
|
|
64
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
65
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
66
|
+
furnished to do so, subject to the following conditions:
|
|
67
|
+
|
|
68
|
+
The above copyright notice and this permission notice shall be included in all
|
|
69
|
+
copies or substantial portions of the Software.
|
|
70
|
+
|
|
71
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
72
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
73
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
74
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
75
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
76
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
77
|
+
SOFTWARE.
|
|
78
|
+
|
|
79
|
+
------------------------------------------------------------------------
|
|
80
|
+
|
|
55
81
|
fast-deep-equal 3.1.3 (MIT)
|
|
56
82
|
|
|
57
83
|
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cad-compare-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Compare STEP CAD files: identical, moved, or different, and what changed. Runs locally; files never leave your computer.",
|
|
5
5
|
"mcpName": "com.cad-compare/cad-compare",
|
|
6
6
|
"type": "module",
|