solidworks-mcp
solidworks-mcp
一个让 AI 助手直接驱动 SolidWorks 2022 的 MCP 服务器——涵盖草图、特征(拉伸/切除/旋转/圆角/倒角/抽壳/阵列)、驱动尺寸和方程式、导出以及检查质量属性。
仅限 Windows。 SolidWorks 自动化通过 Windows COM 实现——这必须在安装并授权了 SolidWorks 2022 的同一台机器上运行。
快速开始(推荐)
下载最新版本并运行 setup.bat——它会自动检测你的 Python 和 SolidWorks 安装,安装依赖项,并配置你的客户端。一键完成。
或者手动操作:
powershell -ExecutionPolicy Bypass -File setup.ps1Related MCP server: SolidWorks MCP Server
客户端支持
此仓库为两个 AI 客户端提供相同的 MCP 服务器:
客户端 | 目录 | 配置格式 |
|
| |
|
|
每个目录都有自己的 README,其中包含特定于客户端的设置说明以及底层相同的 Python 源代码。
solidworks-mcp/
├── README.md ← you are here
├── claude/ ← Claude Desktop
│ ├── README.md
│ ├── claude_desktop_config.example.json
│ ├── server.py
│ ├── connection.py
│ ├── requirements.txt
│ ├── diagnose.py
│ └── tools/
└── opencode/ ← opencode
├── README.md
├── opencode_config.example.jsonc
├── server.py
├── connection.py
├── requirements.txt
├── diagnose.py
└── tools/快速开始
选择你的客户端并按照其 README 操作:
Claude Desktop:
claude/README.mdopencode:
opencode/README.md
两者都需要相同的前置条件:Python 3.10+ 和 Windows 上的 SolidWorks 2022。在相应的目录中使用 pip install -r requirements.txt 安装依赖项。
工作原理
SolidWorks 通过 COM 原生暴露其整个 API——无需加载项。此服务器通过 pywin32 附加到正在运行的 SolidWorks 实例(或启动一个),并暴露约 30 个涵盖完整建模工作流程的工具。
API 枚举常量会从你安装的 SolidWorks 类型库中实时获取,因此保证与你的安装匹配。
请参阅特定于客户端的 README 以获取完整工具列表、示例工作流程和已知问题。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables LLMs to automate SolidWorks (open/save parts, modify dimensions, export STEP) via COM, and optionally generate geometry using build123d code-CAD with PNG previews.MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to create and manipulate SolidWorks CAD models through natural language commands, automating part creation, sketching, and extrusion.8
- AlicenseNot gradedqualityCmaintenanceEnables AI (e.g., Claude) to control SolidWorks via natural language, automating part creation, sketching, and feature operations through the Model Context Protocol.1MIT
- AlicenseNot gradedqualityBmaintenanceControl SolidWorks with plain language. Provides 89 tools for sketching, solid features, assemblies, and model feedback.1MIT
Related MCP Connectors
Agent-first CAD: editable .kcad.ts source, deterministic review, OpenCASCADE kernel.
AI-callable calculators and engineering models with real formulas. No hallucinated math.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/blussyya/solidworks-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server