freecad-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FREECAD_CMD | No | Path to the freecadcmd executable used in headless mode. The server looks for freecadcmd at /Applications/FreeCAD.app/Contents/Resources/bin/freecadcmd by default; override with this environment variable. | /Applications/FreeCAD.app/Contents/Resources/bin/freecadcmd |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| freecad_new_documentB | Create a new FreeCAD document |
| freecad_open_documentB | Open an existing FreeCAD .FCStd file |
| freecad_save_documentB | Save the active document. Optionally save to a new file path. |
| freecad_close_documentB | Close a FreeCAD document by name |
| freecad_list_objectsB | List all objects in a FreeCAD document |
| freecad_get_object_infoB | Get detailed information about a specific object including shape volume, area, and bounding box |
| freecad_create_boxC | Create a Part::Box primitive in the active document. |
| freecad_create_cylinderB | Create a Part::Cylinder primitive in the active document. |
| freecad_create_sphereB | Create a Part::Sphere primitive in the active document. |
| freecad_create_coneC | Create a Part::Cone primitive in the active document. |
| freecad_create_torusC | Create a Part::Torus primitive in the active document. |
| freecad_create_wedgeB | Create a Part wedge (tapered box) in the active document. |
| freecad_create_helixC | Create a helix curve (for springs, threads, coils) |
| freecad_create_spiralB | Create a flat spiral curve (for scroll pumps, watch springs) |
| freecad_create_ellipsoidC | Create an ellipsoid (non-uniform sphere with 3 radii) |
| freecad_create_tubeC | Create a hollow tube/pipe (cylinder with inner hole) |
| freecad_create_prismC | Create a regular prism (polygon extruded to height) |
| freecad_boolean_fuseB | Boolean union (fuse) of two objects into one |
| freecad_boolean_cutB | Boolean subtraction: cut object2 from object1 |
| freecad_boolean_intersectC | Boolean intersection of two objects (common volume) |
| freecad_filletC | Apply fillet (rounded edges) to an object |
| freecad_chamferC | Apply chamfer (beveled edges) to an object |
| freecad_move_objectC | Translate (move) an object to a new position |
| freecad_rotate_objectC | Rotate an object around an axis |
| freecad_copy_objectC | Duplicate an object in the document |
| freecad_delete_objectC | Remove an object from the document |
| freecad_mirror_objectC | Mirror an object across a plane |
| freecad_check_geometryC | Validate an object's geometry — check for shape errors (self-intersections, open shells, invalid faces, etc.) |
| freecad_refine_shapeB | Remove redundant edges and faces from boolean operation results (clean up artifacts) |
| freecad_boolean_fragmentsC | Split overlapping shapes into all distinct non-overlapping fragments (generalized boolean) |
| freecad_sliceA | Slice an object using another object as a cutting tool (splits into two or more pieces) |
| freecad_boolean_xorB | Boolean XOR: keep only the non-overlapping parts of two objects (exclusive OR) |
| freecad_join_connectB | Connect walled objects (e.g., two pipes meeting) — creates a smooth connection between hollow shapes |
| freecad_join_cutoutB | Create a cutout in a walled object for another object to pass through (e.g., pipe through wall) |
| freecad_create_sketchC | Create a new sketch on a plane (XY, XZ, or YZ) |
| freecad_add_sketch_lineC | Add a line segment to a sketch |
| freecad_add_sketch_circleB | Add a circle to a sketch |
| freecad_add_sketch_arcC | Add an arc to a sketch |
| freecad_add_sketch_rectangleB | Add a rectangle to a sketch (4 lines with coincidence constraints) |
| freecad_add_sketch_constraintC | Add a constraint to a sketch |
| freecad_add_sketch_ellipseC | Add an ellipse to a sketch |
| freecad_add_sketch_bsplineC | Add a B-spline curve to a sketch through control points |
| freecad_add_sketch_polygonC | Add a regular polygon to a sketch (equilateral triangle, square, hexagon, etc.) |
| freecad_add_sketch_slotC | Add a slot (oblong/stadium shape) to a sketch — a rectangle with semicircular ends |
| freecad_add_sketch_pointC | Add a construction/reference point to a sketch |
| freecad_add_sketch_externalB | Add external geometry reference to a sketch (project an edge from another object into the sketch for constraining) |
| freecad_sketch_filletB | Create a fillet (rounded corner) at a vertex in a sketch |
| freecad_sketch_trimC | Trim (cut away) part of a geometry element at intersection points |
| freecad_sketch_toggle_constructionA | Toggle a geometry element between construction mode and regular mode. Construction geometry is used for reference only. |
| freecad_close_sketchC | Close and recompute a sketch |
| freecad_padB | Extrude a sketch into a solid (PartDesign Pad). Creates a PartDesign Body if one does not exist. |
| freecad_pocketC | Cut into a solid from a sketch (PartDesign Pocket) |
| freecad_revolveC | Revolve a sketch around an axis (PartDesign Revolution) |
| freecad_loftC | Loft between two or more sketches/profiles to create a solid |
| freecad_sweepC | Sweep a profile along a path to create a solid |
| freecad_partdesign_filletC | Fillet (round) edges on a PartDesign body |
| freecad_partdesign_chamferC | Chamfer edges on a PartDesign body |
| freecad_holeA | Create a hole (drill, counterbore, countersink) in a PartDesign body from a sketch with a circle |
| freecad_partdesign_thicknessB | Shell/hollow out a PartDesign body by removing selected faces and offsetting the rest inward |
| freecad_linear_patternC | Create a linear pattern of a PartDesign feature (repeat feature at regular intervals along a direction) |
| freecad_polar_patternC | Create a polar (circular) pattern of a PartDesign feature around an axis |
| freecad_partdesign_mirroredC | Mirror a PartDesign feature across a plane |
| freecad_additive_helixB | Sweep a sketch profile along a helix path to add material (for springs, threads, coils) |
| freecad_subtractive_helixA | Sweep a sketch profile along a helix path to remove material (for cutting threads, helical grooves) |
| freecad_additive_pipeB | Sweep a sketch profile along a spine path to add material (pipe/tube along complex paths) |
| freecad_subtractive_pipeC | Sweep a sketch profile along a spine path to remove material (cut channel along path) |
| freecad_grooveA | Subtractive revolution — rotate a sketch profile to remove material (lathe-cut grooves, channels) |
| freecad_draft_angleC | Apply a draft angle to faces of a PartDesign body (tapered faces for injection molding) |
| freecad_multi_transformB | Combine multiple transformations (mirror + linear pattern + polar pattern) into one feature |
| freecad_shape_binderA | Create a ShapeBinder to reference external geometry inside a PartDesign body |
| freecad_import_stepC | Import a STEP file into a FreeCAD document. |
| freecad_import_stlC | Import an STL file into a FreeCAD document. |
| freecad_export_stepC | Export objects to a STEP file. |
| freecad_export_stlC | Export objects to an STL file. |
| freecad_export_objC | Export objects to an OBJ file. |
| freecad_measure_distanceC | Measure the distance between two points or two object centers. |
| freecad_measure_angleC | Measure the angle between two faces of an object. |
| freecad_get_volumeC | Get the volume of an object. |
| freecad_get_bounding_boxC | Get the bounding box of an object. |
| freecad_execute_pythonA | Execute arbitrary FreeCAD Python code. WARNING: This tool runs arbitrary Python code with full system access. Only use in trusted environments. The code runs in a context with FreeCAD and Part already imported. Set _mcp_result["result"] to return data. |
| freecad_import_igesC | Import an IGES file into a FreeCAD document. |
| freecad_import_dxfC | Import a DXF file into a FreeCAD document. |
| freecad_import_svgC | Import an SVG file into a FreeCAD document. |
| freecad_export_igesC | Export objects to an IGES file. |
| freecad_export_dxfC | Export objects to a DXF file. |
| freecad_export_svgC | Export objects to an SVG file (projected 2D view). |
| freecad_export_brepC | Export objects to BREP format (native OpenCASCADE boundary representation). |
| freecad_draft_wireC | Create a multi-segment wire (polyline) from a list of points |
| freecad_draft_bsplineC | Create a B-spline curve through a list of points |
| freecad_draft_polygonC | Create a regular polygon (triangle, hexagon, etc.) |
| freecad_draft_ellipseC | Create an ellipse shape |
| freecad_draft_rectangleC | Create a Draft rectangle on the XY plane |
| freecad_draft_facebinderC | Create a face from one or more faces of existing objects |
| freecad_draft_cloneA | Create a parametric clone of one or more objects (linked copies that update with the original) |
| freecad_draft_shapestringA | Create 3D text as a wire/face shape from a font file (for engraving, labels, 3D text) |
| freecad_draft_moveC | Move (translate) objects with optional copy |
| freecad_draft_rotateC | Rotate objects around a center point with optional copy |
| freecad_draft_scaleC | Scale objects from a center point with optional copy |
| freecad_draft_offsetC | Offset a 2D wire/edge by a distance (inward or outward) |
| freecad_draft_upgradeB | Upgrade objects: join wires into faces, faces into shells/solids |
| freecad_draft_downgradeB | Downgrade objects: split solids into faces, faces into wires, wires into edges |
| freecad_draft_path_arrayC | Distribute copies of an object along a path/wire |
| freecad_draft_dimensionC | Add a dimension annotation between two points |
| freecad_draft_shape2dviewC | Project a 3D object to a 2D view (flattened projection for technical drawings) |
| freecad_mesh_from_shapeB | Convert a Part shape to a mesh (tessellate a solid/surface into triangles) |
| freecad_mesh_to_shapeB | Convert a mesh to a Part shape (reconstruct solid from triangles). Useful for editing imported STL files. |
| freecad_mesh_repairB | Repair a mesh by fixing defects (fill holes, remove duplicates, fix normals, merge close vertices) |
| freecad_mesh_decimateC | Reduce the number of triangles in a mesh while preserving shape (mesh simplification) |
| freecad_mesh_refineC | Subdivide/refine a mesh to increase triangle density |
| freecad_mesh_infoB | Get mesh statistics: vertex count, facet count, surface area, volume, bounding box, and topology info |
| freecad_mesh_booleanC | Perform boolean operations on meshes (union, intersection, difference) |
| freecad_techdraw_create_pageC | Create a TechDraw drawing page with a template (A4, A3, A2, A1, A0, or Letter) |
| freecad_techdraw_add_viewC | Add an orthographic view projection of a 3D object to a TechDraw page |
| freecad_techdraw_add_projection_groupC | Add a multi-view projection group (front + top + right + isometric views at once) |
| freecad_techdraw_add_dimensionC | Add a length dimension to a TechDraw view between two vertices or along an edge |
| freecad_techdraw_export_svgC | Export a TechDraw page to an SVG file |
| freecad_techdraw_export_dxfC | Export a TechDraw page to a DXF file |
| freecad_thicknessB | Hollow out a solid by offsetting faces inward (shell operation). Removes selected faces and offsets the rest. |
| freecad_offset_3dC | Create a 3D offset surface/solid (inflate or deflate a shape) |
| freecad_sectionC | Create a cross-section of an object with a plane |
| freecad_compoundA | Create a compound (group) from multiple objects without fusing them |
| freecad_linear_arrayC | Create a linear array (copies of an object spaced along a direction) |
| freecad_polar_arrayC | Create a polar (circular) array of copies around an axis |
| freecad_scale_objectC | Scale an object uniformly or non-uniformly |
| freecad_extrudeA | Extrude a 2D wire/face along a direction to create a 3D solid (Part Extrude, not PartDesign Pad) |
| freecad_get_center_of_massC | Get the center of mass and inertia properties of an object |
| freecad_get_face_infoB | Get information about faces of an object (type, area, normal, center) |
| freecad_get_edge_infoB | Get information about edges of an object (type, length, start/end points) |
| freecad_spreadsheet_createB | Create a new spreadsheet for parametric design control. Cell values can be linked to object properties via expressions. |
| freecad_spreadsheet_setC | Set one or more cell values in a spreadsheet. Supports numbers, strings, and formulas (prefix with =). |
| freecad_spreadsheet_getB | Read cell values from a spreadsheet |
| freecad_spreadsheet_aliasB | Set an alias for a cell to use it as a named parameter in expressions (e.g., "Width" for cell A1) |
| freecad_set_expressionC | Bind an object property to a spreadsheet cell or expression for parametric control (e.g., Box.Length = Spreadsheet.Width) |
| freecad_arch_wallA | Create an architectural wall from a baseline or between two points |
| freecad_arch_structureB | Create a structural element (column, beam, slab) |
| freecad_arch_windowC | Create a window or door opening in a wall |
| freecad_arch_floorC | Create a building floor/level to organize BIM objects |
| freecad_arch_buildingB | Create a building container for organizing floors/levels |
| freecad_arch_siteB | Create a site container (top-level BIM container for buildings) |
| freecad_arch_roofB | Create a roof from a wire/edges or on top of a wall |
| freecad_arch_stairsC | Create a staircase |
| freecad_export_ifcC | Export BIM model to IFC format (Industry Foundation Classes) |
| freecad_fem_analysisC | Create a FEM analysis container for finite element simulation |
| freecad_fem_materialC | Add a material definition to the FEM analysis (e.g., steel, aluminum, etc.) |
| freecad_fem_constraint_fixedC | Add a fixed boundary condition (fixed support) to faces/edges of the model |
| freecad_fem_constraint_forceB | Apply a force load to faces/edges of the model |
| freecad_fem_constraint_pressureC | Apply a pressure load to faces of the model |
| freecad_fem_meshC | Generate a tetrahedral FEM mesh for an object using Gmsh or Netgen |
| freecad_fem_solverB | Add a FEM solver (CalculiX or Elmer) and optionally run the analysis |
| freecad_fem_resultsA | Read FEM analysis results (displacement, stress, strain) after solving |
| freecad_surface_fillingB | Create a surface by filling boundary edges (Gordon surface). Fills an enclosed boundary of edges with a smooth surface. |
| freecad_surface_geomfillB | Create a surface from 2 to 4 boundary edges (Coons patch / Gordon surface) |
| freecad_surface_sectionsB | Create a surface through cross-section curves (loft-like surface through profiles) |
| freecad_surface_extendC | Extend a surface face beyond its boundary in U and/or V direction |
| freecad_surface_ruledB | Create a ruled surface between two edges/wires (straight lines connecting corresponding points) |
| freecad_assembly_createB | Create a new Assembly container for assembling parts with joints/constraints |
| freecad_assembly_insert_componentB | Insert a part or body into an assembly as a component |
| freecad_assembly_toggle_groundedC | Toggle whether a component is grounded (fixed in space) in the assembly |
| freecad_assembly_fixed_jointB | Create a fixed joint locking two components rigidly together |
| freecad_assembly_revolute_jointA | Create a revolute (hinge) joint between two components — allows rotation around one axis |
| freecad_assembly_slider_jointB | Create a slider (prismatic) joint — allows linear translation along one axis |
| freecad_assembly_cylindrical_jointB | Create a cylindrical joint — allows rotation and translation along the same axis |
| freecad_assembly_ball_jointB | Create a ball (spherical) joint — allows rotation in all 3 axes |
| freecad_assembly_distance_jointC | Create a distance constraint between two components |
| freecad_assembly_solveB | Solve the assembly constraints to compute final positions of all components |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 165 tools
Several tool pairs are near-duplicates: freecad_fillet vs freecad_partdesign_fillet, freecad_thickness vs freecad_partdesign_thickness, freecad_mirror_object vs freecad_partdesign_mirrored, freecad_linear_array vs freecad_linear_pattern, and freecad_extrude vs freecad_pad. The descriptions hint at Part vs PartDesign contexts, but with 165 tools an agent has many plausible-looking candidates for a single action, making misselection likely.
Almost every tool follows a freecad_ prefix plus snake_case action, and workbench-scoped tools (draft_, partdesign_, arch_, fem_, assembly_, techdraw_, surface_, mesh_) are grouped predictably. A few names are noun-only (freecad_fillet, freecad_pad, freecad_hole) and verb choices vary slightly (create_/add_/import_), but overall the pattern is reliable.
165 tools is far beyond what an agent can navigate effectively in one surface, even for a CAD domain as broad as FreeCAD. Many workbenches (FEM, TechDraw, Arch/BIM, Surface, Assembly) could be separate, opt-in tool sets instead of one flat list.
Coverage is remarkably broad: document lifecycle, primitives, booleans, sketching, PartDesign features, Draft, mesh ops, import/export across STEP/STL/OBJ/IGES/DXF/SVG/BREP/IFC, TechDraw, spreadsheet-driven parametric design, FEM, surfaces, and assemblies with joints. Minor gaps remain (no undo/history, limited view/camera control, thin annotation features), but core workflows have no dead ends.