
Mcp Stl
io.github.daedalus由 GitHub 账号 daedalus 发布v0.1.0更新于 Oct 25, 2026
MCP server for editing STL 3D model files
概览
AI 生成的概览
本地 MCP 服务器,用于读取、创建和编辑 STL 三维网格文件,支持变换、基本几何体和发动机类零件形状。
- 可以做什么
- 读取 STL 文件并返回网格数据或摘要信息,也可将网格写回为 ASCII 或二进制 STL 文件。对网格做变换:平移、绕坐标轴或任意向量旋转、缩放、错切、镜像,以及合并多个文件。按线性或环形阵列复制几何体。生成基本几何体,如立方体、长方体、球体、圆柱、圆锥、圆环、平面、胶囊体、椭球、截锥、管、棱锥、棱柱、半球和楔形。生成发动机设计形状:直齿轮、螺旋弹簧、连杆、曲轴、气门和凸轮。
- 适用场景
- 适合需要在本机检查或修改 STL 模型、执行几何变换、合并零件,或在不使用完整 CAD 软件的情况下生成参数化形状和机械零件的场景。
- 运行要求
- 以 stdio 本地进程运行,从 PyPI 包 mcp-stl 安装(pip install mcp-stl),用 mcp-stl 命令启动;需要 Python 环境和磁盘上 STL 文件的访问权限。未声明认证、环境变量或请求头。
安装前请注意
工具会向磁盘写入 STL 文件,可能按助手选择的路径创建或覆盖文件,执行写入或变换操作前应确认输出路径。未显示需要凭据、付费或向第三方传输数据。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Stl,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-stl
[PyPI] [Python] [Coverage] [Ruff]
MCP server for editing STL 3D model files. Provides tools for parsing, viewing, and manipulating STL files through the Model Context Protocol.
Install
MCP Server
mcp-name: io.github.daedalus/mcp-stl
Tools
Reading & Writing
- read_stl_file: Read an STL file and return mesh data (vertices, normals, bounding box)
- get_mesh_info: Get summary information about an STL file without loading full geometry
- write_stl: Write mesh data to an STL file (ASCII or binary format)
Transformations
- translate_stl: Translate (move) the mesh by specified X, Y, Z offsets
- rotate_stl: Rotate the mesh around X, Y, or Z axis by a given angle in degrees
- scale_stl: Scale the mesh by specified X, Y, Z factors
- shear_stl: Apply a shear transformation (shift one axis per unit along another)
- mirror_stl: Mirror (reflect) the mesh across the plane perpendicular to a given axis
- rotate_stl_axis: Rotate the mesh around an arbitrary axis vector (Rodrigues' formula)
- combine_stl: Merge multiple STL files into one
- array_linear: Create N copies of the mesh spaced by a fixed X/Y/Z offset
- array_circular: Create N copies of the mesh at equal angular intervals around an axis
Primitives
- create_cube: Create a cube mesh
- create_box: Create a rectangular box (cuboid) with independent width/height/depth
- create_sphere: Create a sphere mesh
- create_cylinder: Create a cylinder mesh
- create_cone: Create a cone mesh
- create_torus: Create a torus (donut) mesh
- create_plane: Create a flat plane mesh
- create_capsule: Create a capsule (cylinder with hemispherical end caps)
- create_ellipsoid: Create an ellipsoid with independent radii on each axis
- create_frustum: Create a frustum (truncated cone)
- create_tube: Create a hollow cylinder (tube/pipe)
- create_pyramid: Create a regular n-sided pyramid
- create_prism: Create a regular n-sided prism (e.g. hexagonal prism)
- create_hemisphere: Create a hemisphere (dome with flat circular base)
- create_wedge: Create a right-triangular wedge (triangular prism)
Engine-Design Shapes
- create_gear: Create a spur gear mesh (configurable module, teeth, pressure angle)
- create_spring: Create a helical coil spring
- create_connecting_rod: Create a connecting rod with big/small-end bores
- create_crankshaft: Create an N-throw crankshaft
- create_valve: Create a poppet valve (stem + head disc)
- create_camshaft_lobe: Create an eccentric cam lobe with cosine nose profile
Usage
Python API
MCP Server
Configure in your MCP client:
Development
来源:README.md,提交 2d5a18a
工具
0SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。
版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分