← 返回
未分类 中文

FreeCAD MCP

Control FreeCAD via MCP to create and modify 3D models, automate CAD tasks, solve constraints, and integrate part libraries programmatically.
通过MCP控制FreeCAD,创建和修改3D模型,自动化CAD任务,求解约束,程序化集成零件库。
mars720816 mars720816 来源
未分类 clawhub v1.0.0 1 版本 99870.6 Key: 无需
★ 0
Stars
📥 772
下载
💾 1
安装
1
版本
#3d#cad#freecad#latest#mcp#modeling

概述

FreeCAD MCP Skill

Enable AI agents to control FreeCAD via the Model Context Protocol (MCP). Create 3D models programmatically, generate parts from descriptions, and automate CAD workflows.

Features

  • 🦾 Full FreeCAD control via RPC server
  • Create 3D objects from 2D drawings
  • Automatic constraint solving
  • Part library integration
  • Compatible with LangChain and Google ADK agents

Requirements

  • FreeCAD 0.21+ installed
  • Python 3.10+
  • MCP-enabled AI agent

Installation

1. Install the skill

npx clawhub install openclaw-freecad-mcp

2. Install the FreeCAD addon

Copy the addon/FreeCADMCP folder to your FreeCAD addons directory:

  • macOS: ~/Library/Application Support/FreeCAD/Mod
  • Linux: ~/.FreeCAD/Mod
  • Windows: %APPDATA%\FreeCAD\Mod

3. Start the RPC server

In FreeCAD, go to Workbenches → FreeCAD MCP → Start RPC Server

4. Configure your agent

Add the MCP server endpoint to your agent configuration:

{
  "mcpServers": {
    "freecad": {
      "url": "http://localhost:9876"
    }
  }
}

Usage

Example agent prompts:

  • "Create a 50x50x10 mm cube with a centered 20mm hole"
  • "Turn this 2D sketch into a 3D printable model"
  • "Design a toy car body with integrated axles"

Examples

See the examples/ directory for:

  • LangChain React agent example
  • Google ADK agent example

Author

mars720816

License

MIT

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-01 10:21 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 327,883
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,987
design-media

Blender Mcp

mars720816
集成 Blender MCP(模型上下文协议),使 OpenClaw 能够控制 Blender 进行三维建模、场景创建和操作。适用于需要集成或控制 Blender 的场景。
★ 0 📥 982