Agentura MCP for FreeCAD

A free FreeCAD add-on that lets your Agentura agents work in FreeCAD on your own computer — build parametric parts, edit sketches and spreadsheets, measure models and export files.

Download the add-on

Version 1.0.0 · 61 KB · FreeCAD 1.0 or newer · Windows, macOS, Linux · checksum

What it does

The add-on runs a small MCP server inside FreeCAD. The AgenturaLocal app carries your agent's requests to it, so the agent uses FreeCAD's own modelling tools: documents, PartDesign bodies, sketches, booleans, spreadsheets, measurements, import and export, and screenshots of the 3D view. Every change is a single undo step, and every file stays on your computer.

Before you start

Install — the quick way

  1. Open FreeCAD and turn on View → Panels → Python console.
  2. Paste this line into the console and press Enter:
>>> import urllib.request as u; exec(u.urlopen(u.Request("https://agentura.ro/downloads/freecad/install.py", headers={"User-Agent": "FreeCAD"})).read())

It downloads version 1.0.0, checks its SHA-256, installs it into your FreeCAD Mod folder and starts the server. Lines starting with Agentura MCP: tell you how it went. Restart FreeCAD once to get the menu. Read the script first — you should, for anything you run from the internet.

Install — by hand

  1. Download AgenturaMCP-1.0.0.zip.
  2. Unzip it into FreeCAD's Mod folder, so that you end up with Mod/AgenturaMCP/package.xml. Create the Mod folder if it does not exist.
  3. Restart FreeCAD.
SystemMod folder (FreeCAD 1.1)
Windows%APPDATA%\FreeCAD\v1-1\Mod
macOS~/Library/Application Support/FreeCAD/v1-1/Mod
Linux~/.local/share/FreeCAD/v1-1/Mod

FreeCAD 1.0 uses the same folders without v1-1 (for example ~/.local/share/FreeCAD/Mod). To see yours, type FreeCAD.getUserAppDataDir() in the Python console — the Mod folder is inside it.

Check that it works

The server starts together with FreeCAD. Open Tools → Agentura MCP → Server status: it should say the server is running at http://127.0.0.1:31415/mcp. The same menu has Start server and Stop server. Then ask your agent to check its FreeCAD connection.

Security

Worth knowing. An agent works on the documents open in your FreeCAD, and files it saves or exports are real files on your computer. It asks before deleting objects, discarding changes or overwriting files, but save your own work first.

Advanced: without the FreeCAD window

The add-on also runs headless, for example on a workstation without a display:

$ freecadcmd -c "import agentura_mcp; agentura_mcp.serve_forever()"

Everything works except screenshots of the 3D view, which need the GUI.

If something goes wrong

Uninstall

Close FreeCAD, delete the AgenturaMCP folder from the Mod folder above, and deactivate the FreeCAD connector in the Marketplace if you no longer need it.