Skip to content
Tresca

agentcad

MCP serverCommunity

A CAD command line and MCP server that runs build123d (or CadQuery) scripts, renders, measures and diffs them. By James Dillard.

199 starsUpdated 1 day agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
build123d, CadQuery
How it connects
Reads and writes files; the tool isn't needed
Access
Can modify models
Tool versions
Python 3.12 suggested; CadQuery through the optional extra
Operating systems
Not stated in its documentation
Needs a build123d licence
No
Transport
Local (stdio)
AI clients documented
Claude Code, Cursor, Windsurf
Licence
Apache-2.0
Language
Python

What it can do

  • Executes build123d scripts by default and keeps each run as a labelled version in the project.
  • Exports STEP, STL, GLB and OBJ, renders PNGs and reports geometric metrics, validation results and diffs between versions.
  • Imports STEP, STP and BREP files and returns inspection images.
  • Installs an agent guide (skill) into the project with agentcad skill install.

Limitations

  • CadQuery runs only through a compatibility extra with a heavier dependency chain.
  • JSON goes to stdout and diagnostics to stderr; agents should not merge the two.

Install

pip install agentcad[mcp]

Source: github.com/jdilla1277/agentcad#mcp-integration

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.