ES

eduardof0nt/solidworks-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 3 forks 품질 73 트렌드 22MIT

A comprehensive server that gives Claude (or any MCP-compatible LLM client) full control of SolidWorks through the COM API.

개요

A comprehensive server that gives Claude (or any MCP-compatible LLM client) full control of SolidWorks through the COM API. spanning every major workflow — modeling, sketching, assemblies, drawings, sheet metal, weldments, mold tools, surfaces, simulation, motion, rendering, materials, and more. ✅ — handles SW 2024's dual property/method API quirks (DISPID invocation, property-get bypass, 23-arg FeatureExtrusion3, VARIANT marshaling, etc.). Should also work on SW 2018+. - "Create a 100×60×40 mm aluminum part, render it, and export to STEP" - "Open this assembly, check for interferences, then mass-analyze each component" - "Generate a 3-view drawing of bracket.

README

원문 README의 일부입니다. 원문 보기.

SolidWorks MCP Server

A comprehensive Model Context Protocol (MCP) server that gives Claude (or any MCP-compatible LLM client) full control of SolidWorks through the COM API. 187 tools spanning every major workflow — modeling, sketching, assemblies, drawings, sheet metal, weldments, mold tools, surfaces, simulation, motion, rendering, materials, and more.

✅ Verified on SolidWorks 2024 — handles SW 2024’s dual property/method API quirks (DISPID invocation, property-get bypass, 23-arg FeatureExtrusion3, VARIANT marshaling, etc.). Should also work on SW 2018+.


✨ What you can ask Claude to do

  • “Create a 100×60×40 mm aluminum part, render it, and export to STEP”
  • “Open this assembly, check for interferences, then mass-analyze each component”
  • “Generate a 3-view drawing of bracket.sldprt with dimensions, GD&T, and a BOM, then save as PDF”
  • “Design a parametric sheet-metal enclosure with 2 mm thickness, four edge flanges, and export flat patterns”
  • “Build a weldment frame from 40×40×4 square tube along this sketch”
  • “Set up a static simulation, apply this fixture and 500 N load, and run the analysis”

📋 Prerequisites

Requirement Notes
Windows 10/11 SolidWorks is Windows-only
SolidWorks 2018 or newer Tested and developed against SolidWorks 2024
Python 3.10+ python.org — make sure “Add to PATH” is checked
An MCP client Claude Desktop or Claude Code recommended

🚀 Installation

1. Clone the repository

git clone https://github.com/Eduardof0nt/Solidworks-MCP-Server.git
cd Solidworks-MCP-Server

2. Install Python dependencies

pip install -r requirements.txt

If you hit permission issues installing globally, use a virtual environment or --user:

python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

3. Verify the server starts

python server.py

The server will sit waiting for MCP stdio traffic — that’s correct. Hit Ctrl+C to stop; you’ll wire it into a client in the next step.


🔌 Configuring an MCP client

Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json (create it if it doesn’t exist):

{
  "mcpServers": {
    "solidworks": {
      "command": "python",
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "solidworks": { "command": "python", "args": ["C:\\full\\path\\to\\Solidworks-MCP-Server\\server.py"] } } }