andrewbartels1/SolidworksMCP-python
让 AI 智能体经 COM API 自动构建 SolidWorks 零件、装配体与工程图
解决什么问题
没有它,AI 无法直接驱动 SolidWorks,建模只能靠人工操作或另写脚本。
- 以异步 Python 封装 COM API
- 在其上暴露 MCP 工具服务器
- 每个工具标注支持等级
适用客户端
- claude-desktop
- cursor
- vscode
- cli
安装命令
uvx solidworks-mcp-python setup claude mcp add --scope user solidworks -- uvx solidworks-mcp-python --year 2026 uvx solidworks-mcp-python skill install uvx solidworks-mcp-python selftest 一键配置
{
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": [
"solidworks-mcp-python",
"--year",
"2026"
]
}
}
} {
"servers": {
"solidworks": {
"type": "stdio",
"command": "uvx",
"args": [
"solidworks-mcp-python",
"--year",
"2026"
]
}
}
} {
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": [
"solidworks-mcp-python",
"--year",
"2026"
]
}
}
} 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 126 |
| 待处理 issue | 13 |
| 协议 | MIT |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
Python MCP server for SolidWorks automation with 196 tools, plus an optional agent/prompt-testing layer for AI-assisted workflows.