FreeCAD MCP logo

FreeCAD MCP

Control FreeCAD from an AI agent for parametric modeling, mesh work, CNC toolpaths, diagnostics, and manufacturing exports.

Install FreeCAD MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for FreeCAD MCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The FreeCAD MCP MCP server connects an AI agent to a running FreeCAD installation through the AICopilot workbench and a local socket bridge. It exposes more than 30 tools for parametric design, PartDesign, sketches, meshes, measurements, Boolean and transform operations, diagnostics, exports, and CAM workflows. Reach for it when an agent needs to inspect or modify FreeCAD documents, investigate modeling errors, iterate on parts, or prepare models for printing or CNC work. Most tools support FreeCAD 1.1.x, while CAM requires a current weekly development build because of Path API changes.

Use cases

  • Design parametric parts from dimensions and constraints
  • Diagnose FreeCAD modeling errors and broken references
  • Inspect and modify imported mesh models
  • Generate CNC toolpaths and manufacturing exports
  • Compare or control multiple FreeCAD instances

Key features

  • 30+ FreeCAD operation tools
  • Parametric, PartDesign, Sketch, Draft, Boolean, and transform workflows
  • Mesh inspection and geometry checks
  • Multiple FreeCAD instance discovery and selection
  • CAM toolpath and G-code workflows
  • STEP export and reusable macro creation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

4/4 checks healthy over the last 36d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars61Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How FreeCAD MCP works

What FreeCAD MCP MCP server does

The FreeCAD MCP MCP server lets an AI agent work with documents inside FreeCAD rather than only generating detached scripts or descriptions. It is intended for interactive design work: the agent can help turn requirements into a parametric model, inspect an existing part, explain errors, and revise geometry with the user.

Supported workflows include Part and PartDesign modeling, sketch inspection, Draft work, Boolean and transform operations, measurements, mesh handling, geometry checks, and manufacturing preparation. The project also covers CNC toolpath generation and G-code export, although those capabilities depend on a newer FreeCAD build than the rest of the toolset. Examples in the documentation include importing an STL, adding mounting features, checking whether parts collide, and creating a reusable generator driven by spreadsheet dimensions.

How it works

FreeCAD must be running with the AICopilot workbench loaded. That workbench starts a local socket server, and the bridge discovers the available FreeCAD process so the agent can issue operations through MCP. The Report View provides visible startup and diagnostic information, including whether the workbench loaded and whether the socket is listening.

Multiple FreeCAD processes can be active at once. Each process creates a UUID, a socket path, and a discovery record under the user cache directory. The agent can list instances and select one by UUID or label. If no instance is selected, one live process is chosen automatically; with several live processes, explicit selection is required.

Setup and configuration

Installation follows the repository's AGENT-INSTALL.md instructions. The setup process includes installing prerequisites, cloning the repository, installing the FreeCAD addon, and registering the server with the agent. The documented development environments are macOS, Windows, and Linux, with other platforms less tested.

Optional launch variables can label an instance or replace its socket path:

  • FREECAD_MCP_LABEL assigns a human-readable instance name.
  • FREECAD_MCP_SOCKET overrides the generated socket location.

Agents can also start GUI or headless FreeCAD processes with spawn_freecad_instance, supplying a label and FreeCAD binary path. Verification consists of opening Report View and checking for the AICopilot startup and socket-server messages.

Tools and capabilities

The FreeCAD MCP MCP server provides more than 30 tools. Documented operations include:

  • Listing and selecting running FreeCAD instances.
  • Creating and editing parametric parts and sketches.
  • Inspecting constraints, Report View output, and document state.
  • Applying Boolean, transform, measurement, and geometry-check operations.
  • Working with meshes such as imported STL files.
  • Planning and generating CAM toolpaths where the installed FreeCAD version supports them.
  • Exporting models as STEP and producing CNC G-code.
  • Building reusable FreeCAD macros from design requirements.

The exact tool catalog is maintained in the repository's TOOLS.md reference.

Limitations and notes

CAM is not supported on FreeCAD 1.1.x in this project. It requires a current weekly development build because the Path workbench API changed between the stable and development series.

The bridge requires a live FreeCAD process with the AICopilot workbench available; it is not a standalone geometry engine. Platform testing is strongest on macOS, Windows, and Linux.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about FreeCAD MCP

FreeCAD MCP is an MCP server that connects AI agents to a running FreeCAD installation through the AICopilot workbench and a local socket bridge. Its main tools support parametric and PartDesign modeling, sketches, meshes, diagnostics, measurements, instance selection, CAM toolpaths, and manufacturing exports such as STEP and G-code.

Install it by following the repository's AGENT-INSTALL.md instructions. The process covers prerequisites, cloning the repository, installing the FreeCAD addon, and registering the server with your agent. FreeCAD must then run with the AICopilot workbench loaded so the local bridge can accept connections.

CAM requires a current FreeCAD weekly development build. The project states that the Path workbench API changed incompatibly between FreeCAD 1.1 and the development series, while all non-CAM tools are supported on FreeCAD 1.1.x.

Use `list_freecad_instances` to see live processes and `select_freecad_instance` with a UUID or label to choose one. You can start another process with `spawn_freecad_instance`. A single live instance is selected automatically; when several exist, explicit selection is required.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFreeCAD MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/freecad-mcp?style=directory)](https://allmcps.com/mcp/freecad-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/freecad-mcp"><img src="https://allmcps.com/api/badge/freecad-mcp?style=directory" alt="FreeCAD MCP on AllMCPs" /></a>