Skip to main content
Glama
solidworks-mcp

solidworks-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAMBU_EXENoPath to the Bambu Studio executable (defaults to auto-detecting common install locations).
SOLIDWORKS_OUT_DIRNoOutput directory for generated artifacts (default is <cwd>/out).
SOLIDWORKS_TEMPLATENoPath 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 8 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.