Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad-mcp

MCP (Model Context Protocol) server for FreeCAD parametric 3D CAD modeling. Provides 165 tools across 15 modules for document management, primitives, booleans, sketching, part design, meshing, FEM, BIM, and more.

Prerequisites

Related MCP server: FreeCAD MCP Server

Installation

git clone https://github.com/sergiudanstan/freecad-mcp.git
cd freecad-mcp
npm install
npm run build

Setup

The server supports two modes: GUI mode (recommended) and headless mode (fallback).

GUI mode connects to a running FreeCAD instance so you can see changes live in the 3D viewport.

Step 1 — Start the FreeCAD socket server macro:

  1. Open FreeCAD

  2. Go to Macro > Macros...

  3. Click "..." (browse) and navigate to the freecad_server.FCMacro file in this repo

  4. Select it and click Execute

  5. You should see in the FreeCAD console:

    MCP Socket Server listening on 127.0.0.1:12345
    MCP Server macro loaded. Waiting for connections...

The macro must be running before the MCP server connects. The server auto-detects the socket on startup.

Step 2 — Configure your MCP client:

Add the server to your MCP client configuration. For Claude Code, add to ~/.claude/settings.json:

{
  "mcpServers": {
    "freecad": {
      "command": "node",
      "args": ["/path/to/freecad-mcp/dist/index.js"]
    }
  }
}

Or via the CLI:

claude mcp add freecad node /path/to/freecad-mcp/dist/index.js

Headless Mode (fallback)

If FreeCAD GUI is not running, the server automatically falls back to headless mode using freecadcmd. This works for scripting and automation but you won't see visual output.

The server looks for freecadcmd at /Applications/FreeCAD.app/Contents/Resources/bin/freecadcmd by default. Override with:

{
  "mcpServers": {
    "freecad": {
      "command": "node",
      "args": ["/path/to/freecad-mcp/dist/index.js"],
      "env": {
        "FREECAD_CMD": "/your/path/to/freecadcmd"
      }
    }
  }
}

Tool Modules

Module

Tools

Description

Document

7

New, open, save, close, list objects, get info

Primitives

11

Box, cylinder, sphere, cone, torus, tube, prism, helix, spiral, ellipsoid, wedge

Operations

17

Boolean (fuse/cut/intersect/XOR/fragments), fillet, chamfer, move, rotate, copy, mirror, slice

Sketcher

12

Create sketches, add lines, arcs, circles, constraints, close/validate

Part Design

10

Pad, pocket, revolve, hole, groove, chamfer, fillet, mirror, linear/polar pattern

Import/Export

16

STEP, STL, OBJ, IGES, DXF, SVG, BREP import/export, measurements, Python execution

Draft

10

Wire, rectangle, circle, polygon, BSpline, array, clone, offset, upgrade/downgrade

Mesh

7

Tessellate, mesh-to-shape, repair, decimate, refine, info, boolean

TechDraw

8

Drawing pages, views, dimensions, annotations

Advanced

12

Loft, sweep, pipe, thickness, offset surface, section, projection

Spreadsheet

6

Create, set cells, get cells, alias, formulas

BIM

8

Walls, columns, slabs, windows, roofs, stairs, spaces

FEM

10

Analysis, material, constraints, mesh generation, solver

Surface

8

Filling, curves on mesh, extending, trimming

Assembly

8

Assembly creation, constraints, bill of materials

Security

  • All inputs are validated at runtime (numeric ranges, string sanitization, path traversal prevention)

  • File operations block access to system paths (/etc/, /proc/, etc.)

  • The freecad_execute_python tool allows arbitrary Python execution by design — only use in trusted environments

  • The GUI socket server listens only on localhost (127.0.0.1:12345)

See SECURITY.md for vulnerability reporting.

License

MIT - Dan Stan

Available Tools

165 tools
freecad_additive_helixB

Sweep a sketch profile along a helix path to add material (for springs, threads, coils)

Inputs: pitch (required), sketchName (required), name, turns, +3 more.

freecad_additive_pipeB

Sweep a sketch profile along a spine path to add material (pipe/tube along complex paths)

Inputs: spineName (required), profileName (required), name.

freecad_add_sketch_arcC

Add an arc to a sketch

Inputs: radius (required), centerX (required), centerY (required), endAngle (required), +2 more.

freecad_add_sketch_bsplineC

Add a B-spline curve to a sketch through control points

Inputs: points (required), sketchName (required), closed.

freecad_add_sketch_circleB

Add a circle to a sketch

Inputs: radius (required), centerX (required), centerY (required), sketchName (required).

freecad_add_sketch_constraintC

Add a constraint to a sketch

Inputs: index1 (required), sketchName (required), constraintType (required), value, +1 more.

freecad_add_sketch_ellipseC

Add an ellipse to a sketch

Inputs: centerX (required), centerY (required), sketchName (required), majorRadius (required), +1 more.

freecad_add_sketch_externalB

Add external geometry reference to a sketch (project an edge from another object into the sketch for constraining)

Inputs: edgeName (required), objectName (required), sketchName (required).

freecad_add_sketch_lineC

Add a line segment to a sketch

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +1 more.

freecad_add_sketch_pointC

Add a construction/reference point to a sketch

Inputs: x (required), y (required), sketchName (required).

freecad_add_sketch_polygonC

Add a regular polygon to a sketch (equilateral triangle, square, hexagon, etc.)

Inputs: sides (required), radius (required), centerX (required), centerY (required), +1 more.

freecad_add_sketch_rectangleB

Add a rectangle to a sketch (4 lines with coincidence constraints)

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +1 more.

freecad_add_sketch_slotC

Add a slot (oblong/stadium shape) to a sketch — a rectangle with semicircular ends

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +2 more.

freecad_arch_buildingB

Create a building container for organizing floors/levels

Inputs: name, floorNames.

freecad_arch_floorC

Create a building floor/level to organize BIM objects

Inputs: name, height, objectNames.

freecad_arch_roofB

Create a roof from a wire/edges or on top of a wall

Inputs: baseName (required), name, angle.

freecad_arch_siteB

Create a site container (top-level BIM container for buildings)

Inputs: name, buildingNames.

freecad_arch_stairsC

Create a staircase

Inputs: name, width, totalHeight, numberOfSteps.

freecad_arch_structureB

Create a structural element (column, beam, slab)

Inputs: x, y, z, name, +4 more.

freecad_arch_wallA

Create an architectural wall from a baseline or between two points

Inputs: endX, endY, name, width, +5 more.

freecad_arch_windowC

Create a window or door opening in a wall

Inputs: wallName (required), x, name, sillHeight, +2 more.

freecad_assembly_ball_jointB

Create a ball (spherical) joint — allows rotation in all 3 axes

Inputs: element1 (required), element2 (required), component1 (required), component2 (required), +2 more.

freecad_assembly_createB

Create a new Assembly container for assembling parts with joints/constraints

Inputs: name.

freecad_assembly_cylindrical_jointB

Create a cylindrical joint — allows rotation and translation along the same axis

Inputs: element1 (required), element2 (required), component1 (required), component2 (required), +2 more.

freecad_assembly_distance_jointC

Create a distance constraint between two components

Inputs: distance (required), element1 (required), element2 (required), component1 (required), +3 more.

freecad_assembly_fixed_jointB

Create a fixed joint locking two components rigidly together

Inputs: element1 (required), element2 (required), component1 (required), component2 (required), +2 more.

freecad_assembly_insert_componentB

Insert a part or body into an assembly as a component

Inputs: objectName (required), assemblyName (required), x, y, +1 more.

freecad_assembly_revolute_jointA

Create a revolute (hinge) joint between two components — allows rotation around one axis

Inputs: element1 (required), element2 (required), component1 (required), component2 (required), +2 more.

freecad_assembly_slider_jointB

Create a slider (prismatic) joint — allows linear translation along one axis

Inputs: element1 (required), element2 (required), component1 (required), component2 (required), +2 more.

freecad_assembly_solveB

Solve the assembly constraints to compute final positions of all components

Inputs: assemblyName (required).

freecad_assembly_toggle_groundedC

Toggle whether a component is grounded (fixed in space) in the assembly

Inputs: assemblyName (required), componentName (required).

freecad_boolean_cutB

Boolean subtraction: cut object2 from object1

Inputs: object1 (required), object2 (required), name.

freecad_boolean_fragmentsC

Split overlapping shapes into all distinct non-overlapping fragments (generalized boolean)

Inputs: objectNames (required), name.

freecad_boolean_fuseB

Boolean union (fuse) of two objects into one

Inputs: object1 (required), object2 (required), name.

freecad_boolean_intersectC

Boolean intersection of two objects (common volume)

Inputs: object1 (required), object2 (required), name.

freecad_boolean_xorB

Boolean XOR: keep only the non-overlapping parts of two objects (exclusive OR)

Inputs: object1 (required), object2 (required), name.

freecad_chamferC

Apply chamfer (beveled edges) to an object

Inputs: distance (required), objectName (required), edgeIndices.

freecad_check_geometryC

Validate an object's geometry — check for shape errors (self-intersections, open shells, invalid faces, etc.)

Inputs: objectName (required).

freecad_close_documentB

Close a FreeCAD document by name

Inputs: name (required).

freecad_close_sketchC

Close and recompute a sketch

Inputs: sketchName (required).

freecad_compoundA

Create a compound (group) from multiple objects without fusing them

Inputs: objectNames (required), name.

freecad_copy_objectC

Duplicate an object in the document

Inputs: objectName (required), newName.

freecad_create_boxC

Create a Part::Box primitive in the active document.

Inputs: width (required), height (required), length (required), name.

freecad_create_coneC

Create a Part::Cone primitive in the active document.

Inputs: height (required), radius1 (required), radius2 (required), name.

freecad_create_cylinderB

Create a Part::Cylinder primitive in the active document.

Inputs: height (required), radius (required), name.

freecad_create_ellipsoidC

Create an ellipsoid (non-uniform sphere with 3 radii)

Inputs: radius1 (required), radius2 (required), name, radius3.

freecad_create_helixC

Create a helix curve (for springs, threads, coils)

Inputs: pitch (required), height (required), radius (required), name, +2 more.

freecad_create_prismC

Create a regular prism (polygon extruded to height)

Inputs: sides (required), height (required), radius (required), name.

freecad_create_sketchC

Create a new sketch on a plane (XY, XZ, or YZ)

Inputs: name, plane.

freecad_create_sphereB

Create a Part::Sphere primitive in the active document.

Inputs: radius (required), name.

freecad_create_spiralB

Create a flat spiral curve (for scroll pumps, watch springs)

Inputs: growth (required), radius (required), rotations (required), name.

freecad_create_torusC

Create a Part::Torus primitive in the active document.

Inputs: radius1 (required), radius2 (required), name.

freecad_create_tubeC

Create a hollow tube/pipe (cylinder with inner hole)

Inputs: height (required), innerRadius (required), outerRadius (required), name.

freecad_create_wedgeB

Create a Part wedge (tapered box) in the active document.

Inputs: xmax (required), xmin (required), ymax (required), ymin (required), +7 more.

freecad_delete_objectC

Remove an object from the document

Inputs: objectName (required).

freecad_draft_angleC

Apply a draft angle to faces of a PartDesign body (tapered faces for injection molding)

Inputs: angle (required), faceNames (required), featureName (required), name, +1 more.

freecad_draft_bsplineC

Create a B-spline curve through a list of points

Inputs: points (required), name, closed.

freecad_draft_cloneA

Create a parametric clone of one or more objects (linked copies that update with the original)

Inputs: objectNames (required), name.

freecad_draft_dimensionC

Add a dimension annotation between two points

Inputs: point1X (required), point1Y (required), point2X (required), point2Y (required), +3 more.

freecad_draft_downgradeB

Downgrade objects: split solids into faces, faces into wires, wires into edges

Inputs: objectNames (required).

freecad_draft_ellipseC

Create an ellipse shape

Inputs: majorRadius (required), minorRadius (required), x, y, +2 more.

freecad_draft_facebinderC

Create a face from one or more faces of existing objects

Inputs: faceNames (required), objectName (required), name.

freecad_draft_moveC

Move (translate) objects with optional copy

Inputs: x (required), y (required), z (required), objectNames (required), +1 more.

freecad_draft_offsetC

Offset a 2D wire/edge by a distance (inward or outward)

Inputs: distance (required), objectName (required), copy.

freecad_draft_path_arrayC

Distribute copies of an object along a path/wire

Inputs: count (required), pathName (required), objectName (required), name.

freecad_draft_polygonC

Create a regular polygon (triangle, hexagon, etc.)

Inputs: sides (required), radius (required), x, y, +2 more.

freecad_draft_rectangleC

Create a Draft rectangle on the XY plane

Inputs: width (required), height (required), x, y, +2 more.

freecad_draft_rotateC

Rotate objects around a center point with optional copy

Inputs: angle (required), objectNames (required), copy, axisX, +5 more.

freecad_draft_scaleC

Scale objects from a center point with optional copy

Inputs: scaleX (required), objectNames (required), copy, scaleY, +4 more.

freecad_draft_shape2dviewC

Project a 3D object to a 2D view (flattened projection for technical drawings)

Inputs: objectName (required), name, directionX, directionY, +1 more.

freecad_draft_shapestringA

Create 3D text as a wire/face shape from a font file (for engraving, labels, 3D text)

Inputs: text (required), x, y, z, +3 more.

freecad_draft_upgradeB

Upgrade objects: join wires into faces, faces into shells/solids

Inputs: objectNames (required).

freecad_draft_wireC

Create a multi-segment wire (polyline) from a list of points

Inputs: points (required), name, closed.

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.

Inputs: code (required).

freecad_export_brepC

Export objects to BREP format (native OpenCASCADE boundary representation).

Inputs: filePath (required), objectName (required).

freecad_export_dxfC

Export objects to a DXF file.

Inputs: filePath (required), objectNames (required).

freecad_export_ifcC

Export BIM model to IFC format (Industry Foundation Classes)

Inputs: filePath (required), objectNames.

freecad_export_igesC

Export objects to an IGES file.

Inputs: filePath (required), objectNames (required).

freecad_export_objC

Export objects to an OBJ file.

Inputs: filePath (required), objectNames (required).

freecad_export_stepC

Export objects to a STEP file.

Inputs: filePath (required), objectNames (required).

freecad_export_stlC

Export objects to an STL file.

Inputs: filePath (required), objectNames (required).

freecad_export_svgC

Export objects to an SVG file (projected 2D view).

Inputs: filePath (required), objectNames (required), direction.

freecad_extrudeA

Extrude a 2D wire/face along a direction to create a 3D solid (Part Extrude, not PartDesign Pad)

Inputs: objectName (required), dirX, dirY, dirZ, +2 more.

freecad_fem_analysisC

Create a FEM analysis container for finite element simulation

Inputs: name.

freecad_fem_constraint_fixedC

Add a fixed boundary condition (fixed support) to faces/edges of the model

Inputs: objectName (required), references (required), analysisName (required), name.

freecad_fem_constraint_forceB

Apply a force load to faces/edges of the model

Inputs: force (required), objectName (required), references (required), analysisName (required), +4 more.

freecad_fem_constraint_pressureC

Apply a pressure load to faces of the model

Inputs: pressure (required), objectName (required), references (required), analysisName (required), +2 more.

freecad_fem_materialC

Add a material definition to the FEM analysis (e.g., steel, aluminum, etc.)

Inputs: analysisName (required), name, density, materialName, +2 more.

freecad_fem_meshC

Generate a tetrahedral FEM mesh for an object using Gmsh or Netgen

Inputs: objectName (required), analysisName (required), name, meshOrder, +2 more.

freecad_fem_resultsA

Read FEM analysis results (displacement, stress, strain) after solving

Inputs: analysisName (required).

freecad_fem_solverB

Add a FEM solver (CalculiX or Elmer) and optionally run the analysis

Inputs: analysisName (required), run, name, solver, +1 more.

freecad_filletC

Apply fillet (rounded edges) to an object

Inputs: radius (required), objectName (required), edgeIndices.

freecad_get_bounding_boxC

Get the bounding box of an object.

Inputs: objectName (required).

freecad_get_center_of_massC

Get the center of mass and inertia properties of an object

Inputs: objectName (required).

freecad_get_edge_infoB

Get information about edges of an object (type, length, start/end points)

Inputs: objectName (required), edgeIndex.

freecad_get_face_infoB

Get information about faces of an object (type, area, normal, center)

Inputs: objectName (required), faceIndex.

freecad_get_object_infoB

Get detailed information about a specific object including shape volume, area, and bounding box

Inputs: objectName (required), documentName.

freecad_get_volumeC

Get the volume of an object.

Inputs: objectName (required).

freecad_grooveA

Subtractive revolution — rotate a sketch profile to remove material (lathe-cut grooves, channels)

Inputs: sketchName (required), name, angle, axisX, +2 more.

freecad_holeA

Create a hole (drill, counterbore, countersink) in a PartDesign body from a sketch with a circle

Inputs: diameter (required), sketchName (required), name, depth, +5 more.

freecad_import_dxfC

Import a DXF file into a FreeCAD document.

Inputs: filePath (required).

freecad_import_igesC

Import an IGES file into a FreeCAD document.

Inputs: filePath (required).

freecad_import_stepC

Import a STEP file into a FreeCAD document.

Inputs: filePath (required), documentName.

freecad_import_stlC

Import an STL file into a FreeCAD document.

Inputs: filePath (required), documentName.

freecad_import_svgC

Import an SVG file into a FreeCAD document.

Inputs: filePath (required).

freecad_join_connectB

Connect walled objects (e.g., two pipes meeting) — creates a smooth connection between hollow shapes

Inputs: object1 (required), object2 (required), name.

freecad_join_cutoutB

Create a cutout in a walled object for another object to pass through (e.g., pipe through wall)

Inputs: object1 (required), object2 (required), name.

freecad_linear_arrayC

Create a linear array (copies of an object spaced along a direction)

Inputs: count (required), directionX (required), directionY (required), directionZ (required), +2 more.

freecad_linear_patternC

Create a linear pattern of a PartDesign feature (repeat feature at regular intervals along a direction)

Inputs: length (required), featureName (required), occurrences (required), name, +1 more.

freecad_list_objectsB

List all objects in a FreeCAD document

Inputs: documentName.

freecad_loftC

Loft between two or more sketches/profiles to create a solid

Inputs: sketchNames (required), name, solid.

freecad_measure_angleC

Measure the angle between two faces of an object.

Inputs: face1 (required), face2 (required), objectName (required).

freecad_measure_distanceC

Measure the distance between two points or two object centers.

Inputs: point1, point2, object1Name, object2Name.

freecad_mesh_booleanC

Perform boolean operations on meshes (union, intersection, difference)

Inputs: mesh1Name (required), mesh2Name (required), operation (required), name.

freecad_mesh_decimateC

Reduce the number of triangles in a mesh while preserving shape (mesh simplification)

Inputs: meshName (required), targetReduction (required).

freecad_mesh_from_shapeB

Convert a Part shape to a mesh (tessellate a solid/surface into triangles)

Inputs: objectName (required), name, linearDeflection, angularDeflection.

freecad_mesh_infoB

Get mesh statistics: vertex count, facet count, surface area, volume, bounding box, and topology info

Inputs: meshName (required).

freecad_mesh_refineC

Subdivide/refine a mesh to increase triangle density

Inputs: meshName (required), maxEdgeLength (required).

freecad_mesh_repairB

Repair a mesh by fixing defects (fill holes, remove duplicates, fix normals, merge close vertices)

Inputs: meshName (required), fillHoles, fixNormals, removeDuplicates.

freecad_mesh_to_shapeB

Convert a mesh to a Part shape (reconstruct solid from triangles). Useful for editing imported STL files.

Inputs: meshName (required), name, sewing.

freecad_mirror_objectC

Mirror an object across a plane

Inputs: plane (required), objectName (required), name.

freecad_move_objectC

Translate (move) an object to a new position

Inputs: x (required), y (required), z (required), objectName (required).

freecad_multi_transformB

Combine multiple transformations (mirror + linear pattern + polar pattern) into one feature

Inputs: featureName (required), transformNames (required), name.

freecad_new_documentB

Create a new FreeCAD document

Inputs: name (required).

freecad_offset_3dC

Create a 3D offset surface/solid (inflate or deflate a shape)

Inputs: distance (required), objectName (required), name.

freecad_open_documentB

Open an existing FreeCAD .FCStd file

Inputs: filePath (required).

freecad_padB

Extrude a sketch into a solid (PartDesign Pad). Creates a PartDesign Body if one does not exist.

Inputs: length (required), sketchName (required), name, reversed, +1 more.

freecad_partdesign_chamferC

Chamfer edges on a PartDesign body

Inputs: size (required), objectName (required), name, edgeNames.

freecad_partdesign_filletC

Fillet (round) edges on a PartDesign body

Inputs: radius (required), objectName (required), name, edgeNames.

freecad_partdesign_mirroredC

Mirror a PartDesign feature across a plane

Inputs: featureName (required), name, plane.

freecad_partdesign_thicknessB

Shell/hollow out a PartDesign body by removing selected faces and offsetting the rest inward

Inputs: faceNames (required), thickness (required), objectName (required), name.

freecad_pocketC

Cut into a solid from a sketch (PartDesign Pocket)

Inputs: depth (required), sketchName (required), name.

freecad_polar_arrayC

Create a polar (circular) array of copies around an axis

Inputs: count (required), objectName (required), name, angle, +6 more.

freecad_polar_patternC

Create a polar (circular) pattern of a PartDesign feature around an axis

Inputs: featureName (required), occurrences (required), axis, name, +1 more.

freecad_refine_shapeB

Remove redundant edges and faces from boolean operation results (clean up artifacts)

Inputs: objectName (required), name.

freecad_revolveC

Revolve a sketch around an axis (PartDesign Revolution)

Inputs: sketchName (required), name, angle, axisX, +2 more.

freecad_rotate_objectC

Rotate an object around an axis

Inputs: axis (required), angle (required), objectName (required).

freecad_save_documentB

Save the active document. Optionally save to a new file path.

Inputs: filePath.

freecad_scale_objectC

Scale an object uniformly or non-uniformly

Inputs: scaleX (required), objectName (required), name, scaleY, +1 more.

freecad_sectionC

Create a cross-section of an object with a plane

Inputs: objectName (required), name, plane, offset.

freecad_set_expressionC

Bind an object property to a spreadsheet cell or expression for parametric control (e.g., Box.Length = Spreadsheet.Width)

Inputs: property (required), expression (required), objectName (required).

freecad_shape_binderA

Create a ShapeBinder to reference external geometry inside a PartDesign body

Inputs: objectName (required), name, subElements.

freecad_sketch_filletB

Create a fillet (rounded corner) at a vertex in a sketch

Inputs: radius (required), sketchName (required), vertexIndex (required).

freecad_sketch_toggle_constructionA

Toggle a geometry element between construction mode and regular mode. Construction geometry is used for reference only.

Inputs: geoIndex (required), sketchName (required).

freecad_sketch_trimC

Trim (cut away) part of a geometry element at intersection points

Inputs: posX (required), posY (required), geoIndex (required), sketchName (required).

freecad_sliceA

Slice an object using another object as a cutting tool (splits into two or more pieces)

Inputs: baseName (required), toolName (required), name.

freecad_spreadsheet_aliasB

Set an alias for a cell to use it as a named parameter in expressions (e.g., "Width" for cell A1)

Inputs: cell (required), alias (required), sheetName (required).

freecad_spreadsheet_createB

Create a new spreadsheet for parametric design control. Cell values can be linked to object properties via expressions.

Inputs: name.

freecad_spreadsheet_getB

Read cell values from a spreadsheet

Inputs: cells (required), sheetName (required).

freecad_spreadsheet_setC

Set one or more cell values in a spreadsheet. Supports numbers, strings, and formulas (prefix with =).

Inputs: cells (required), sheetName (required).

freecad_subtractive_helixA

Sweep a sketch profile along a helix path to remove material (for cutting threads, helical grooves)

Inputs: pitch (required), sketchName (required), name, turns, +2 more.

freecad_subtractive_pipeC

Sweep a sketch profile along a spine path to remove material (cut channel along path)

Inputs: spineName (required), profileName (required), name.

freecad_surface_extendC

Extend a surface face beyond its boundary in U and/or V direction

Inputs: faceName (required), objectName (required), name, extensionLength.

freecad_surface_fillingB

Create a surface by filling boundary edges (Gordon surface). Fills an enclosed boundary of edges with a smooth surface.

Inputs: edgeNames (required), objectName (required), name.

freecad_surface_geomfillB

Create a surface from 2 to 4 boundary edges (Coons patch / Gordon surface)

Inputs: edges (required), name.

freecad_surface_ruledB

Create a ruled surface between two edges/wires (straight lines connecting corresponding points)

Inputs: edge1Name (required), edge2Name (required), edge1ObjectName (required), edge2ObjectName (required), +1 more.

freecad_surface_sectionsB

Create a surface through cross-section curves (loft-like surface through profiles)

Inputs: sectionNames (required), name.

freecad_sweepC

Sweep a profile along a path to create a solid

Inputs: pathName (required), profileName (required), name, solid.

freecad_techdraw_add_dimensionC

Add a length dimension to a TechDraw view between two vertices or along an edge

Inputs: pageName (required), viewName (required), dimensionType (required), edge, +3 more.

freecad_techdraw_add_projection_groupC

Add a multi-view projection group (front + top + right + isometric views at once)

Inputs: pageName (required), objectName (required), name, scale, +1 more.

freecad_techdraw_add_viewC

Add an orthographic view projection of a 3D object to a TechDraw page

Inputs: pageName (required), objectName (required), x, y, +3 more.

freecad_techdraw_create_pageC

Create a TechDraw drawing page with a template (A4, A3, A2, A1, A0, or Letter)

Inputs: name, template.

freecad_techdraw_export_dxfC

Export a TechDraw page to a DXF file

Inputs: filePath (required), pageName (required).

freecad_techdraw_export_svgC

Export a TechDraw page to an SVG file

Inputs: filePath (required), pageName (required).

freecad_thicknessB

Hollow out a solid by offsetting faces inward (shell operation). Removes selected faces and offsets the rest.

Inputs: faceNames (required), thickness (required), objectName (required), name.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 165 tools

    Disambiguation2/5

    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.

    Naming Consistency4/5

    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.

    Tool Count1/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to control FreeCAD 3D modeling software, allowing creation and manipulation of 3D objects, execution of Python code, and interaction with FreeCAD's parts library through natural language.
      10
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI to directly call FreeCAD for 3D modeling via the MCP protocol, providing 39 modeling tools including primitive creation, boolean operations, transformations, and export.
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to programmatically build, analyze, and export 3D CAD geometry using FreeCAD through REST or MCP tools.
      MIT