solidworks-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BAMBU_EXE | No | Path to the Bambu Studio executable (defaults to auto-detecting common install locations). | |
| SOLIDWORKS_OUT_DIR | No | Output directory for generated artifacts (default is <cwd>/out). | |
| SOLIDWORKS_TEMPLATE | No | Path to a .prtdot part template (auto-detected by default, including the Chinese version gb_part.prtdot). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sw_statusA | 检查 SolidWorks 连接状态:是否在运行、当前文档、实体数量。 |
| sw_plateA | 建一块长方形平板(原点居中,厚度沿 +Z 拉伸)。会重建模型并清空已有孔。 |
| sw_holeB | 在平板上加一个通孔(孔心相对板中心偏移 x/y)。模型会整体重建。 |
| sw_holes_clearA | 清空所有孔并重建模型。 |
| sw_check_printabilityA | 检查当前模型是否适合 0.4 喷嘴 FDM 打印,返回硬护栏告警。 |
| sw_save_partB | 保存 .SLDPRT 到磁盘(默认 /agent_part.SLDPRT)。 |
| sw_export_stlA | 导出 STL(默认 /agent_part.STL)。导出前清空选择,避免只导出选中面。 |
| sw_open_in_bambuB | 把 STL 交给 Bambu Studio 界面打开,供人工切片与打印。 部分 Bambu Studio 版本(如 02.09.01.70)无命令行切片能力,因此采用 「自动打开 GUI + 人工点切片/打印」的半自动方案。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools have clearly distinct roles (status, plate creation, hole addition, printability check, save, export, open-in-slicer). The only overlap is between sw_holes_clear and sw_plate, which also clears holes, but descriptions make the distinction workable.
All tools use a consistent sw_ prefix and snake_case, with verb-oriented suffixes like check_printability, save_part, export_stl, open_in_bambu. Minor deviation: sw_holes_clear uses a noun-first form and sits oddly next to the singular sw_hole.
Eight tools is well-scoped for a parametric plate/hole CAD pipeline: create, modify, validate, persist, export, and hand off to a slicer. Each tool earns its place with no filler.
The create-plate → add-hole → check → save → export → open workflow is fully covered. Gaps exist around editing individual holes (no remove-one or resize/reposition after creation) and no geometry query beyond status, but agents can work around these by rebuilding.