freecad-mcp
AGENTS.md32 starsChanged 3 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Annotation Constants: Every @mcp.tool() explicitly includes annotations=READ_ONLY or annotations=MUTATING.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
freecad-mcp — Agent Guide
Overview
FreeCAD MCP server — Parametric 3D CAD modeling, 2D TechDraw drafting, 2D constraint sketching, multi-part STEP assemblies, generative topology optimization, CFD (OpenFOAM CPU + FluidX3D GPU), and CalculiX FEM structural stress analysis via 50+ MCP tools and REST API.
Core Capabilities for Fleet Agents
| Capability | Core MCP Tools | Output Formats | Fleet Handoff Targets |
| Parametric CAD & Extrusion | freecad_model (sketch), create_shape | STEP, STL, FCStd | qcad-mcp, prusa-slicer-mcp |
| 2D Engineering Blueprints | freecad_model (techdraw) | SVG, PDF | mcp-central-docs |
| Multi-Part STEP Assemblies | freecad_model (assembly, inspect_assembly) | STEP, STL, Tree JSON | robotics-mcp (URDF) |
| Generative Weight Reduction | freecad_model (generative) | STEP, Volume JSON | robotics-mcp, prusa-slicer-mcp |
| Heuristic Edge Filleting | freecad_model (heuristic_fillet) | STEP | Manufacturing pipelines |
| Architectural BIM / IFC | bim_create_wall, bim_export_ifc | IFC, FCStd | Architecture workflows |
| OpenFOAM CFD (CPU) | cfd_create_domain, cfd_snappy_mesh, cfd_configure_physics, cfd_post_process | OpenFOAM case, Cd/Cl JSON | openfoam-mcp |
| Fluid-Structure Interaction (FSI) | cfd_map_loads_to_fem | CalculiX INP, Stress MPa | freecad-mcp (FEM) |
| FluidX3D GPU LBM CFD | cfd_fluidx3d_setup, cfd_fluidx3d_export_for_render | VTK, OBJ Streamlines, WebM | godot-mcp, resonite-mcp (VR) |
| CalculiX Structural FEM | fem_create_analysis, run_fem_analysis | Von Mises Stress MPa, INP | Engineering validation |
Standards & Patterns
- FastMCP 3.4+ Portmanteau Pattern: Portmanteau tool
freecad_modelmapsexecution_mode("hands_off" or "hands_in") to underlying operational modules insrc/freecad_mcp/model_ops.py. - Annotation Constants: Every
@mcp.tool()explicitly includesannotations=READ_ONLYorannotations=MUTATING. - Dual Execution Architecture: Prefers live FreeCAD TCP bridge (port 11968) for full B-Rep tree access; automatically falls back to headless
FreeCADCmdsubprocess if GUI is not connected. - REST Control Endpoint:
POST http://localhost:10944/api/v1/control/toolwith payload{"tool": "...", "arguments": {...}}.
Key Files & Structure
src/freecad_mcp/server.py— MCP server entrypoint and REST dispatch table.src/freecad_mcp/model_ops.py— Script generator backend for CAD extensions (TechDraw, Sketcher, Assemblies, Generative, Filleting, Introspection).src/freecad_mcp/tools/model_tools.py— Portmanteau MCP tool definition (freecad_model).src/freecad_mcp/tools/cfd.py— OpenFOAM CFD tools (blockMesh,snappyHexMesh, physics, post-proc, FSI).src/freecad_mcp/tools/fluidx3d.py— GPU LBM CFD tools and rendering export manifest.src/freecad_mcp/tools/bim.py— BIM architectural design & IFC import/export.src/freecad_mcp/tools/fem.py— CalculiX structural FEM analysis tools.webapp/— React 19 + Vite + Tailwind CSS dark-mode web application (port 10945).docs/— Technical guides (cfd-guide.md,mcp-tools.md,architecture.md,fleet-pipeline.md).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

