solidworks-mcp-python 1.5.0__py3-none-any.whl

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.
Files changed (115) hide show
  1. solidworks_mcp/__init__.py +57 -0
  2. solidworks_mcp/adapters/__init__.py +40 -0
  3. solidworks_mcp/adapters/base.py +1882 -0
  4. solidworks_mcp/adapters/circuit_breaker.py +2052 -0
  5. solidworks_mcp/adapters/com_executor.py +252 -0
  6. solidworks_mcp/adapters/complexity_analyzer.py +272 -0
  7. solidworks_mcp/adapters/connection_pool.py +1884 -0
  8. solidworks_mcp/adapters/factory.py +366 -0
  9. solidworks_mcp/adapters/intelligent_router.py +218 -0
  10. solidworks_mcp/adapters/mock_adapter.py +4016 -0
  11. solidworks_mcp/adapters/pywin32_adapter.py +2842 -0
  12. solidworks_mcp/adapters/solidworks/__init__.py +17 -0
  13. solidworks_mcp/adapters/solidworks/bitmap.py +180 -0
  14. solidworks_mcp/adapters/solidworks/com_utils.py +56 -0
  15. solidworks_mcp/adapters/solidworks/dimension_layout.py +753 -0
  16. solidworks_mcp/adapters/solidworks/documentation.py +1476 -0
  17. solidworks_mcp/adapters/solidworks/drawing_standard.py +1993 -0
  18. solidworks_mcp/adapters/solidworks/face_selection.py +392 -0
  19. solidworks_mcp/adapters/solidworks/features.py +3362 -0
  20. solidworks_mcp/adapters/solidworks/io.py +3649 -0
  21. solidworks_mcp/adapters/solidworks/rebuild_diagnostics.py +269 -0
  22. solidworks_mcp/adapters/solidworks/rebuild_inspector.py +146 -0
  23. solidworks_mcp/adapters/solidworks/selection.py +308 -0
  24. solidworks_mcp/adapters/solidworks/sketch.py +2545 -0
  25. solidworks_mcp/adapters/sw_feature_errors.py +66 -0
  26. solidworks_mcp/adapters/sw_type_info.py +317 -0
  27. solidworks_mcp/adapters/vba_adapter.py +318 -0
  28. solidworks_mcp/adapters/vba_macro_executor.py +215 -0
  29. solidworks_mcp/agents/__init__.py +68 -0
  30. solidworks_mcp/agents/design_knowledge/assembly_patterns.md +127 -0
  31. solidworks_mcp/agents/design_knowledge/hinges.md +118 -0
  32. solidworks_mcp/agents/design_knowledge/snap_fits.md +93 -0
  33. solidworks_mcp/agents/design_knowledge/solidworks_basics.md +3 -0
  34. solidworks_mcp/agents/design_knowledge/tolerancing.md +128 -0
  35. solidworks_mcp/agents/harness.py +216 -0
  36. solidworks_mcp/agents/history_db.py +1508 -0
  37. solidworks_mcp/agents/retrieval_index.py +164 -0
  38. solidworks_mcp/agents/schemas.py +165 -0
  39. solidworks_mcp/agents/smoke_test.py +285 -0
  40. solidworks_mcp/agents/soc_exporter.py +650 -0
  41. solidworks_mcp/agents/soc_pickup.py +332 -0
  42. solidworks_mcp/agents/soc_rewind.py +221 -0
  43. solidworks_mcp/agents/vector_rag.py +665 -0
  44. solidworks_mcp/cache/__init__.py +5 -0
  45. solidworks_mcp/cache/response_cache.py +164 -0
  46. solidworks_mcp/config.py +729 -0
  47. solidworks_mcp/exceptions.py +37 -0
  48. solidworks_mcp/security/__init__.py +68 -0
  49. solidworks_mcp/security/auth.py +128 -0
  50. solidworks_mcp/security/cors.py +27 -0
  51. solidworks_mcp/security/rate_limiting.py +90 -0
  52. solidworks_mcp/security/runtime.py +155 -0
  53. solidworks_mcp/server.py +777 -0
  54. solidworks_mcp/server_cli_fixed.py +120 -0
  55. solidworks_mcp/setup/__init__.py +1 -0
  56. solidworks_mcp/setup/cli.py +399 -0
  57. solidworks_mcp/setup/clients.py +157 -0
  58. solidworks_mcp/setup/config_file.py +230 -0
  59. solidworks_mcp/setup/handshake.py +202 -0
  60. solidworks_mcp/setup/launcher.py +102 -0
  61. solidworks_mcp/setup/legacy.py +100 -0
  62. solidworks_mcp/setup/registration.py +193 -0
  63. solidworks_mcp/setup/solidworks.py +49 -0
  64. solidworks_mcp/tools/__init__.py +64 -0
  65. solidworks_mcp/tools/analysis.py +723 -0
  66. solidworks_mcp/tools/automation.py +578 -0
  67. solidworks_mcp/tools/docs_discovery.py +1476 -0
  68. solidworks_mcp/tools/drawing.py +1015 -0
  69. solidworks_mcp/tools/drawing_analysis.py +456 -0
  70. solidworks_mcp/tools/drawing_automation.py +627 -0
  71. solidworks_mcp/tools/engineering_data.py +466 -0
  72. solidworks_mcp/tools/error_classifier.py +232 -0
  73. solidworks_mcp/tools/export.py +833 -0
  74. solidworks_mcp/tools/file_facts.py +40 -0
  75. solidworks_mcp/tools/file_management.py +1473 -0
  76. solidworks_mcp/tools/input_compat.py +17 -0
  77. solidworks_mcp/tools/macro_recording.py +464 -0
  78. solidworks_mcp/tools/modeling.py +2360 -0
  79. solidworks_mcp/tools/sketching.py +1422 -0
  80. solidworks_mcp/tools/template_management.py +367 -0
  81. solidworks_mcp/tools/tool_boundary.py +280 -0
  82. solidworks_mcp/tools/vba_generation.py +1145 -0
  83. solidworks_mcp/ui/__init__.py +9 -0
  84. solidworks_mcp/ui/local_llm.py +725 -0
  85. solidworks_mcp/ui/routers/__init__.py +10 -0
  86. solidworks_mcp/ui/routers/checkpoint.py +24 -0
  87. solidworks_mcp/ui/routers/docs.py +47 -0
  88. solidworks_mcp/ui/routers/llm.py +83 -0
  89. solidworks_mcp/ui/routers/local_model.py +69 -0
  90. solidworks_mcp/ui/routers/model.py +75 -0
  91. solidworks_mcp/ui/routers/preview.py +38 -0
  92. solidworks_mcp/ui/routers/session.py +161 -0
  93. solidworks_mcp/ui/routers/viewer.py +154 -0
  94. solidworks_mcp/ui/schemas.py +502 -0
  95. solidworks_mcp/ui/server.py +298 -0
  96. solidworks_mcp/ui/service.py +481 -0
  97. solidworks_mcp/ui/services/__init__.py +136 -0
  98. solidworks_mcp/ui/services/_utils.py +958 -0
  99. solidworks_mcp/ui/services/checkpoint_service.py +1110 -0
  100. solidworks_mcp/ui/services/docs_service.py +282 -0
  101. solidworks_mcp/ui/services/llm_service.py +956 -0
  102. solidworks_mcp/ui/services/model_service.py +459 -0
  103. solidworks_mcp/ui/services/parameter_repair_service.py +314 -0
  104. solidworks_mcp/ui/services/preview_service.py +489 -0
  105. solidworks_mcp/ui/services/session_service.py +1389 -0
  106. solidworks_mcp/utils/__init__.py +9 -0
  107. solidworks_mcp/utils/feature_tree_classifier.py +342 -0
  108. solidworks_mcp/utils/logging.py +76 -0
  109. solidworks_mcp/utils/validation.py +77 -0
  110. solidworks_mcp/version.py +8 -0
  111. solidworks_mcp_python-1.5.0.dist-info/METADATA +410 -0
  112. solidworks_mcp_python-1.5.0.dist-info/RECORD +115 -0
  113. solidworks_mcp_python-1.5.0.dist-info/WHEEL +4 -0
  114. solidworks_mcp_python-1.5.0.dist-info/entry_points.txt +3 -0
  115. solidworks_mcp_python-1.5.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,410 @@
1
+ Metadata-Version: 2.5
2
+ Name: solidworks-mcp-python
3
+ Version: 1.5.0
4
+ Summary: Python MCP server for SolidWorks: lets Claude and other AI agents build parts, assemblies and drawings through the SolidWorks COM API.
5
+ Project-URL: Homepage, https://github.com/andrewbartels1/SolidworksMCP-python
6
+ Project-URL: Documentation, https://andrewbartels1.com/SolidworksMCP-python/
7
+ Project-URL: Bug Reports, https://github.com/andrewbartels1/SolidworksMCP-python/issues
8
+ Project-URL: Source, https://github.com/andrewbartels1/SolidworksMCP-python
9
+ Project-URL: Changelog, https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/CHANGELOG.md
10
+ Author: Andrew Bartels
11
+ Maintainer: Andrew Bartels
12
+ License-Expression: MIT
13
+ License-File: LICENSE
14
+ Keywords: ai-agents,cad,cad-automation,claude,mcp,mcp-server,model-context-protocol,pywin32,solidworks,solidworks-api
15
+ Classifier: Development Status :: 4 - Beta
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: Microsoft :: Windows
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Topic :: System :: Software Distribution
24
+ Requires-Python: >=3.13
25
+ Requires-Dist: aiosqlite>=0.19.0
26
+ Requires-Dist: chardet<6
27
+ Requires-Dist: charset-normalizer>=3.4.0
28
+ Requires-Dist: comtypes>=1.4.0; platform_system == 'Windows'
29
+ Requires-Dist: defusedxml>=0.7.1
30
+ Requires-Dist: fastmcp>=3.2.2
31
+ Requires-Dist: httpx>=0.24.0
32
+ Requires-Dist: jinja2>=3.1.0
33
+ Requires-Dist: loguru>=0.7.0
34
+ Requires-Dist: mcp>=1.28.1
35
+ Requires-Dist: pyasn1>=0.6.4
36
+ Requires-Dist: pydantic-ai-slim[anthropic,mcp,openai]<2,>=1.107.4
37
+ Requires-Dist: pydantic>=2.5.0
38
+ Requires-Dist: python-dotenv>=1.0.0
39
+ Requires-Dist: pywin32-ctypes>=0.2.0; platform_system == 'Windows'
40
+ Requires-Dist: pywin32>=306; platform_system == 'Windows'
41
+ Requires-Dist: rich>=13.0.0
42
+ Requires-Dist: sqlalchemy>=2.0.0
43
+ Requires-Dist: sqlmodel>=0.0.22
44
+ Requires-Dist: typer>=0.12.0
45
+ Requires-Dist: typing-extensions>=4.8.0
46
+ Requires-Dist: urllib3>=2.7.0
47
+ Requires-Dist: uvicorn>=0.24.0
48
+ Provides-Extra: dev
49
+ Requires-Dist: black>=23.9.0; extra == 'dev'
50
+ Requires-Dist: build>=1.0.0; extra == 'dev'
51
+ Requires-Dist: coverage[toml]>=7.3.0; extra == 'dev'
52
+ Requires-Dist: doc8>=1.1.0; extra == 'dev'
53
+ Requires-Dist: factory-boy>=3.3.0; extra == 'dev'
54
+ Requires-Dist: hatch-fancy-pypi-readme>=24; extra == 'dev'
55
+ Requires-Dist: mypy>=1.6.0; extra == 'dev'
56
+ Requires-Dist: numpy>=1.26.0; extra == 'dev'
57
+ Requires-Dist: pre-commit>=3.4.0; extra == 'dev'
58
+ Requires-Dist: pydocstyle>=6.3.0; extra == 'dev'
59
+ Requires-Dist: pypdfium2>=4.30.0; extra == 'dev'
60
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
61
+ Requires-Dist: pytest-benchmark>=4.0.0; extra == 'dev'
62
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
63
+ Requires-Dist: pytest-mock>=3.11.0; extra == 'dev'
64
+ Requires-Dist: pytest-timeout>=2.1.0; extra == 'dev'
65
+ Requires-Dist: pytest-xdist>=3.3.0; extra == 'dev'
66
+ Requires-Dist: pytest>=7.4.0; extra == 'dev'
67
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
68
+ Requires-Dist: sphinx-autodoc-typehints>=1.24.0; extra == 'dev'
69
+ Requires-Dist: sphinx>=7.0.0; extra == 'dev'
70
+ Requires-Dist: tox>=4.11.0; extra == 'dev'
71
+ Provides-Extra: docs
72
+ Requires-Dist: mike>=2.0.0; extra == 'docs'
73
+ Requires-Dist: mkdocs-autorefs>=0.5.0; extra == 'docs'
74
+ Requires-Dist: mkdocs-awesome-pages-plugin>=2.9.0; extra == 'docs'
75
+ Requires-Dist: mkdocs-gen-files>=0.5.0; extra == 'docs'
76
+ Requires-Dist: mkdocs-include-markdown-plugin>=6.0.0; extra == 'docs'
77
+ Requires-Dist: mkdocs-literate-nav>=0.6.0; extra == 'docs'
78
+ Requires-Dist: mkdocs-material>=9.4.0; extra == 'docs'
79
+ Requires-Dist: mkdocs-mermaid2-plugin>=1.1.0; extra == 'docs'
80
+ Requires-Dist: mkdocs-minify-plugin>=0.7.0; extra == 'docs'
81
+ Requires-Dist: mkdocs-section-index>=0.3.0; extra == 'docs'
82
+ Requires-Dist: mkdocs<2,>=1.5.0; extra == 'docs'
83
+ Requires-Dist: mkdocstrings[python]>=0.24.0; extra == 'docs'
84
+ Requires-Dist: pygments>=2.16.0; extra == 'docs'
85
+ Provides-Extra: rag
86
+ Requires-Dist: faiss-cpu>=1.7.0; extra == 'rag'
87
+ Requires-Dist: numpy>=1.26.0; extra == 'rag'
88
+ Requires-Dist: sentence-transformers>=2.7.0; extra == 'rag'
89
+ Provides-Extra: test
90
+ Requires-Dist: coverage[toml]>=7.3.0; extra == 'test'
91
+ Requires-Dist: fastapi>=0.115.0; extra == 'test'
92
+ Requires-Dist: hatch-fancy-pypi-readme>=24; extra == 'test'
93
+ Requires-Dist: numpy>=1.26.0; extra == 'test'
94
+ Requires-Dist: pypdfium2>=4.30.0; extra == 'test'
95
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'test'
96
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'test'
97
+ Requires-Dist: pytest-mock>=3.11.0; extra == 'test'
98
+ Requires-Dist: pytest-timeout>=2.1.0; extra == 'test'
99
+ Requires-Dist: pytest-xdist>=3.3.0; extra == 'test'
100
+ Requires-Dist: pytest>=7.4.0; extra == 'test'
101
+ Provides-Extra: ui
102
+ Requires-Dist: fastapi>=0.115.0; extra == 'ui'
103
+ Provides-Extra: vision
104
+ Requires-Dist: numpy>=1.26.0; extra == 'vision'
105
+ Requires-Dist: pillow>=10.0.0; extra == 'vision'
106
+ Requires-Dist: scikit-image>=0.23.0; extra == 'vision'
107
+ Description-Content-Type: text/markdown
108
+
109
+ # SolidWorks CAD Assistant & MCP Server
110
+
111
+ <!-- mcp-name: io.github.andrewbartels1/solidworks-mcp-python -->
112
+
113
+ **Languages:** [English](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/README.md) | [Español](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/README.es-ES.md)
114
+
115
+ [![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)
116
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
117
+ [![Windows](https://img.shields.io/badge/Windows-10%2F11-blue?logo=windows)](https://www.microsoft.com/windows)
118
+ [![SolidWorks](https://img.shields.io/badge/tested%20on-SolidWorks%202026-red)](https://www.solidworks.com/)
119
+ [![Coverage](https://codecov.io/gh/andrewbartels1/SolidworksMCP-python/branch/main/graph/badge.svg)](https://codecov.io/gh/andrewbartels1/SolidworksMCP-python)
120
+
121
+ Python MCP server for SolidWorks automation with 154 tools, plus an optional agent/prompt-testing layer for AI-assisted workflows.
122
+
123
+ ## See it work
124
+
125
+ > Make a 100 x 50 x 10 mm AISI 1020 mounting plate with four M5 clearance holes, 10 mm in from each edge, and draw it fully dimensioned. Stack two of them 10 mm apart, check the result, and draw the assembly with a BOM.
126
+
127
+ ![A fully dimensioned plate, its drawing with GD&T, two plates mated 10 mm apart and the assembly drawing with a BOM, built in SolidWorks through the MCP tools](https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/readme/test_plate_stack_from_prompt_to_drawing-motion.gif)
128
+
129
+ The 58 tool calls an agent made from that prompt, run against SolidWorks 2026 through the same MCP tools a client calls, and recorded (sped up five times). Each result is checked against a hand calculation: the plate's volume and mass, the 10 mm gap and the BOM quantity. This is a replay of the calls, not a recorded model session.
130
+
131
+ > **Note:** the demo is not perfect, and is not the most efficient way to get this result. The run pauses after each call so it can be read, and the calls are chosen to show what the tools can do: every sketch dimension is added one at a time, and the mate distance is stepped down only so the plates are seen coming together.
132
+
133
+ The [walkthrough in the docs](https://andrewbartels1.github.io/SolidworksMCP-python/demos/#prompt-to-drawing) has the agent's plan and every call with its arguments. Run it yourself with the [README demo](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/tests/live/test_live_sw_readme_demo.py); the calls are also in [`plate_stack_calls.json`](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/assets/demos/readme/plate_stack_calls.json).
134
+
135
+ <details>
136
+ <summary>The 58 tool calls</summary>
137
+
138
+ 1. **Sketch** (24 calls): `create_sketch` on Top; four `add_line` for the 100 x 50 outline; `add_circle` for each Ø5.5 hole; `add_sketch_dimension` for the 100, the 50, one Ø5.5 and each hole 10 mm from two edges; `add_sketch_constraint` making the other three holes equal; `exit_sketch`
139
+ 2. **Check and extrude**: `check_sketch_fully_defined`, `create_extrusion` 10 mm (+49 049.7 mm³ read back)
140
+ 3. **Material and check**: `list_model_dimensions` (finds the Ø5.5 by value), `set_material` AISI 1020, `verify_model` (volume, mass 0.3875 kg, size, 1 feature, 1 body)
141
+ 4. **Plate drawing**: `generate_drawing_package` PS-01 (A3, four views, every model dimension laid out with no overlaps, notes, title block, PDF), `auto_center_marks`
142
+ 5. **GD&T**: `add_datum_tag` A, B and C, then `add_gtol` ⊕ Ø0.2 Ⓜ A|B|C on the Ø5.5
143
+ 6. **Assembly**: `insert_component` twice, `list_components`, `add_mate` Front and Right coincident and Top planes 60 mm apart, `set_dimension` stepping that distance down to 20 mm (10 calls), `verify_model` (2 parts, 3 mates, no interference; the stack measures 30 mm, so the gap is 10 mm)
144
+ 7. **Assembly drawing**: `set_custom_property` Material, `generate_drawing_package` PS-02 with `include_bom` (the BOM above the isometric: Demo Plate, QTY 2), then the same datums and position frame
145
+
146
+ </details>
147
+
148
+ ## Overview
149
+
150
+ > **Tried it?** Tell us what worked and what didn't in a [feedback issue](https://github.com/andrewbartels1/SolidworksMCP-python/issues/new?template=feedback.yml). Reports from real setups decide what gets fixed next.
151
+
152
+ This project focuses on practical SolidWorks automation with an AI-friendly loop:
153
+
154
+ 1. describe intent
155
+ 2. generate a plan
156
+ 3. execute MCP tools
157
+ 4. inspect results
158
+ 5. iterate
159
+
160
+ It includes:
161
+
162
+ - core MCP runtime for SolidWorks tool execution
163
+ - COM/VBA routing and adapter safety wrappers
164
+ - tool coverage across modeling, sketching, drawing, analysis, export, automation, templates, and macros
165
+ - optional agent orchestration/testing utilities under `src/solidworks_mcp/agents/`
166
+
167
+ ## Demos
168
+
169
+ Each GIF is a live test driving SolidWorks 2026 through the MCP tools, with the call and its result captioned beneath. Click one to see what it checks, a prompt that asks for it, and its tool calls.
170
+
171
+ <table>
172
+ <tr>
173
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-block"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_verify_model_passes_a_block_and_names_what_is_wrong.gif" alt="verify_model passes a block and names what is wrong" width="100%"></a><br><sub><code>verify_model</code> passes a block and names what is wrong</sub></td>
174
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-assembly"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_assembly_counts_components_mates_and_interference.gif" alt="An assembly: parts, mates and interference" width="100%"></a><br><sub>An assembly: parts, mates and interference</sub></td>
175
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-cut"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_cut_reports_the_volume_it_removed.gif" alt="A cut reports the volume it removed" width="100%"></a><br><sub>A cut reports the volume it removed</sub></td>
176
+ </tr>
177
+ <tr>
178
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-revolve"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_revolve_reports_the_volume_it_added.gif" alt="A revolve reports the volume it added" width="100%"></a><br><sub>A revolve reports the volume it added</sub></td>
179
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-round"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_round_part_size_is_exact.gif" alt="A round part's size is exact" width="100%"></a><br><sub>A round part's size is exact</sub></td>
180
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#verify-selection"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/verify-model/test_reading_the_model_keeps_the_selection.gif" alt="Reading the model keeps the selection" width="100%"></a><br><sub>Reading the model keeps the selection</sub></td>
181
+ </tr>
182
+ <tr>
183
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#package-block"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/drawing-package/test_generate_drawing_package_on_a_block.gif" alt="A full drawing package from one call" width="100%"></a><br><sub>A full drawing package from one call</sub></td>
184
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#sheet-scale"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/drawing-package/test_set_sheet_scale_halves_the_views.gif" alt="Setting the sheet scale" width="100%"></a><br><sub>Setting the sheet scale</sub></td>
185
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#bom"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/drawing-package/test_insert_bom_table_lists_both_parts.gif" alt="A BOM on an assembly drawing" width="100%"></a><br><sub>A BOM on an assembly drawing</sub></td>
186
+ </tr>
187
+ <tr>
188
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#insert-model-dimensions"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/drawing-dimensions/test_insert_model_dimensions_shows_each_dimension_once.gif" alt="Each model dimension shown once" width="100%"></a><br><sub>Each model dimension shown once</sub></td>
189
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#arrange-dimensions"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/drawing-dimensions/test_arrange_dimensions_clears_every_overlap.gif" alt="Clearing every overlap" width="100%"></a><br><sub>Clearing every overlap</sub></td>
190
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#material"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/engineering-data/test_material_applies_and_changes_mass.gif" alt="Material and mass" width="100%"></a><br><sub>Material and mass</sub></td>
191
+ </tr>
192
+ <tr>
193
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#dimensions-and-measure"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/engineering-data/test_dimensions_list_and_measure.gif" alt="Listing dimensions and measuring a face" width="100%"></a><br><sub>Listing dimensions and measuring a face</sub></td>
194
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#flat-pattern"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/engineering-data/test_export_flat_pattern_writes_a_dxf.gif" alt="Flat pattern of a sheet-metal part" width="100%"></a><br><sub>Flat pattern of a sheet-metal part</sub></td>
195
+ <td width="33%" valign="top"><a href="https://andrewbartels1.github.io/SolidworksMCP-python/demos/#custom-property"><img src="https://raw.githubusercontent.com/andrewbartels1/SolidworksMCP-python/main/docs/assets/demos/engineering-data/test_custom_property_round_trip.gif" alt="Custom properties" width="100%"></a><br><sub>Custom properties</sub></td>
196
+ </tr>
197
+ </table>
198
+
199
+ **[See every demo in the docs](https://andrewbartels1.github.io/SolidworksMCP-python/demos/)**: what each one shows, its prompt, every tool call with its arguments (all 58 for the demo at the top), and how to run them yourself.
200
+
201
+ ## Supported Today
202
+
203
+ - Windows + SolidWorks COM automation for the main CAD lifecycle.
204
+ - Tested on SolidWorks 2026. Earlier versions may work but are untested; if you try one, please [open an issue](https://github.com/andrewbartels1/SolidworksMCP-python/issues/new/choose) with what worked.
205
+ - Modeling, sketching, drawing, analysis, export, automation, templates, and macro tools.
206
+
207
+ ## Not Yet / Simulated
208
+
209
+ - Mock adapter output is simulated and should not be treated as engineering truth.
210
+ - Live 3D viewport streaming in a UI.
211
+ - Checkpoint-level interference validation.
212
+ - Simple simulation and fluid workflows
213
+ - Simple Topology Optimization via SimulationXpress etc.
214
+
215
+ ## Install
216
+
217
+ You need Windows 10 or 11 and SolidWorks (opened at least once). In PowerShell, install [uv](https://docs.astral.sh/uv/), then open a new PowerShell window and run setup:
218
+
219
+ ```powershell
220
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
221
+ uvx solidworks-mcp-python setup
222
+ ```
223
+
224
+ uv fetches Python 3.13 and the server from PyPI by itself; nothing to clone. The guided setup then:
225
+
226
+ 1. finds your SolidWorks version and the MCP clients on your PC: Claude Desktop, Claude Code, VS Code, Cursor and LM Studio;
227
+ 2. lets you pick which clients to connect;
228
+ 3. starts the server once to check that it lists its tools (in mock mode, so SolidWorks isn't touched);
229
+ 4. adds a `solidworks` entry to each client you picked, then tells you what to restart.
230
+
231
+ Nothing needs a login or an API key, and the server runs only on your PC. Setup changes only the `solidworks` entry in each client's config. It backs the file up first and never shows or changes your other servers. Other entries that start this server the old way (`run-mcp.ps1` and the like) are offered for removal, so tools don't load twice.
232
+
233
+ **To check it worked:** open SolidWorks, restart your client, and ask *"What model is open in SolidWorks?"*
234
+
235
+ The package is `solidworks-mcp-python`. `uvx solidworks-mcp` installs a different project. To work on the server itself, [install from a clone](https://andrewbartels1.github.io/SolidworksMCP-python/getting-started/installation/#install-from-source). More fixes are in [Troubleshooting](https://andrewbartels1.github.io/SolidworksMCP-python/getting-started/installation/#troubleshooting).
236
+
237
+ ## Connect your client
238
+
239
+ Run setup again whenever you want to add a client:
240
+
241
+ ```powershell
242
+ uvx solidworks-mcp-python setup
243
+ ```
244
+
245
+ | Option | What it does |
246
+ | --- | --- |
247
+ | `--client claude-desktop` | Configure one client without the list. Repeat it for several (`claude-code`, `vscode`, `cursor`, `lmstudio`). |
248
+ | `--dry-run` | Show what would change, and change nothing. |
249
+ | `--yes` | Don't ask: configure every client found. |
250
+ | `--remove` | Take the `solidworks` entry out again. |
251
+ | `--replace-old` | Remove older entries for this server without asking. |
252
+ | `--mock` | Configure mock mode, which answers without SolidWorks (for trying the tools). |
253
+
254
+ To set up a client by hand instead, each one runs `uvx solidworks-mcp-python`. If a client can't find `uvx`, use its full path, from `(Get-Command uvx).Source`.
255
+
256
+ <details>
257
+ <summary><b>Claude Desktop</b></summary>
258
+
259
+ Add this to `claude_desktop_config.json`, alongside anything already in it. Depending on how Claude Desktop was installed, the file is in one of:
260
+
261
+ - `%LOCALAPPDATA%\Claude-Data\claude_<id>\` (current releases)
262
+ - `%LOCALAPPDATA%\Packages\Claude_<id>\LocalCache\Roaming\Claude\`
263
+ - `%APPDATA%\Claude\`
264
+
265
+ ```json
266
+ {
267
+ "mcpServers": {
268
+ "solidworks": {
269
+ "command": "uvx",
270
+ "args": ["solidworks-mcp-python"]
271
+ }
272
+ }
273
+ }
274
+ ```
275
+
276
+ Quit Claude Desktop from the system tray (closing the window isn't enough) and reopen it. **Settings > Developer** should show `solidworks` as running.
277
+
278
+ </details>
279
+
280
+ <details>
281
+ <summary><b>Claude Code</b></summary>
282
+
283
+ ```powershell
284
+ claude mcp add --scope user solidworks -- uvx solidworks-mcp-python
285
+ ```
286
+
287
+ Run `/mcp` in a new session to check that `solidworks` is connected.
288
+
289
+ </details>
290
+
291
+ <details>
292
+ <summary><b>VS Code</b></summary>
293
+
294
+ Add this to `%APPDATA%\Code\User\mcp.json`:
295
+
296
+ ```json
297
+ {
298
+ "servers": {
299
+ "solidworks": {
300
+ "type": "stdio",
301
+ "command": "uvx",
302
+ "args": ["solidworks-mcp-python"]
303
+ }
304
+ }
305
+ }
306
+ ```
307
+
308
+ Run **MCP: List Servers** from the Command Palette and start `solidworks`. Its output should end with `Discovered 154 tools` (the count grows as tools are added).
309
+
310
+ </details>
311
+
312
+ <details>
313
+ <summary><b>LM Studio</b></summary>
314
+
315
+ Add this to `%USERPROFILE%\.lmstudio\mcp.json`:
316
+
317
+ ```json
318
+ {
319
+ "mcpServers": {
320
+ "solidworks": {
321
+ "command": "uvx",
322
+ "args": ["solidworks-mcp-python"]
323
+ }
324
+ }
325
+ }
326
+ ```
327
+
328
+ Restart LM Studio and enable `solidworks` in the Program tab.
329
+
330
+ </details>
331
+
332
+ For mock mode, which needs no SolidWorks, use `"args": ["solidworks-mcp-python", "--mock"]`. Linux and WSL work for the docs, the tests and mock mode, but not for driving SolidWorks.
333
+
334
+ <details>
335
+ <summary><b>Optional features (environment variables)</b></summary>
336
+
337
+ Set these in your client's `env` block for the server, or in the shell before starting it by hand. Every `SOLIDWORKS_MCP_<FIELD>` maps to the config field of the same name.
338
+
339
+ **SolidWorks-as-Code session logging (off by default).** Logs every adapter tool call to a local SQLite database, so a session can be replayed or exported as a runnable Python script (see [docs/getting-started/solidworks-as-code.md](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/solidworks-as-code.md)).
340
+
341
+ | Variable | Default | Meaning |
342
+ | --- | --- | --- |
343
+ | `SOLIDWORKS_MCP_SOC_LOGGING_ENABLED` | `false` | Turn logging on. |
344
+ | `SOLIDWORKS_MCP_SOC_SESSION_ID` | *(generated)* | Session name to log under. If unset while logging is on, a `soc-YYYYMMDD-HHMMSS` id is generated at startup. |
345
+ | `SOLIDWORKS_MCP_SOC_DB_PATH` | `.solidworks_mcp/agent_memory.sqlite3` | Override the database file. |
346
+
347
+ ```powershell
348
+ $env:SOLIDWORKS_MCP_SOC_LOGGING_ENABLED = "true"
349
+ $env:SOLIDWORKS_MCP_SOC_SESSION_ID = "my-bracket"
350
+ .\.venv\Scripts\solidworks-mcp.exe
351
+ # ...work in your MCP client...
352
+ .\.venv\Scripts\python.exe -m solidworks_mcp.agents.soc_exporter my-bracket my_bracket.py
353
+ ```
354
+
355
+ It works only with the circuit-breaker adapter wrapper (the default for real SolidWorks); the mock adapter does not log.
356
+
357
+ **API docs index auto-refresh (on by default).** The API-lookup tools (`lookup_api_interface`, `lookup_api_method`, `find_related_api_members`) and `search_solidworks_api_help` read a JSON index built by `discover_solidworks_docs`. When the index is older than the threshold, the next lookup rebuilds it.
358
+
359
+ | Variable | Default | Meaning |
360
+ | --- | --- | --- |
361
+ | `SOLIDWORKS_MCP_DOCS_INDEX_AUTO_REFRESH` | `true` | Rebuild a stale index automatically. No-op without SolidWorks + win32com; a failed rebuild keeps serving the existing index. |
362
+ | `SOLIDWORKS_MCP_DOCS_INDEX_MAX_AGE_DAYS` | `21` | Age after which the index counts as stale. |
363
+
364
+ </details>
365
+
366
+ ## Contributing
367
+
368
+ `install.ps1` gives you an editable install, so code changes take effect the next time a client starts the server. For the development tools, install the extras:
369
+
370
+ ```powershell
371
+ .\.venv\Scripts\python.exe -m pip install -e ".[dev,test,docs]"
372
+ ```
373
+
374
+ `.\dev-commands.ps1` lists the common workflows:
375
+
376
+ - `dev-install`: install or update the local dev environment
377
+ - `dev-test`: run the standard test suite (the CI-safe subset)
378
+ - `dev-test-full`: run the full suite, including smoke and integration paths
379
+ - `dev-lint` and `dev-format`: lint checks and formatting
380
+ - `dev-docs-build`, `dev-docs-strict` and `dev-docs-audit`: build the docs, build them failing on warnings, or write an audit report to `.generated/docs`
381
+
382
+ To mirror GitHub Actions CI locally (Ubuntu, the conda env from `solidworks_mcp.yml`, and `make test`), run `.\scripts\run-ci-local.ps1`. The first run builds the image; add `-NoBuild` to re-run tests without rebuilding.
383
+
384
+ ## Docs
385
+
386
+ - Main docs site: <https://andrewbartels1.github.io/SolidworksMCP-python/>
387
+ - Home/overview: [docs/index.md](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/index.md)
388
+
389
+ Key docs sections:
390
+
391
+ - Getting Started: [docs/getting-started](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started)
392
+ - MCP Server Guide: [docs/user-guide](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/user-guide)
393
+ - Tool Catalog: [docs/user-guide/tool-catalog](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/user-guide/tool-catalog)
394
+ - Agents and Skills: [docs/agents](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/agents)
395
+ - Planning/Roadmap: [docs/planning](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/planning)
396
+
397
+ Direct links:
398
+
399
+ - [Installation](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/installation.md)
400
+ - [Quick Start](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/quickstart.md)
401
+ - [Tutorial: U-Joint Assembly Build](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/tutorials/u-joint-assembly-build.md)
402
+ - [Tutorial Tracks](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/tutorial-tracks.md)
403
+ - [VS Code MCP Setup](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/getting-started/vscode-mcp-setup.md)
404
+ - [Architecture](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/user-guide/architecture.md)
405
+ - [Agents and Prompt Testing](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/agents/agents-and-testing.md)
406
+ - [PydanticAI and Schemas](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/docs/agents/pydantic-ai-and-schemas.md)
407
+
408
+ ## License
409
+
410
+ MIT License. See [LICENSE](https://github.com/andrewbartels1/SolidworksMCP-python/blob/main/LICENSE).
@@ -0,0 +1,115 @@
1
+ solidworks_mcp/__init__.py,sha256=KPycrnIQIibZJJvbDEzkAnUiJpqattDqTjDERBmiuuY,1533
2
+ solidworks_mcp/config.py,sha256=48b-G1xYHsOD8UkyhkNYlx_34jwEX3tDuZgpetLojm4,24208
3
+ solidworks_mcp/exceptions.py,sha256=wFYK6WIXHocHIxezenpcSa_AMHZWrc33kogfGnPKQ6E,745
4
+ solidworks_mcp/server.py,sha256=h-m8_AkdWJ9e2yL3AtVMS7tv6u78calvg6cGGr_fl6c,24060
5
+ solidworks_mcp/server_cli_fixed.py,sha256=Q4CQpm23gj9U4IKwBsDq7dTVuL4cdOQbJCRakL_Llk0,3577
6
+ solidworks_mcp/version.py,sha256=xUOBUxfTf38868dqDfz8Y7s-xTvn7VeuYGSFuMUvMmc,275
7
+ solidworks_mcp/adapters/__init__.py,sha256=jfMzvaJI_2ddMkYYjKl5FgwFRv642_qaJUFwujaD88Y,1230
8
+ solidworks_mcp/adapters/base.py,sha256=2vSBYsvUDLEjPdUOI0sMhsnCdVncdJYdVIfqGMuIQKk,62513
9
+ solidworks_mcp/adapters/circuit_breaker.py,sha256=izUFoHw_SNrHqSryo6NNmN-9p-AHJRW5hV8Wa8So5pY,72451
10
+ solidworks_mcp/adapters/com_executor.py,sha256=IrjNsJnJRRBo5dQk9utVg3pYQqQiuMvCIYHDy5pQ_64,8316
11
+ solidworks_mcp/adapters/complexity_analyzer.py,sha256=F-XJQX96GucyrEPT4-wwvX_TKCZzQHQfDiKI_foyldQ,9542
12
+ solidworks_mcp/adapters/connection_pool.py,sha256=kEennuuJFZoP9AcstyPDZYBvv85UPj6DiBGgaLcMu9o,63217
13
+ solidworks_mcp/adapters/factory.py,sha256=opXTTJD_Rt5SZGXUZaULooVqRg_gXXbdnmJU-xyYDZE,14698
14
+ solidworks_mcp/adapters/intelligent_router.py,sha256=b5ZZF9WSlFEHhtxliL0wPkuZOQJUFM8POQqtqYKcudw,8037
15
+ solidworks_mcp/adapters/mock_adapter.py,sha256=uV8kIFi6poFpRuOYgXJzsb784Rvw7xEMmrFspmQbs0o,151176
16
+ solidworks_mcp/adapters/pywin32_adapter.py,sha256=PBJXRn4oEPrnF78DenZHifwaq09dX2CLYwc8QczCLko,111666
17
+ solidworks_mcp/adapters/sw_feature_errors.py,sha256=CVzJn9n14O62kYUo2l1Y0eRWecVUCR1YP1eV9vhjebE,3082
18
+ solidworks_mcp/adapters/sw_type_info.py,sha256=zakpd5z-x8_aUViJLHCuqXhSowZkLV82YmiewCvFDDE,11537
19
+ solidworks_mcp/adapters/vba_adapter.py,sha256=zKn308zWuN4EwSmV9nAg2hUt0svzzwKVt9X_XEPtRWc,9514
20
+ solidworks_mcp/adapters/vba_macro_executor.py,sha256=520qsZBG80Ky31nI5CX5wjoXHcWRntIoF66caM4lw2Q,6856
21
+ solidworks_mcp/adapters/solidworks/__init__.py,sha256=xp4rcX3PZaah_9ekbvM58DIQFnAWd7kHA3nlhee_Q6o,551
22
+ solidworks_mcp/adapters/solidworks/bitmap.py,sha256=Jt7fC_6ek8Qu9sLHOVuDnGnWm0rqiJ3EYalwQ3EeQw8,6700
23
+ solidworks_mcp/adapters/solidworks/com_utils.py,sha256=xRPStJu3xPr6Ug3DjU516zgxBhm0qYFTHjxeNXvja6o,1945
24
+ solidworks_mcp/adapters/solidworks/dimension_layout.py,sha256=3_5gRjBjaC2AU5wlhUYn5lnNW-rIkp1bgYqw2tBmUpU,28304
25
+ solidworks_mcp/adapters/solidworks/documentation.py,sha256=vrre0Cugm8e3ziYJcL4YNbtU6JNLO6qWl7S1PusYCyw,60263
26
+ solidworks_mcp/adapters/solidworks/drawing_standard.py,sha256=wt60aa2rfFVyLdyd_XyHmogEydCByIelk2jqq_0lSqw,81806
27
+ solidworks_mcp/adapters/solidworks/face_selection.py,sha256=-YRcqaZaEruIoucFuO4oyb9MiDnM7QPZk-Yq1sVxWP4,15186
28
+ solidworks_mcp/adapters/solidworks/features.py,sha256=Vclks0z5_GUyZnbOflTiVxGvW_Ot0-aZnxSvWKlrsWk,135062
29
+ solidworks_mcp/adapters/solidworks/io.py,sha256=PB6V1OU1Nzl-6WCSX4BLp91WU8AQbIWfZ9kD4TtJcUY,142744
30
+ solidworks_mcp/adapters/solidworks/rebuild_diagnostics.py,sha256=oQ9ZGpb3dKCaFMTmtSlHjCQNUXJLpaLqJGhoI-6p6x0,9630
31
+ solidworks_mcp/adapters/solidworks/rebuild_inspector.py,sha256=BTon6oeVAw3gTM93XkIkLFe5VMUzprYy-AcxnY0W2ls,5711
32
+ solidworks_mcp/adapters/solidworks/selection.py,sha256=Egajs3sNrTkArhtX75DCK4qPDRzIdd4Ah53j8AuFu-4,12446
33
+ solidworks_mcp/adapters/solidworks/sketch.py,sha256=bzFEihfGnM_AdXlJNF6wcp6eicGC2BQi_JgGXhyP0jo,102955
34
+ solidworks_mcp/agents/__init__.py,sha256=7zts9ddQZyxNTrgS-IgovhHqrQ4EWVZxRdogMwH-pDk,1785
35
+ solidworks_mcp/agents/harness.py,sha256=ws9hFDTti8FnoCxBl6i1RpuGCEciXRMjPoKnZ_uiRqI,6945
36
+ solidworks_mcp/agents/history_db.py,sha256=sAwwupe30Fpq2XQUN6DwyqA9LxKEgX80mEID5xWvzKY,50273
37
+ solidworks_mcp/agents/retrieval_index.py,sha256=DIRjN79F8gadrL-hss96pOxlVRQmZ1myPDBCbiPq3us,5535
38
+ solidworks_mcp/agents/schemas.py,sha256=2d9vaovEyr3aurfpPiGwOTzeCQB4Z7dul98pZs5wCgY,5744
39
+ solidworks_mcp/agents/smoke_test.py,sha256=SOnw98VlRvZKVwo-EZRTEEjNhzpiIMxZlXAT_RQnJ7E,8709
40
+ solidworks_mcp/agents/soc_exporter.py,sha256=lSOUCW8cOW9nHB3vXgpU73s5CbHTNao3nJZ7Y1LnBwg,23242
41
+ solidworks_mcp/agents/soc_pickup.py,sha256=VfhwXjnzCql5cyowB_bZrrFF5HaNVa6z-GEJr1l8RDI,12033
42
+ solidworks_mcp/agents/soc_rewind.py,sha256=-ZPTwJCDkAQ2LpWeKTAdL8pfT7_fNoklN5p6ES15jn8,7697
43
+ solidworks_mcp/agents/vector_rag.py,sha256=MknjC4vfRmrUUs_5rqvwdoOa7kZk9LDJFyNYj7I_tNI,22898
44
+ solidworks_mcp/agents/design_knowledge/assembly_patterns.md,sha256=XvLVC62rmNmqM6EnBdWlY-GVRQS5eA0NMcBQ1JY6ml8,5073
45
+ solidworks_mcp/agents/design_knowledge/hinges.md,sha256=YV8csU2818KvYRfVWNag80F-SjNicc50pHcTaO_ApVM,5071
46
+ solidworks_mcp/agents/design_knowledge/snap_fits.md,sha256=BQA9oYZpq_UmkiVT9ledIpfxIZQ182hJmYgycCPpyhs,3620
47
+ solidworks_mcp/agents/design_knowledge/solidworks_basics.md,sha256=mU9b55uf5km06vU1_ooB4AZWLQluZWNbk4sMYb-Oveo,63
48
+ solidworks_mcp/agents/design_knowledge/tolerancing.md,sha256=8JYf-taJ68X0aUSohj04J5nLGHocgUVmNzWNBBN0eDM,5117
49
+ solidworks_mcp/cache/__init__.py,sha256=2jBN8DCLfBZit-cBsMg4CxfTkl7OeIGcBzIllH0hUS4,161
50
+ solidworks_mcp/cache/response_cache.py,sha256=mexSi-Qf_pzltQU8hbL1vz_TdXAyH7tK-EsyWhUIVGk,4478
51
+ solidworks_mcp/security/__init__.py,sha256=WhE6MLW2ZF8MJgPXYo-Sb8xGg2aI19PjYQxAEArYeZE,1851
52
+ solidworks_mcp/security/auth.py,sha256=BvFPq4YyM7EIVlBSSN4PVrnlsX9o1pXYhRY9LmwL_xw,4322
53
+ solidworks_mcp/security/cors.py,sha256=_2C-uEJ2Z37mUX3I4hydflIJwyKAkA5TnkSbDRQz0Y4,905
54
+ solidworks_mcp/security/rate_limiting.py,sha256=wxeFzDNV83OKPlpxeKz4qWA7iwG4QnZsPV8w-IWfFl0,2384
55
+ solidworks_mcp/security/runtime.py,sha256=r-uWUY3r-OshZrh0-nqvMQRmJhWECHZUdbYmKeMhmHI,4804
56
+ solidworks_mcp/setup/__init__.py,sha256=RIcgpzqK9J2qMGwOHqO1SVwN1r34madXyBrqpKLAsHw,83
57
+ solidworks_mcp/setup/cli.py,sha256=xGeHMdgAXI5jUnCDiDaQjLG3HUz9hsQxvkJTGuqWwGI,13754
58
+ solidworks_mcp/setup/clients.py,sha256=r3Gz1KVS8KdC8K9BsKcANugnh6WwE0gujm7dq7Ybu7k,5448
59
+ solidworks_mcp/setup/config_file.py,sha256=m6l6-yQ-5IVRsvT0HaFFs6FEM6IVil1iB7b3RnaKuL0,7553
60
+ solidworks_mcp/setup/handshake.py,sha256=_PfnCdlTjA2G6AsufxHmxJCrrpLkx53eR-dCI6GzST0,6272
61
+ solidworks_mcp/setup/launcher.py,sha256=gfnZ-4sMPYJyhn9mibjSyPTCXGKBu-i3MKjP7iTQhsA,3515
62
+ solidworks_mcp/setup/legacy.py,sha256=p8YH1E16D4TZgmMPy7gZTqN4C9jAJoiU4t0hbN05FYk,3265
63
+ solidworks_mcp/setup/registration.py,sha256=lQcQNlQBFaSUOkG6NiMGthIEi7L0A1vNbsEls3LUsJk,6658
64
+ solidworks_mcp/setup/solidworks.py,sha256=PZu6ry9J-iJ0jG-WpoxBM8kkSz0You2aXIYdtfNDye0,1534
65
+ solidworks_mcp/tools/__init__.py,sha256=2chOT2dz7EM08sPL5kDNbNPwVYh8T_wIPYHSeWvuO0g,2439
66
+ solidworks_mcp/tools/analysis.py,sha256=ovA46iZp6ZfdBCAY4GiHf4B40p8tH3ulGzt9S3HF6uQ,27778
67
+ solidworks_mcp/tools/automation.py,sha256=CdFX27U1CG_ACgS9uY_a5J6a4wdIhjTNXaM_vUmNyr8,21825
68
+ solidworks_mcp/tools/docs_discovery.py,sha256=mt_Sb7J7GAkAowpAI_yO0jlksM0MdEvtXaMI_Du3caE,50881
69
+ solidworks_mcp/tools/drawing.py,sha256=X_02eqXym3rVOzKRgDmE5YkgjZyWN5-ji9MWOUkh2ys,42832
70
+ solidworks_mcp/tools/drawing_analysis.py,sha256=E7aaBnVOxWhmBQPZo7JA-WZw_f1fx9sxy-Xz71R1hVw,16238
71
+ solidworks_mcp/tools/drawing_automation.py,sha256=HkqPzAIZY4rARD22BWbTSRdoPqjL85UPSASFOjeLFiQ,24820
72
+ solidworks_mcp/tools/engineering_data.py,sha256=_3eWMxnTptHbQfo4HDlhhLaRD035i7HFZSThg1JLx9I,16774
73
+ solidworks_mcp/tools/error_classifier.py,sha256=j6ELKltklO39Dh6zqUnfNZamWopJApFNzaizu8Lx0W8,8277
74
+ solidworks_mcp/tools/export.py,sha256=yDTT-eI9ZraQnzGbPRyS6dmsuo-09e-XsAsXcnjLtUM,33751
75
+ solidworks_mcp/tools/file_facts.py,sha256=hgMQHtiUjWFRo8beypNSzwcHgCd1DjYtvDsOz4hRaIY,1204
76
+ solidworks_mcp/tools/file_management.py,sha256=JqyfosBhkSHksAUOa6CXv6H95xahCsgh-3TC3rvXT3o,56300
77
+ solidworks_mcp/tools/input_compat.py,sha256=dVEoDnNR8P9skoR6J0dqSRTh1bWgKTrgpC0mpnb9jlk,481
78
+ solidworks_mcp/tools/macro_recording.py,sha256=fs_8gQcY-Ggvz4lZMGT_NDs9c4QJdINRUArj3IbMZq8,17137
79
+ solidworks_mcp/tools/modeling.py,sha256=K6GJ0pP9JGGRuoT5iMPB0zWhiSNaoqWfcqa-uMPaJXA,91107
80
+ solidworks_mcp/tools/sketching.py,sha256=EZkjW0cwfMFpS229nLPJhmr-KTaoV0oCc5pBoBIoyfg,58141
81
+ solidworks_mcp/tools/template_management.py,sha256=bmCaMgKU39ZC6wvWXtyE6Y6UbVzRGvrCQ_xLWT7j6IQ,13766
82
+ solidworks_mcp/tools/tool_boundary.py,sha256=5oqTHKKHzUN0k0LeO4z709y-zZHfiEX2DUXeykTBDAw,9701
83
+ solidworks_mcp/tools/vba_generation.py,sha256=yUv47DSjROwf72XSEBMFRDDpZFvIg8qllggExNtO9yY,39114
84
+ solidworks_mcp/ui/__init__.py,sha256=0rHiG-2Qu6H2bsMO1GIV5mzAyi7wHGQPCb1-XtJX9Ss,240
85
+ solidworks_mcp/ui/local_llm.py,sha256=og-m7o3yu9Xh6S-Aa5IABN68dGCA3_fCPjgYQIs64v8,25620
86
+ solidworks_mcp/ui/schemas.py,sha256=XTbkkNehNTPSnEbCbbRLQXnEhMgHhl6dWVn-uJ9Z1BY,20955
87
+ solidworks_mcp/ui/server.py,sha256=uifRFjMh7fQuaJRq21AvGBzgdLALmF15SjQlCGVvhqc,9231
88
+ solidworks_mcp/ui/service.py,sha256=JFQgJQLchLbydKyDVCtCnAjXnCTQGEQIfh-n2mXT2OU,15701
89
+ solidworks_mcp/ui/routers/__init__.py,sha256=2esjq6aQHzoqQGAhSWKG7dhIQe2Mf4F-kzQ-FzOQ1Ks,288
90
+ solidworks_mcp/ui/routers/checkpoint.py,sha256=vcxSDiE_yfo4J9yVbrhA8dtSjQXsilmfT62MoCdDrjw,694
91
+ solidworks_mcp/ui/routers/docs.py,sha256=2Ex_DsDiND3qVzTql3BhdHzEAPe42V3TZjY_tADZhgI,1398
92
+ solidworks_mcp/ui/routers/llm.py,sha256=d-448ZnQA6wLg-rGuQBFC-n7Ze7IQMmrEcn141ZpEds,2615
93
+ solidworks_mcp/ui/routers/local_model.py,sha256=25Yoha5oVNp3PyJtS7br2Phu4CU1_02ys25xQMilYDE,2061
94
+ solidworks_mcp/ui/routers/model.py,sha256=mcbX4-UdA2XmnzVfy2SHVuFt3rgFrgR-26apjltFVxc,2220
95
+ solidworks_mcp/ui/routers/preview.py,sha256=2jFWWlDbyq6VNqRXTXbX86j1ZCFlZCNGqVofU3x6LeU,1211
96
+ solidworks_mcp/ui/routers/session.py,sha256=tvpaFZyInI1OZGRf9jTFX7zlinZslh-64g4uqzGzxh0,5218
97
+ solidworks_mcp/ui/routers/viewer.py,sha256=hklOKk9N1IDTCR2QI3_dnQVqKK4AsMjUQWdPKc7oKuU,6554
98
+ solidworks_mcp/ui/services/__init__.py,sha256=iyhL5qj8hMxFL9i--DYnhTMcFFTbwh0WOEitJ2a_l34,3633
99
+ solidworks_mcp/ui/services/_utils.py,sha256=mLmzSRT_wqIh1uKBi8yV1ocEPrnMlFhCy7Yewoh60xU,32098
100
+ solidworks_mcp/ui/services/checkpoint_service.py,sha256=QcYh8Y-N2MPiTbWs_5bSe4m2NIDrxmx0S3UXv47r_sU,48369
101
+ solidworks_mcp/ui/services/docs_service.py,sha256=DCY07FKk_RLN44z9KlF0Jsar6xlQStwr3-9MbqdTwOs,10533
102
+ solidworks_mcp/ui/services/llm_service.py,sha256=uLApaEvQCv_viwHaJTAvVVdqOSwwde2swZZShUWcMQ0,38788
103
+ solidworks_mcp/ui/services/model_service.py,sha256=G7XS9G8mhbrh1QywRPfTIuomM7amXrgb2dU9MvHBcrI,17499
104
+ solidworks_mcp/ui/services/parameter_repair_service.py,sha256=jUWCpdcoTox19wl4EG1thpJ2ZW8QcRH-D_iBKasLRbE,10862
105
+ solidworks_mcp/ui/services/preview_service.py,sha256=B7F0ryufEIEgh7xxj-shovLfyYPl1qSMe1FTKuyUxf0,19182
106
+ solidworks_mcp/ui/services/session_service.py,sha256=_h6ZbhVfgQzNiWd01r1PCvequpgcja-sWYh6TAoUlIo,50960
107
+ solidworks_mcp/utils/__init__.py,sha256=Ma7NHaH9H3XX6iU-BL-U-x9GA_uSgbhFmN7ONgSD3kY,188
108
+ solidworks_mcp/utils/feature_tree_classifier.py,sha256=N8N4-nYBUmXZ_Tv2qATAYbqF0AYIzTlAEJeaQoEImzQ,11235
109
+ solidworks_mcp/utils/logging.py,sha256=NBqjxnyvejBCrJPdUjumlqZ5pOo5cJADtOr4tdOf25Q,2050
110
+ solidworks_mcp/utils/validation.py,sha256=wKuu2q0Jlr_7IjKLxdIBqh1gYrxtgEdJkt-0Bn2hwo8,2340
111
+ solidworks_mcp_python-1.5.0.dist-info/METADATA,sha256=Rh-s8oHlgaOp0y8sLFljSBk_-dAqfr5GbdVZCHIVgG0,26098
112
+ solidworks_mcp_python-1.5.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
113
+ solidworks_mcp_python-1.5.0.dist-info/entry_points.txt,sha256=M0dOYmqkw2gOV7rZ6snb2jjLUUfKvw5BREE7QP3bp0A,121
114
+ solidworks_mcp_python-1.5.0.dist-info/licenses/LICENSE,sha256=XGqs_HZgt49gxnEXaEgvm8ARhex2-alYZy1wGwBfoHM,1072
115
+ solidworks_mcp_python-1.5.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ solidworks-mcp = solidworks_mcp.server:cli_main
3
+ solidworks-mcp-python = solidworks_mcp.server:cli_main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ESPO Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.