# FreeCAD MCP Server: Which One to Install (2026)
> Four FreeCAD MCP servers compared: neka-nat, MCP Bridge, blwfish and sandraschi. Trust models, tool counts and setup for Claude, Cursor and Codex.
Canonical: https://www.mcpfolio.com/articles/freecad-mcp-server
Last updated: 2026-11-21
## 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.

[neka-nat](https://www.mcpfolio.com/articles/freecad-mcp-server#neka) · [MCP Bridge](https://www.mcpfolio.com/articles/freecad-mcp-server#mcp-bridge) · [blwfish and sandraschi](https://www.mcpfolio.com/articles/freecad-mcp-server#others) · [Client configs](https://www.mcpfolio.com/articles/freecad-mcp-server#neka-claude-code)



- You want the most-used server and typed tools for objects, screenshots and FEM: neka-nat's freecad-mcp (about 3,400 GitHub stars).

- You want to approve each script before it runs: MCP Bridge. Its default Ask mode shows the code in a dialog first.

- You do CNC or CAM work, or want the largest tool set: blwfish's freecad-mcp (41 tools by its own agent guide).

- You want headless pipelines, simulation or a web dashboard instead of a FreeCAD window: sandraschi's freecad-mcp.

## 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](https://github.com/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](https://github.com/CREATeNG/freecad-mcp-bridge) (MCP Bridge, 34 stars) | An MCP server runs inside FreeCAD over Streamable HTTP at 127.0.0.1:39280, with a bearer token. | 3 (execute_python, execute_python_file, get_output_page) | FreeCAD only. No binaries or external dependencies. | Nov 16, 2026 |
| [blwfish/freecad-mcp](https://github.com/blwfish/freecad-mcp) (69 stars) | An AICopilot workbench runs a socket server in FreeCAD. A Python bridge speaks MCP over stdio. | 41 per its agent guide. Its README text still says 32. | FreeCAD 1.1.x. Python 3.11 or newer for the bridge. CAM needs a FreeCAD development build. | Nov 16, 2026 |
| [sandraschi/freecad-mcp](https://github.com/sandraschi/freecad-mcp) (34 stars) | A standalone server with a REST API and web dashboard that drives FreeCAD, also headless. MCP on port 10944. | Not counted | FreeCAD 1.1.1 or newer. Python 3.12 or newer. A Windows installer and an .mcpb bundle. | Nov 6, 2026 |



- Two older projects, bonninr/freecad_mcp (about 230 stars, last push March 2025) and contextform/freecad-mcp (about 140, August 2025), have not been updated recently. Check before using either.

- Naming trap: several projects are called freecad-mcp. On PyPI, freecad-mcp is neka-nat's server, and the uvx freecad-mcp command in this guide installs that one. sandraschi's project uses the same name in its own metadata but ships as an installer and bundle.

## 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 execute_python_file. | You. In Ask mode (the default) FreeCAD shows the code in a dialog first. An Unrestricted mode exists. | 127.0.0.1:39280, only while you switch it on. | Every listener needs a bearer token. FreeCAD stores a SHA-256 hash of it. Each run is one Undo step. Optional HTTPS with certificate pinning. |
| blwfish | Yes, through execute_python. Its SECURITY.md says this is by design. | Nobody. Single-user local use only. | A Unix socket named /tmp/freecad_mcp_<id>.sock | Checks GitHub once a day for updates and logs each check. Warns that a malicious document could carry instructions to the agent. |
| sandraschi | Not checked. Its tools and REST API run FreeCAD, simulation and conversion jobs. | Not stated in what we read | MCP and REST on port 10944, dashboard on 10945. | The Windows installer is unsigned and shows a SmartScreen warning. |

## 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, get_objects, get_object, get_parts_list, insert_part_from_library, list_documents, reload_document, get_rpc_status and run_fem_analysis. We did not connect it to FreeCAD.



- Only the Claude Desktop JSON is shown in the project's README. The Claude Code, Cursor and Codex versions follow each client's documented stdio format and were not run by us.

- Add --only-text-feedback to the args to leave screenshots out of tool results.

- freecad-mcp --transport streamable-http serves http://127.0.0.1:8000/mcp for clients that want an HTTP URL. That URL is separate from FreeCAD's own RPC listener on port 9875, which is not an MCP URL.



1. Install FreeCAD 1.1 (1.1.4 is current on Homebrew) and uv.

2. Clone github.com/neka-nat/freecad-mcp and copy the addon/FreeCADMCP folder into FreeCAD's Mod folder. The result must be Mod/FreeCADMCP/InitGui.py. Do not copy the whole repository.

3. Find the folder from FreeCAD's Python console: print(os.path.join(FreeCAD.getUserAppDataDir(), "Mod")). On macOS with FreeCAD 1.1 it is ~/Library/Application Support/FreeCAD/v1-1/Mod/. On Windows it is %APPDATA%\FreeCAD\v1-1\Mod\.

4. Restart FreeCAD, switch to the MCP Addon workbench and start the server from the FreeCAD MCP menu. Tick Auto-Start Server if you want it to start every time.

5. Add the server to your client with one of the configs below, restart the client, and ask it to list the open documents.

**Claude Code**

```
claude mcp add freecad -- uvx freecad-mcp
```

**Claude Desktop, Cursor (mcp.json)**

```
{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": ["freecad-mcp"]
    }
  }
}
```

**Codex (~/.codex/config.toml)**

```
[mcp_servers.freecad]
command = "uvx"
args = ["freecad-mcp"]
```

## 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.



1. Install MCP Bridge from FreeCAD's Addon Manager and restart FreeCAD.

2. 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.

3. Switch the bridge on from the status bar or the toolbar. The first start asks you to accept that the connected agent can run code with your permissions. FreeCAD then reports that it is listening on 127.0.0.1:39280.

4. In Ask mode, which is the default, each script appears in a dialog before it runs. Each run is one step in Edit, Undo.

5. Connect your client with the config below. Claude Desktop users can install the project's .mcpb bundle from its releases page instead.

**Claude Code (replace the token)**

```
claude mcp add --transport http freecad http://127.0.0.1:39280/mcp \
  --header "Authorization: Bearer <your-token>"
```

**Cursor (mcp.json)**

```
{
  "mcpServers": {
    "freecad": {
      "url": "http://127.0.0.1:39280/mcp",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}
```

## 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](https://www.mcpfolio.com/articles/inkscape-mcp-server).

## 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.

**Build and measure in FreeCAD's Python console (not run by us)**

```
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.0
```

## Troubleshooting

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_BUSY from 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

- [neka-nat/freecad-mcp README and docs](https://github.com/neka-nat/freecad-mcp)
- [freecad-mcp on PyPI](https://pypi.org/project/freecad-mcp/)
- [neka-nat configuration: remote connections and auth token](https://github.com/neka-nat/freecad-mcp/blob/main/docs/configuration.md)
- [MCP Bridge for FreeCAD (CREATeNG)](https://github.com/CREATeNG/freecad-mcp-bridge)
- [MCP Bridge security policy](https://github.com/CREATeNG/freecad-mcp-bridge/blob/release/SECURITY.md)
- [blwfish/freecad-mcp README](https://github.com/blwfish/freecad-mcp)
- [blwfish/freecad-mcp security model](https://github.com/blwfish/freecad-mcp/blob/main/SECURITY.md)
- [sandraschi/freecad-mcp](https://github.com/sandraschi/freecad-mcp)
- [FreeCAD downloads](https://www.freecad.org/downloads.php)


## Related

- [blender-lab-official-mcp](https://www.mcpfolio.com/servers/blender-lab-official-mcp)
- [godot](https://www.mcpfolio.com/servers/godot)