Short answer: pick the server by how much you trust the agent
FreeCAD has no official MCP server. At least four community projects connect an AI client to a running FreeCAD, and they differ in the one thing that matters most: what stands between the model and Python running with your permissions.
We did not install FreeCAD for this guide. The only thing we ran ourselves was the neka-nat server's tool list. Everything else comes from each project's own documentation and is labelled "docs only". Check the version and date on any command before you run it.
The four servers side by side
All four are community projects, and none is endorsed by the FreeCAD project. Star counts and dates are from GitHub on November 21, 2026.
| Server | How it connects | Tools | Needs | Updated |
|---|---|---|---|---|
| neka-nat/freecad-mcp (about 3,400 stars) | An addon starts an RPC server inside FreeCAD. A separate stdio MCP server, run with uvx, talks to it. | 18 (we measured this) | FreeCAD plus uv. The MCP server needs Python 3.12 or newer. | Nov 16, 2026 |
| CREATeNG/freecad-mcp-bridge (MCP Bridge, 34 stars) |
What each server lets the AI do: four trust models
Three of these (neka-nat, MCP Bridge and blwfish) run Python inside FreeCAD by design. That Python can read and write files and start programs as you. The difference is the gate in front of it. All of this is from each project's documentation. We did not test it.
| Server | Runs arbitrary Python | Who approves it | Listens on | Notes |
|---|---|---|---|---|
| neka-nat | Yes, through execute_code and execute_code_headless. | Nobody by default. The RPC server has no authentication unless you set a token. | localhost, port 9875. Remote use is off by default. | It refuses requests sent by web browsers. A token and an allow-list of IP addresses are optional. Traffic is never encrypted, so its docs suggest an SSH tunnel for remote use. |
| MCP Bridge | Yes, through execute_python and . |
Our take: choose the gate, then the tools
A CAD file is code to your agent. Object labels, macros and spreadsheet cells flow into the model's context, and blwfish's own security notes warn that a malicious document could carry instructions. So the gate matters more than the tool count.
- Open files you did not make only on a server that asks first. MCP Bridge is the only one of the four whose docs, as we read them, describe a per-script approval dialog.
- If you use neka-nat or blwfish, treat the session like a shell. Work on a copy, keep version control or a backup, and close FreeCAD when you are done.
- Set a token before you allow any remote connection to neka-nat, and prefer an SSH tunnel on a network you do not control.
- Count definition size, not tools. neka-nat's 18 tools take about 29,000 bytes of tool definitions (roughly 7,300 tokens by a bytes-divided-by-four estimate) on every turn. MCP Bridge's 3 tools should be much lighter (we did not measure it) but give up typed tools for objects, parts and FEM.
Set up neka-nat's freecad-mcp
This is the lead server by usage. It has two parts that use separate Python environments: an addon that runs inside FreeCAD with FreeCAD's own Python, and an MCP server that runs outside with Python 3.12 or newer. Do not install the freecad-mcp package into FreeCAD's Python. PyPI shows version 0.1.32, released November 16, 2026.
We ran uvx freecad-mcp from a Python MCP client and listed its tools. The server reported 18 tools: create_document, create_object, edit_object, delete_object, execute_code, execute_code_async, execute_code_headless, get_async_status, get_task_status, get_view, , , , , , , and . We did not connect it to FreeCAD.
Set up MCP Bridge (the approve-first option)
MCP Bridge is an addon, not a workbench, and it needs nothing outside FreeCAD. It runs an MCP server inside FreeCAD, and only while you toggle it on. It has three tools: execute_python, execute_python_file and get_output_page. This section is from the project's README and security notes, not our testing.
- The README documents Streamable HTTP, the URL and the Authorization header. The claude mcp add and Cursor wrappers follow those clients' documented formats and were not run by us.
- For a client that only runs stdio servers, the project ships a small Node.js shim (Node 18 or newer) in its mcp-stdio-shim folder.
- If you set your own certificate and key, every listener serves HTTPS and the URL changes to https.
- Install MCP Bridge from FreeCAD's Addon Manager and restart FreeCAD.
- Open Edit, Preferences, MCP Bridge and click Generate new token. FreeCAD shows the token once, so copy it and close the dialog, then click OK.
blwfish's freecad-mcp and sandraschi's freecad-mcp
blwfish's server has the widest tool set: 41 tools by its agent guide, covering parametric modeling, CNC and CAM toolpaths, mesh operations and diagnostics. It adds an AICopilot workbench to FreeCAD and a Python bridge you run with Python 3.11 or newer. The project suggests pointing your agent at its AGENT-INSTALL.md file and letting the agent do the install. If you prefer to see every step, read that file first. All tools except CAM work on FreeCAD 1.1.x. CAM needs a FreeCAD development build. The code is LGPL-2.1 and its author says it was built on a Mac with Claude Code.
sandraschi's server takes a different route. It runs as its own application with a REST API, an MCP endpoint on port 10944 and a web dashboard on port 10945, and it can work headless. It reaches into FEM, CFD, BIM and 3D-printing tools. Its Windows installer is unsigned, so expect a SmartScreen warning, and it needs FreeCAD 1.1.1 or newer. Pick it when you want pipelines rather than a conversation in an open FreeCAD window.
For editable SVG artwork instead of CAD geometry, see our Inkscape MCP setup and server comparison.
A part you can use to check your own setup
Ask your agent to build a bracket and then check the numbers yourself. The expected values below are calculated by hand, not taken from FreeCAD. We did not run the script, so treat it as a starting point.
The part is an 80 by 40 by 6 mm plate with an 80 by 6 by 30 mm flange standing on one edge, and four 7 mm holes through the plate at (10, 15), (70, 15), (10, 30) and (70, 30). Volume: 80 x 40 x 6 = 19,200 plus 80 x 6 x 30 = 14,400, minus four holes of pi x 3.5 x 3.5 x 6 = 230.91 each. The total is 32,676.37 cubic millimetres. The bounding box is 80 x 40 x 36 mm.
import FreeCAD as App, Part
doc = App.newDocument("Bracket")
body = Part.makeBox(80, 40, 6).fuse(Part.makeBox(80, 6, 30, App.Vector(0, 0, 6)))
for x, y in [(10, 15), (70, 15), (10, 30), (70, 30)]:
body = body.cut(Part.makeCylinder(3.5, 6, App.Vector(x, y, 0)))
obj = doc.addObject("Part::Feature", "Bracket")
obj.Shape = body
doc.recompute()
bb = obj.Shape.BoundBox
print(round(obj.Shape.Volume, 2), bb.XLength, bb.YLength, bb.ZLength)
# expect about 32676.37 80.0 40.0 36.0Troubleshooting
These come from the projects' own documentation.
- The workbench is missing after a restart (neka-nat): the folder must be Mod/FreeCADMCP with InitGui.py directly inside. Open View, Panels, Report view and read the addon import errors.
- The tools connect but nothing happens: neka-nat's RPC server does not start by itself unless Auto-Start Server is ticked. Start it from the FreeCAD MCP menu.
- The client cannot start uvx: GUI clients often do not inherit your terminal's PATH. Use the full path from which uvx.
- Python errors when starting the server: neka-nat's MCP server needs Python 3.12 or newer. FreeCAD's bundled Python is separate and can be 3.11.
SCRIPT_BUSYfrom neka-nat: only one script runs at a time on its shared namespace. Retry after the current one finishes.- A script hangs for MCP Bridge: in Ask mode it waits for you to answer the dialog. A long run returns a job token that you collect with
get_output_page. - Connecting from another machine: neka-nat needs Remote Connections, an Allowed IPs list and ideally a token. An SSH tunnel to port 9875 is safer.
Frequently asked questions
Is there an official FreeCAD MCP server?
No. The FreeCAD project does not publish one. The servers in this guide are community projects: neka-nat's freecad-mcp, MCP Bridge, blwfish's freecad-mcp and sandraschi's freecad-mcp.
Which FreeCAD MCP server is best?
It depends on the gate and the job. neka-nat's server is the most used and has typed tools. MCP Bridge asks you before each script runs. blwfish's server adds CAM and many more tools. sandraschi's server suits headless pipelines and simulation.
How do I connect FreeCAD to Claude?
Install a server's FreeCAD addon, start it, then add the server to your client. For neka-nat, run claude mcp add freecad -- uvx freecad-mcp for Claude Code, or use the JSON config in its README for Claude Desktop.
Is it safe to let an AI control FreeCAD?
Each of these servers can run Python with your permissions. Only MCP Bridge describes an approval dialog for each script. Work on copies, avoid opening files from people you do not trust, and keep the server on your own machine.
Does FreeCAD MCP work with Cursor and Codex?
Yes, in principle. neka-nat's server is a normal stdio server and MCP Bridge speaks Streamable HTTP. We did not run them in Cursor or Codex, so check each client's current MCP documentation.
Why does the FreeCAD tool connect but fail?
Usually the addon side is not running. Check that the addon loaded in FreeCAD's Report view, that the server is started, and that the client and the addon use the same port.
Do I need FreeCAD open for MCP to work?
For neka-nat, MCP Bridge and blwfish, yes: the addon runs inside FreeCAD. neka-nat can also run scripts headless through freecadcmd, and sandraschi's server is built for headless use.
Primary sources
Check the maintainer documentation for current setup steps, tool availability, and limitations.














