SolidworksMCP TS

Developer tools

Solidworks MCP using Typescript.

Your AI app calls the SolidworksMCP TS MCP server, which does the developer tools work and sends the result back to the chat.

About SolidworksMCP TS

SolidworksMCP TS is a community MCP server from vespo92, filed in our directory under developer tools. Solidworks MCP using Typescript.

At a glance

Publisher
vespo92 (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
259

How to set up SolidworksMCP TS

  1. Follow the install steps in the SolidworksMCP TS README; it is written in TypeScript, so have that toolchain ready.
  2. Check the SolidworksMCP TS README for keys or settings; the registry lists none that SolidworksMCP TS requires.
  3. Add SolidworksMCP TS to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the SolidworksMCP TS tools to confirm the connection.
  5. Run one read-only task with SolidworksMCP TS first, and keep your app asking before each tool call until the results look right.

SolidworksMCP TS compared with similar servers

  • Zabbix (initMAX) by initMAX has fewer GitHub stars than SolidworksMCP TS (258 against 259); both are community servers, and both run locally.
  • Codebase Memory MCP Pro by win4r has more GitHub stars than SolidworksMCP TS (260 against 259); both are community servers, and both run locally.
  • Aci (aipotheosis-labs) by aipotheosis-labs has fewer GitHub stars than SolidworksMCP TS (257 against 259); both are community servers, and both run locally.

Before you connect SolidworksMCP TS

  • Give SolidworksMCP TS its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each SolidworksMCP TS tool call until you trust what it does with them.
  • Treat text that SolidworksMCP TS fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for SolidworksMCP TS on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for SolidworksMCP TS

How marketing and sales teams put SolidworksMCP TS to work, by company size. Pick the size closest to yours and start SolidworksMCP TS on one use case.

Small business

  • A small business with a developer can use SolidworksMCP TS to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask SolidworksMCP TS to explain and fix a marketing site issue without context switching between tools.
  • SolidworksMCP TS runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use SolidworksMCP TS to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect SolidworksMCP TS to keep scripts and automations documented and versioned as they change.
  • Start SolidworksMCP TS on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out SolidworksMCP TS with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on SolidworksMCP TS so web and marketing engineering share one reviewed way of working with AI.
  • SolidworksMCP TS is a community server, so have security review the code and pin a version before SolidworksMCP TS touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

SolidworksMCP TS README

From vespo92/SolidworksMCP-TS on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

SolidWorks MCP Server

A Node.js MCP server for automating SolidWorks via COM interop. Connects AI assistants (Claude Desktop, etc.) to SolidWorks for CAD automation tasks.

Project Status: Alpha / Experimental

This project is under active development. While the architecture is in place and basic operations (sketch planes, simple extrusions) have been demonstrated, most tools have not been validated against a live SolidWorks instance. Expect rough edges, COM quirks, and incomplete functionality. Contributions and testing reports are very welcome.

How It Works

The server exposes SolidWorks operations as MCP tools over stdio. An intelligent routing layer handles a key limitation of Node.js COM bridges: methods with 13+ parameters often fail via direct COM calls.

  • Simple operations (12 params or fewer) - Direct COM call via winax
  • Complex operations (13+ params) - Auto-generated VBA macro executed by SolidWorks
  • Failed operations - Automatic fallback with error context

Prerequisites

  • Windows 10/11 (required - COM interop is Windows-only)
  • SolidWorks 2021-2025 (licensed, installed)
  • Node.js 20+
  • An MCP-compatible client (Claude Desktop, etc.)

Installation

git clone https://github.com/vespo92/SolidworksMCP-TS.git
cd SolidworksMCP-TS

# Install dependencies (compiles winax native module for your system)
npm install

# Build TypeScript
npm run build

Note: The winax native module must be compiled locally on each Windows machine. Global npm installation does not work.

Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "solidworks": {
      "command": "node",
      "args": ["C:/path/to/SolidworksMCP-TS/dist/index.js"],
      "env": {
        "SOLIDWORKS_PATH": "C:\\Program Files\\SOLIDWORKS Corp\\SOLIDWORKS",
        "ADAPTER_TYPE": "winax-enhanced"
      }
    }
  }
}

Available Tools

The server registers tools across these categories:

Category Tools Status
Modeling create_part, create_extrusion, create_revolve, create_sweep, create_loft, create_fillet, create_chamfer, etc. Partially tested
Sketch create_sketch, add_line, add_circle, add_rectangle, add_arc, add_constraints, dimension_sketch Basic ops verified
Drawing create_drawing_from_model, add_drawing_view, add_section_view, add_dimensions, etc. Untested
Export export_file (STEP, IGES, STL, PDF, DWG, DXF), batch_export Untested
Analysis get_mass_properties, check_interference, measure_distance, check_geometry Untested
VBA Generation generate_vba_script, vba_sheet_metal, vba_configurations, vba_equations, etc. Code generation works; execution untested
Macro macro_start_recording, macro_stop_recording, macro_export_vba Untested

"Partially tested" means the tool has been run against SolidWorks at least once but not comprehensively. "Untested" means only mock/unit tests exist (if any).

Architecture

MCP Protocol (stdio)
    |
Tool Registry (index.ts)
    |
Feature Complexity Analyzer --- routes by param count
    |                    |
Direct COM (winax)    VBA Macro Generator
    |                    |
    +--------------------+
    |
SolidWorks COM API
Key Design Decisions
  • COM parameter limit workaround: SolidWorks API methods like FeatureExtrusion3 take 20+ parameters. Node.js COM bridges choke on these. The complexity analyzer detects this and generates a VBA macro instead.
  • Never pass null to COM: Use undefined for optional parameters. COM interprets null as VT_NULL, causing type mismatch errors (this was the root cause of SelectByID2 failures).
  • Feature tree traversal over SelectByID2: FeatureByPositionReverse() + GetTypeName2() is more reliable for finding sketches than SelectByID2.
  • Winston logger only: Never use console.* - it corrupts the JSON-RPC stdio transport.

Development

npm run build        # TypeScript compile
npm run dev          # Hot-reload dev server (tsx watch)
npm run check        # TypeScript + Biome lint in one command
npm run lint         # Biome lint check
npm run lint:fix     # Biome auto-fix
npm run format       # Biome format
npm run typecheck    # Type check without emit

Testing

See TESTING.md for the full testing guide.

# Unit tests (mock adapter, no SolidWorks needed)
USE_MOCK_SOLIDWORKS=true npm test

# Watch mode
npm run test:watch

Current test status: Unit tests exist for config and environment utilities. Most tool modules lack test coverage. Integration tests require a Windows machine with SolidWorks and have not been run in CI.

Known Issues & Limitations

  • No CI integration testing - Tests only run against mocks. Real SolidWorks integration tests require a self-hosted Windows runner that doesn't exist yet.
  • winax compilation - Must be compiled locally on each machine. No pre-built binaries.
  • Edge.js adapter - Defined in architecture but not implemented.
  • PowerShell bridge - Defined in architecture but not implemented.
  • Connection pooling / circuit breaker - Referenced in code but not battle-tested.
  • Performance metrics are unverified - No real benchmarking has been done.

What Has Worked

Based on development testing:

  • Connecting to a running SolidWorks instance via COM
  • Creating sketch planes and basic sketch geometry
  • Simple extrusions with limited parameters
  • Feature tree traversal for sketch selection
  • VBA macro code generation (execution path needs more testing)

Roadmap

Questions about SolidworksMCP TS

What is the SolidworksMCP TS MCP server?

Solidworks MCP using Typescript. SolidworksMCP TS is maintained by vespo92 on GitHub at vespo92/SolidworksMCP-TS, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the SolidworksMCP TS MCP server?

SolidworksMCP TS doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (vespo92/SolidworksMCP-TS). Like most servers, SolidworksMCP TS ends with a command or URL you paste into your AI app's MCP config.

Does SolidworksMCP TS need an API key?

The registry lists no required keys for SolidworksMCP TS. Check the SolidworksMCP TS README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is SolidworksMCP TS an official MCP server?

No. SolidworksMCP TS is a community server maintained by vespo92. Community servers can be excellent; read the code and the open issues before you give SolidworksMCP TS access to company data.

What license is SolidworksMCP TS under?

SolidworksMCP TS is released under the MIT license, according to its GitHub repository. The license covers the code of SolidworksMCP TS; the service it connects to has its own terms.