freecad-mcp
by contextform·★ 73·综合分 43
FreeCAD MCP 通过自然语言命令在Claude中实现AI驱动的3D建模和CAD自动化
概述
FreeCAD MCP是一个MCP服务器,它将开源参数化3D建模器FreeCAD与AI助手(如Claude)连接起来。它通过模型上下文协议接口暴露FreeCAD的功能,允许用户使用自然语言命令创建复杂的3D模型和CAD工作流。该服务器包含PartDesign、Part几何创建和视图控制的一系列全面操作,并为Claude Code和Claude Desktop用户提供清晰的安装说明。项目同时维护MCP服务器和一个用户友好的安装程序,支持跨平台操作。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
当您希望通过自然语言命令控制 FreeCAD 并无需学习复杂 GUI 操作就能自动化 CAD 工作流时,选择 FreeCAD MCP。
什么时候不要选它
如果您需要 MCP 未提供的复杂 FreeCAD 脚本功能,或者您已在使用其他具有 AI 集成的 CAD 生态系统,请不要使用此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具create_boxCreates a 3D box object with specified dimensions and fillets
create_cylinderCreates a 3D cylinder object with specified radius and height
add_filletAdds a fillet to an existing object or feature
create_holeCreates a counterbore hole at a specified position
create_patternCreates a linear or circular pattern of features
create_padCreates a PartDesign pad from a sketch with specified length
create_mirrorCreates a mirror of a feature across a specified plane
take_screenshotTakes a screenshot of the current view with specified dimensions
execute_pythonExecutes custom FreeCAD Python scripts for complex operations
zoomAdjusts the zoom level of the current view
select_objectSelects an object or feature in the FreeCAD document
document_managementManages FreeCAD document operations like saving and closing
说明:Tool names were inferred from the 'Available Operations' section and example prompts in the README. The README doesn't provide explicit tool names but describes categories of operations with example prompts that suggest MCP tool functionali
可对比工具
安装
安装
快速安装
**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 setupClaude Desktop 配置
添加到您的Claude Desktop配置中:
{
"mcpServers": {
"freecad": {
"command": "python3",
"args": ["/path/to/.freecad-mcp/working_bridge.py"]
}
}
}**配置文件位置:**
- **macOS**:
~/Library/Application Support/Claude/claude_desktop_config.json - **Windows**:
%APPDATA%/Claude/claude_desktop_config.json
FAQ
- 如何测试FreeCAD MCP是否正常工作?
- 启动FreeCAD,然后在Claude中输入'Check FreeCAD connection'。您应该会看到FreeCAD工具可用的确认信息。
- 支持哪些版本的FreeCAD?
- FreeCAD MCP需要FreeCAD 1.0或更高版本。Python 3.9+随FreeCAD自动包含。
- 我可以在其他AI助手上使用FreeCAD MCP吗?
- 目前,FreeCAD MCP设计为与支持MCP协议的Claude Code和Claude Desktop一起使用。
freecad-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。