FreeCAD MCP
Enables controlling a running FreeCAD instance, including managing documents and objects, creating and editing 3D parts, executing Python inside FreeCAD, recomputing models, exporting objects to formats like STEP/IGES/STL, and capturing 3D view screenshots.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FreeCAD MCP
MCP server, přes který Claude ovládá běžící FreeCAD (testováno na FreeCAD 1.1.4 flatpak).
Claude ──stdio──> server/freecad_mcp.py ──XML-RPC 127.0.0.1:9875──> FreeCAD + addon MCPBridgeNástroje
Nástroj | Co dělá |
| ověří spojení, verzi FreeCADu |
| práce s dokumenty |
| objekty s rozměry, objemem, platností; všechny vlastnosti |
|
|
| libovolný Python uvnitř FreeCADu (Sketcher, PartDesign, zaoblení…) |
| přepočet a seznam chybných objektů |
| STEP / IGES / BREP / STL / OBJ / 3MF podle přípony |
| screenshot 3D pohledu (jen s GUI) |
Related MCP server: FreeCAD MCP Server
Instalace
Stažení a Python prostředí:
git clone https://github.com/knespii/freecad-mcp.git && cd freecad-mcp python3 -m venv .venv && .venv/bin/pip install -r requirements.txtAddon do FreeCADu – nalinkovat
addon/MCPBridgedo složky modulů FreeCADu:ln -sfn "$PWD/addon/MCPBridge" ~/.var/app/org.freecad.FreeCAD/data/FreeCAD/v1-1/Mod/MCPBridgeBez flatpaku je složka modulů
~/.local/share/FreeCAD/v1-1/Mod/(Linux), případně ji zjistíš v Python konzoli FreeCADu:FreeCAD.getUserAppDataDir().Po startu FreeCADu se v Report view objeví
MCP bridge listening on 127.0.0.1:9875. Bez instalace addonu jde bridge spustit ručně z Python konzole FreeCADu:import sys; sys.path.insert(0, "/cesta/k/freecad-mcp/addon/MCPBridge") import mcp_bridge; mcp_bridge.start()Registrace v Claude Code:
claude mcp add --scope user freecad -- "$PWD/.venv/bin/python" "$PWD/server/freecad_mcp.py"
Bezpečnost
Bridge poslouchá jen na 127.0.0.1, ale execute_code spustí jakýkoli Python
s právy FreeCADu – každý lokální proces se k němu může připojit. Automatický
start vypneš proměnnou FREECAD_MCP_AUTOSTART=0, port změníš FREECAD_MCP_PORT
(nastav stejně pro FreeCAD i MCP server).
Poznámky
Jednotky: mm a stupně.
FreeCAD běží jako flatpak, takže jeho
/tmpje oddělený – exportuj do domovské složky.Rozbité vykreslování ve flatpaku (3D pohled jako šum, zdeformované screenshoty z
get_view) – na noteboocích s NVIDIA + Wayland pomůže vykreslovat přes Mesa:flatpak override --user --env=__GLX_VENDOR_LIBRARY_NAME=mesa org.freecad.FreeCADHeadless test bez GUI:
flatpak run --command=FreeCADCmd org.freecad.FreeCAD -c "import sys; sys.path.insert(0,'addon/MCPBridge'); import mcp_bridge; mcp_bridge.serve_forever()"
Licence
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
Connect Claude or any MCP client to Wireflow, the AI canvas for image, video and audio workflows. List, build, inspect and run your workflows and published apps, browse templates, check models, prices and credits, edit a video node's timeline, and plan or schedule social posts. Drafts and edits cost no credits; run tools spend the user's credits.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables control of FreeCAD CAD software from Claude Desktop through natural language commands. Supports creating, editing, and managing 3D objects, executing Python code, and generating screenshots of designs.10MIT
- AlicenseAqualityDmaintenanceBridges Claude with a live FreeCAD instance to provide deep access to runtime state, document structure, and shape topology. It enables AI-assisted CAD work, sketch diagnostics, and development debugging through direct interaction with FreeCAD's internal data and viewport.938GNU Lesser General Public v2.1 or later
- AlicenseAqualityDmaintenanceEnables to control FreeCAD from Claude Desktop through MCP, allowing CAD operations like creating and editing objects, taking screenshots, and executing Python code.111MIT
- AlicenseAqualityDmaintenanceEnables Claude Desktop to control FreeCAD for 3D CAD modeling, including creating, editing, and deleting objects, executing Python code, and running FEM analyses.14MIT