CF

contextform/freecad-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

140 stars 24 forks 质量 54 趋势 0

contextform/freecad-mcp 是从 https://github.com/contextform/freecad-mcp. 导入的 MCP 服务器候选

概览

contextform/freecad-mcp 是从 https://github.com/contextform/freecad-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

通过自然语言控制Claude AI控制FreeCAD!

创建3D模型,添加特征,并利用对话式AI自动化CAD工作流程。

🎥 看它实际行动

观看FreeCAD MCP用一个简单的文本命令建模一栋房子:

demo-house-modeling.mp4

“请FreeCAD建模一栋房子”——然后看它自动生成墙壁、屋顶、窗户和门!

** 🎉 全新!** 简单的两命令安装,自动更新!

📋 要求

安装前,确保你有:

  • FreeCAD 1.0+ - 点击此处下载
  • Node.js & npm - 点击此处下载
  • Claude Code - npm install -g claude-code(推荐)

Python 3.9+ 已自动包含在 FreeCAD 中

⚡ 超级简单安装

🚀 快速安装

Windows:

macOS/Linux:

**就是这样!**安装程序自动:

  • ✅ 跨平台:支持 macOS、Linux 和 Windows
  • ✅ 检测您的操作系统和FreeCAD安装
  • ✅ 从 GitHub 下载最新的 FreeCAD MCP
  • ✅ 安装 AI Copilot 工作台以正确定位
  • ✅ 下载和寄存 MCP 桥服务器
  • ✅ 提供明确的测试下一步步骤

📦 更新中

** 更新至最新版本:**

Windows:

macOS/Linux:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

FreeCAD MCP - AI-Powered CAD

Control FreeCAD with Claude AI through natural language!

Create 3D models, add features, and automate CAD workflows using conversational AI.

🎥 See It In Action

Watch FreeCAD MCP model a house from a simple text command:

demo-house-modeling.mp4

“Ask FreeCAD to model a house” - and watch it create walls, roof, windows, and door automatically!

🎉 New! Easy 2-command installation with automatic updates!

📋 Requirements

Before installation, make sure you have:

Python 3.9+ is included with FreeCAD automatically

⚡ Super Easy Install

🚀 Quick Install

Windows:

python -m pip install --user mcp
npm install -g freecad-mcp-setup@latest
npx freecad-mcp-setup setup

macOS/Linux:

pip install mcp
npm install -g freecad-mcp-setup@latest
npx freecad-mcp-setup setup

That’s it! The installer automatically:

  • ✅ Cross-platform: Works on macOS, Linux, and Windows
  • ✅ Detects your OS and FreeCAD installation
  • ✅ Downloads latest FreeCAD MCP from GitHub
  • ✅ Installs the AI Copilot workbench to correct location
  • ✅ Downloads and registers MCP bridge server
  • ✅ Provides clear next steps for testing

📦 Updating

To update to the latest version:

Windows:

npm update -g freecad-mcp-setup
npx freecad-mcp-setup setup

macOS/Linux:

npm update -g freecad-mcp-setup
npx freecad-mcp-setup setup

The installer will automatically download and install the latest FreeCAD MCP files!

🚀 How to Use

Step 1: Start FreeCAD

  1. Launch FreeCAD
  2. The AI Copilot service starts automatically

Step 2: Open Claude

In a new terminal/command prompt:

claude

Step 3: Verify Connection

Ask Claude:

Check FreeCAD connection

You should see confirmation that FreeCAD tools are available.

Step 4: Start Creating!

Just ask Claude to design anything - watch the demo video above to see it model a house!

🖥️ Using Claude Desktop?

The installer works with Claude Code by default. For Claude Desktop users, after running the installer, you’ll need to manually configure:

Add to your Claude Desktop config:

macOS/Linux:

{
  "mcpServers": {
    "freecad": {
      "command": "python3",
      "args": ["/Users/yourusername/.freecad-mcp/working_bridge.py"]
    }
  }
}

Windows:

{
  "mcpServers": {
    "freecad": {
      "command": "python3",
      "args": ["C:\\Users\\yourusername\\.freecad-mcp\\working_bridge.py"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
在 GitHub 查看完整 README

安装

npx freecad-mcp-setup setup
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "freecad": { "command": "python3", "args": ["/Users/yourusername/.freecad-mcp/working_bridge.py"] } } }