SolidWorks MCP in TypeScript

SolidworksMCP-TS

An MCP server for SolidWorks in TypeScript: models, sketches, drawings, export and VBA macros. The author has not yet verified most tools

  • 237 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • Runs COM calls and VBA macros in your SolidWorks
  • The author has not verified most tools on a live program
  • Creates, changes and exports model files
All reasons and checks

vespo92/solidworksmcp-ts

Install

Manual install

git clone https://github.com/vespo92/SolidworksMCP-TS.git
cd SolidworksMCP-TS
npm install
npm run build

A global npm install does not work. Run through node from the dist folder; the SOLIDWORKS_PATH variable points to SolidWorks.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Runs COM calls and VBA macros in your SolidWorks
  • The author has not verified most tools on a live program
  • Creates, changes and exports model files

This is third-party code. Review the repository files before installing.

What it does

The TypeScript server drives SolidWorks through the native winax module. According to the README the tools are grouped by category: modeling, sketches, drawings, export to STEP, IGES, STL, PDF, DWG and DXF, analysis, VBA generation and macros. For API methods with 13 or more parameters the server builds a VBA macro itself. The npm package solidworks-mcp-server is at version 3.1.3. Windows 10 or 11, a licensed SolidWorks 2021–2025 and Node.js 20 or newer are required; the SOLIDWORKS_PATH variable sets the path to the program.

Who it is for. For designers and CAD automators who work in SolidWorks and are ready to deal with VBA and COM.

Good fit when

  • You need to export models to STEP, STL or DXF in a batch
  • You need to generate a VBA macro for a complex API call
  • You need to build sketches and basic operations from the chat

Not a fit when

  • You need every tool proven: the author says most are not verified on a live SolidWorks
  • You have no Windows and no licensed SolidWorks

Example request

Build an 80 by 50 mm rectangle sketch, extrude it 20 mm and export the part to STEP

MCP

Transport
stdio
Authentication
not required

Environment variables

SOLIDWORKS_PATH
Path to the installed SolidWorks

Limitations

The README warns directly: most tools are not verified on a live SolidWorks. Sketches (basic operations) are verified, modeling is partly verified, and drawings, analysis and macros are not. Global npm installation does not work because of the native winax module: clone the repository, run npm install and npm run build, then launch through node. The server runs COM calls and VBA macros in your SolidWorks, so work on a copy of the model.

How to disable. Remove the server entry from the client config and delete the repository clone. Check and delete any generated VBA macros by hand.

FAQ

Can I install it globally through npm?

No: the native winax module breaks a global installation. Clone the repository and run npm install and npm run build.

What has the author verified?

Basic sketch operations are verified and modeling is partly verified. The author has not verified drawings, analysis and macros on a live SolidWorks.

Which SolidWorks versions are supported?

SolidWorks 2021–2025 on Windows 10 and 11, with Node.js 20 or newer.

How is it different from the Python version?

This is a TypeScript server with export, VBA and drawings. The Python version is simpler and gives 22 tools for parts and sketches.

Discussion

No questions or reviews yet.

An MCP server for SolidWorks in Python: 22 tools for parts, sketches, operations and utilities

MCP serverBroad access157Repository stars

SketchUp MCP

sketchup-mcp2

An MCP server for SketchUp: the agent creates and changes geometry, assigns materials and exports the scene, and eval_ruby runs Ruby inside the program

MCP serverBroad access42Repository stars

AutoCAD MCP Pro

autocad-mcp-pro

An MCP server for AutoCAD with hundreds of tools: a live AutoCAD through COM or DXF without the program, with a token saving mode

MCP serverBroad access135Repository stars

Revit MCP

mcp-servers-for-revit

An MCP server for Autodesk Revit: the agent reads the model, creates elements, grids and rooms and counts material volumes

MCP serverBroad access376Repository stars

AutoCAD MCP

autocad-mcp

An MCP server for AutoCAD LT: the agent draws and edits drawings through AutoLISP, and without AutoCAD writes DXF files

MCP serverBroad access559Repository stars

An MCP server for AutoCAD, GstarCAD and ZWCAD: draw, edit and inspect drawings in plain language

MCP serverExtended access595Repository stars

README in short

The README describes a TypeScript server for SolidWorks with categories for modeling, sketches, drawings, export, analysis and macros. It states separately that most tools are not verified on a live SolidWorks. Installation is from sources, and Windows and SolidWorks 2021–2025 are required. MIT license.

README badge

Report a problem

Foxx AISolidWorks MCP in TypeScript
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.