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.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
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
- FlicenseNot gradedqualityAmaintenanceDrives SolidWorks 2022 on Windows via COM to perform CAD operations like sketching, features, dimensioning, and mass property inspection from AI assistants.-
- FlicenseNot gradedqualityBmaintenanceEnables control of a live SOLIDWORKS session through the Windows COM API, providing native sketch, feature, body, reference-geometry, view, probe, and export operations, along with transactional CAD plans, parametric sketches, multibody tools, and deterministic raster-to-sketch vectorization pipelines.-
- 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