π¦ ClawHub
FreeCAD MCP
by @mars720816
Control FreeCAD via MCP to create and modify 3D models, automate CAD tasks, solve constraints, and integrate part libraries programmatically.
TERMINAL
clawhub install openclaw-freecad-mcpπ About This Skill
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
Requirements
Installation
1. Install the skill
npx clawhub install openclaw-freecad-mcp
2. Install the FreeCAD addon
Copy theaddon/FreeCADMCP folder to your FreeCAD addons directory:
~/Library/Application Support/FreeCAD/Mod~/.FreeCAD/Mod%APPDATA%\FreeCAD\Mod3. Start the RPC server
In FreeCAD, go to Workbenches β FreeCAD MCP β Start RPC Server4. Configure your agent
Add the MCP server endpoint to your agent configuration:{
"mcpServers": {
"freecad": {
"url": "http://localhost:9876"
}
}
}
Usage
Example agent prompts:
Examples
See the examples/ directory for:
Author
License
MIT
π‘ Examples
See the examples/ directory for: