solidworks-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@solidworks-mcpCreate a new part, sketch a 50mm circle on the front plane, and extrude it 100mm."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
solidworks-mcp
English | 简体中文
MCP server that drives a running SOLIDWORKS session over its COM API. It attaches to the session you already have open; it does not launch SOLIDWORKS, register an add-in or touch the network.
192 tools. Covered vs not covered: COVERAGE.md.
Requirements
Windows, SOLIDWORKS installed and already running, Python 3.10+.
Related MCP server: solidworks-mcp
Install
git clone https://github.com/Slacker-LLC/solidworks-mcp.git
cd solidworks-mcp
py -3 -m venv .venv
.venv\Scripts\python.exe -m pip install .The command is solidworks-mcp; the distribution is solidworks-mcp-server.
Claude:
{
"mcpServers": {
"solidworks-mcp": {
"command": "C:\\path\\to\\.venv\\Scripts\\solidworks-mcp.exe"
}
}
}Codex CLI (~/.codex/config.toml):
[mcp_servers.solidworks-mcp]
command = 'C:\path\to\.venv\Scripts\solidworks-mcp.exe'Configuration
Variable | Default | Meaning |
|
| Everything the server writes stays under here. |
| auto-discovered |
|
| unset |
|
| unset | Attach to a specific existing instance. |
Lengths are _mm, angles _deg. Geometry is passed as a selection object
({"edges": [4, 6, 9]}, {"planes": ["front"]}); indices describe the current
model, so re-list them after a geometry change.
Testing
python -m unittest discover -s tests -p 'test_*.py' # offline
python tests/live_p0_regression.py # live, SOLIDWORKS runningContributor notes: CONTRIBUTING.md · release process: RELEASING.md.
License
Apache License 2.0 — see LICENSE and the Simplified Chinese note. Copyright 2026 JIALE LIU.
This server cannot be deployed
Maintenance
Related MCP Connectors
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Agent-Native design tool - create and edit visual designs with agent assistance
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to automate SolidWorks (open/save parts, modify dimensions, export STEP) via COM, and optionally generate geometry using build123d code-CAD with PNG previews.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to build, measure, verify, and correct parametric SolidWorks parts and assemblies locally via the COM API, supporting operations like sketching, extruding, modeling, dimensioning, material assignment, export, and assembly mating.MIT
- AlicenseAqualityAmaintenanceLet AI agents build, measure and verify parametric parts and assemblies in your own running SolidWorks (Windows, COM). 46 tools, every step measured.87674 PyPI19MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to drive an already-running SOLIDWORKS session over its COM API, so it can build sketches, solid features, reference geometry, assemblies, mates, and engineering drawings, then inspect the result through topology listings, mass properties, measurements, and screenshots returned as images.1Apache 2.0