MCP Directory

How to add SolidWorks MCP to Claude Desktop

Automate SolidWorks over COM from your AI client: sketches, features, drawings, exports and VBA generation (alpha). Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.

Last updated June 14, 2026 ยท 193โ˜… ยท stdio ยท no auth

Claude Desktop config for SolidWorks MCP

git clone https://github.com/vespo92/SolidworksMCP-TS.git && cd SolidworksMCP-TS && npm install && npm run build
{
  "mcpServers": {
    "solidworks-mcp": {
      "command": "node",
      "args": [
        "C:/path/to/SolidworksMCP-TS/dist/index.js"
      ],
      "env": {
        "SOLIDWORKS_PATH": "C:\\Program Files\\SOLIDWORKS Corp\\SOLIDWORKS",
        "ADAPTER_TYPE": "winax-enhanced"
      }
    }
  }
}

Setup steps

  1. 1Open Claude Desktop โ†’ Settings โ†’ Developer โ†’ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the SolidWorks MCP config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 5Open a chat and confirm SolidWorks MCP's tools appear under the ๐Ÿ”Œ tools menu.

Before you start

  • Windows 10/11 (COM interop is Windows-only)
  • Licensed SolidWorks 2021โ€“2025 installed
  • Node.js 20+ (npm install compiles the winax native module locally)

What SolidWorks MCP can do in Claude Desktop

create_part

Create a new part document.

create_extrusion

Extrude a sketch into a solid feature.

create_revolve

Create a revolve feature.

create_sweep

Create a sweep feature.

create_loft

Create a loft feature.

create_fillet

Add a fillet to edges.

create_chamfer

Add a chamfer to edges.

create_sketch

Open a sketch on a plane.

Security

Alpha software driving a licensed CAD seat over COM โ€” most tools are untested against live SolidWorks, so run it on copies of parts rather than production assemblies. Complex operations execute auto-generated VBA macros inside SolidWorks, which is effectively arbitrary code execution in that session; no credentials or network access are involved.

SolidWorks MCP + Claude Desktop FAQ

Where is the Claude Desktop config file?

Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the SolidWorks MCP config there under the "mcpServers" key and restart the client.

Is SolidWorks MCP safe to use with Claude Desktop?

Alpha software driving a licensed CAD seat over COM โ€” most tools are untested against live SolidWorks, so run it on copies of parts rather than production assemblies. Complex operations execute auto-generated VBA macros inside SolidWorks, which is effectively arbitrary code execution in that session; no credentials or network access are involved.

Is SolidWorks MCP production-ready?

No โ€” the author labels it alpha/experimental. Basic sketching and simple extrusions are demonstrated; drawings, exports and analysis tools have only mock/unit tests, and there is no CI against a real SolidWorks instance yet. Treat it as a promising testbed and report results.

Why does it generate VBA macros instead of always calling the API?

Because Node.js COM bridges fail on SolidWorks methods with 13+ parameters (FeatureExtrusion3 takes 20+). The complexity analyzer sends small calls direct via winax and generates a VBA macro โ€” executed by SolidWorks โ€” for the big ones, falling back automatically when a call fails.

Can I run it without SolidWorks, or on macOS/Linux?

No. COM interop is Windows-only, and the server drives a licensed SolidWorks 2021โ€“2025 installation. Unit tests can run anywhere with USE_MOCK_SOLIDWORKS=true, but real automation needs Windows plus the app.

View repo Full SolidWorks MCP page