Skip to content
← All MCP servers

Is the SolidWorks MCP server safe? What it can reach

What the SolidWorks MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

Dassault Systemes publishes no SolidWorks MCP server, so this covers the most starred community one, SolidworksMCP-TS. It runs locally on Windows over stdio and drives your licensed SolidWorks through COM, with no sign-in. The author marks it alpha and has no read-only mode. Its VBA tools can run generated macros inside SolidWorks.

Who maintains it

ImplementationKindStatus
SolidworksMCP-TS (community, vespo92)Communityactive
Solidworks-MCP (community, alisamsam, Python, includes an execute_python tool)Communityactive

It runs as a local process on your machine.

How it signs in

There is no sign-in. The server drives the SolidWorks install on your own Windows machine through COM, so it acts with your desktop session and your SolidWorks license.

What its tools can do

KindTools
Readget_mass_properties, check_interference, measure_distance, check_geometry
Writecreate_part, create_extrusion, create_revolve, create_sweep, create_loft, create_fillet, create_chamfer, create_sketch, add_line, add_circle, add_rectangle, add_arc, add_constraints, dimension_sketch, create_drawing_from_model, add_drawing_view, add_section_view, add_dimensions, export_file, batch_export, generate_vba_script, vba_sheet_metal, vba_configurations, vba_equations, macro_start_recording, macro_stop_recording, macro_export_vba
Can’t be undonenone documented

The README gives a category table and names only some tools, ending lists with etc., so this list is partial. It documents no tool that deletes or sends data. Complex operations run as generated VBA macros inside SolidWorks, and the README marks most tools as untested against a live SolidWorks.

Built-in limits

OptionWhat it does
USE_MOCK_SOLIDWORKSRuns the tests against a mock instead of a live SolidWorks. It is a development setting, not a safety control.
SOLIDWORKS_PATH and ADAPTER_TYPEPoint the server at an install and choose the COM adapter. The README documents no read-only mode and no confirmation step.

The risks

  • The model can create, change and export parts, drawings and files in your open SolidWorks session, and the server has no read-only mode, so an injected instruction could overwrite or export design files you care about.
  • The VBA tools generate and run macros inside SolidWorks, and a macro runs with your Windows user’s rights, not only SolidWorks’ own.
  • export_file and batch_export write STEP, IGES, STL, PDF, DWG and DXF files to disk, so an injected instruction could write proprietary geometry to a location you did not choose.
  • The author calls the project alpha and says most tools are not validated, so results may be wrong or partial.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env SOLIDWORKS_PATH=... --env ADAPTER_TYPE=... solidworks -- node C:/path/to/SolidworksMCP-TS/dist/index.js

Claude Code names MCP tools mcp__solidworks__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "ask": [
      "mcp__solidworks__export_file",
      "mcp__solidworks__batch_export",
      "mcp__solidworks__generate_vba_script",
      "mcp__solidworks__vba_sheet_metal",
      "mcp__solidworks__vba_configurations",
      "mcp__solidworks__vba_equations",
      "mcp__solidworks__macro_export_vba",
      "mcp__solidworks__create_drawing_from_model"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.solidworks]
command = "node"
args = ["C:/path/to/SolidworksMCP-TS/dist/index.js"]
env_vars = ["SOLIDWORKS_PATH", "ADAPTER_TYPE"]

Checklist

  • Work on a copy of the part or assembly, not the master file.
  • Approve every VBA and macro tool call and read the script first.
  • Keep a recent backup or PDM check-in before a session.
  • Treat the output as a draft and check dimensions yourself.
  • Check the repo’s recent activity before you build it.

Checked against the vendor documentation on November 25, 2026. SolidworksMCP-TS README · Solidworks-MCP README (alisamsam)

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing