SolidWorks MCP

v2.2.0
io.github.andrewbartels1/solidworks-mcp-python Checked 1 hour ago Published 4 days ago

Drive 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-mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: open_model, create_part, create_assembly, create_drawing, close_model, create_extrusion, create_revolve, get_dimension, ….
  4. 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