SolidWorks MCP
v2.2.0Drive SolidWorks from AI agents: parts, assemblies, drawings and export over the COM API.
PyPI (uvx) verified
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add solidworks-mcp-python -- uvx --from solidworks-mcp-python==2.2.0 solidworks-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"solidworks-mcp-python": {
"args": [
"--from",
"solidworks-mcp-python==2.2.0",
"solidworks-mcp"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"solidworks-mcp-python": {
"args": [
"--from",
"solidworks-mcp-python==2.2.0",
"solidworks-mcp"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"solidworks-mcp-python": {
"args": [
"--from",
"solidworks-mcp-python==2.2.0",
"solidworks-mcp"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.solidworks-mcp-python]
command = "uvx"
args = ["--from", "solidworks-mcp-python==2.2.0", "solidworks-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: open_model, create_part, create_assembly, create_drawing, close_model, create_extrusion, create_revolve, get_dimension, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json