1. Conduid
  2. Science
  3. Agentcad
MCP server · Science

Agentcad

CAD CLI and MCP server for AI agents

Unclaimed Apache-2.0 ai-agentsbuild123dcadcadquerymcp
79Good

Scored 8 hours ago · breakdown

About Agentcad

Agentcad is an MCP server published by jdilla1277 in the Science category: cAD CLI and MCP server for AI agents. Conduid read 35 tools from its source: changes_compare, changes_list, changes_repair, changes_restore, changes_show, check_spec and 29 more. It is published to PyPI as agentcad and runs with uvx.

The repository has 230 stars and 26 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.8.0 (13 Nov 2026): Thanks to Wei Chen (@cw-jlu) and Shuting Xu (@waibiancheng520) for making failed MCP commands easier to diagnose. It follows v0.7.2 (6 Nov 2026), and the 5 most recent releases go back to v0.6.0 (11 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include build123d, cad and cadquery.

Install

uvx
uvx agentcad
pip
pip install agentcad
From source
git clone https://github.com/jdilla1277/agentcad

Tools (35)

changes_compareCompare exact retained revisions' saved measurements, checks and policies.
ParameterTypeDescription
baseline *string
build_dirstring
cwd *string
experimental_changesboolean
revision *string
changes_listRead retained CAD attempts, including failures and interrupted work.
ParameterTypeDescription
beforestring
build_dirstring
cwd *string
experimental_changesboolean
limitinteger
changes_repairExecute edited Python CAD source as NEW STAGED work linked to a revision.
ParameterTypeDescription
build_dirstring
cwd *string
experimental_changesboolean
idempotency_key *string
labelstring
paramsstring
revisionstring
sourcestring
statusboolean
changes_restoreRestore verified saved source/model/artifacts as NEW STAGED work.
ParameterTypeDescription
build_dirstring
cwd *string
experimental_changesboolean
idempotency_key *string
labelstring
revisionstring
statusboolean
changes_showRead a retained revision's verified source, geometry, checks and diagnostics.
ParameterTypeDescription
build_dirstring
cwd *string
experimental_changesboolean
revision *string
check_specCheck a file/spec or inspect a retained revision's pinned check receipt.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
completebooleanComplete deferred checks and settle the original automatic acceptance if still current. Staged/superseded work stays unaccepted. current_advanced reports a fresh acceptance; promotion is its durable decision, separate from passed/validation_state. Reads are read-only.
cwdstringSource project directory (or a subdirectory); defaults to current.
experimental_changesboolean
file *stringSTEP/STP/BREP path, or a returned retained revision ID.
spec_filestringJSON cylindrical-feature spec for file checks. Omit for a retained revision: its requirements are already pinned.
cloud_activityRead account-owned cloud job activity, newest first. Use next_cursor for another page, limit 1–100.
ParameterTypeDescription
cursorstring
limitinteger
cloud_check_specUpload one explicit JSON spec (at most 256 KiB); returns a verification job.
ParameterTypeDescription
cwdstring
idempotency_keystring
project *string
spec_file *string
version *integer
cloud_create_projectCreate an account-owned cloud project. Runtime is build123d or cadquery.
ParameterTypeDescription
name *string
runtimestring
cloud_diffCompare two stored versions in one cloud project; returns a job.
ParameterTypeDescription
from_version *integer
idempotency_keystring
project *string
to_version *integer
cloud_downloadDownload a private STEP, PNG, JSON report, or exported mesh to a local file.
ParameterTypeDescription
cwdstring
destination *string
jobstring
kindstring
overwriteboolean
pathstring
project *string
versioninteger
cloud_exportExport a saved cloud version to whole-model meshes without rebuilding CAD.
ParameterTypeDescription
formats *array
idempotency_keystring
project *string
version *integer
cloud_importUpload one explicit .step/.stp file (at most 20 MiB) to a cloud project.
ParameterTypeDescription
cwdstring
file *string
idempotency_keystring
project *string
cloud_inspectInspect a stored cloud version; returns a job to poll with cloud_job.
ParameterTypeDescription
idempotency_keystring
idsboolean
limitinteger
project *string
summaryboolean
validate_onlyboolean
version *integer
cloud_jobRead a cloud job and, when complete, its nested result or measurement.
ParameterTypeDescription
job *string
project *string
wait_secondsinteger
cloud_measureRead stored cloud-version measurements using returned project/version IDs.
ParameterTypeDescription
project *string
version *integer
cloud_projectRead a returned cloud project ID and its version count.
ParameterTypeDescription
project *string
cloud_projectsList cloud projects owned by the configured API account.
cloud_renderRequest the fixed 800x600 isometric PNG of a cloud version; returns a job.
ParameterTypeDescription
idempotency_keystring
project *string
version *integer
cloud_runUpload one explicit UTF-8 .py CAD script (at most 256 KiB) to a cloud project.
ParameterTypeDescription
cwdstring
export_glbboolean
idempotency_keystring
label *string
project *string
script *string
contextShow project state, including interrupted-version recovery candidates.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Initialize this root first.
cwd *stringSource project directory (or a subdirectory).
experimental_changesboolean
diffCompare two versions by number or label.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
ref1 *stringFirst version reference (number or label).
ref2 *stringSecond version reference (number or label).
docsShow build123d documentation, or explicit CadQuery compatibility docs.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only.
cwdstringOptional source project directory for runtime-aware documentation.
runtimestringOptional runtime override. Pass ``cadquery`` to retrieve the same compatibility docs as ``agentcad docs --runtime cadquery``.
sectionstringOptional section name (quickstart, commands, helpers, patterns, etc).
exportExport a STEP file to mesh formats (stl, glb, obj).
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
formats *stringComma-separated formats (stl, glb, obj).
step_file *stringPath to the STEP file.
feedbackRecord local feedback; no input returns guided questions/template without sending.
ParameterTypeDescription
build_dirstring
cwdstring
diagnosticsboolean
local_onlyboolean
max_entriesinteger
messagestring
reportstring
reviewed_payloadobject
sendboolean
import_cadImport a local STEP/STP/BREP baseline with inspection images and measured IDs.
ParameterTypeDescription
build_dirstring
checks_filestring
context_windowinteger
cwd *string
defer_checksboolean
diffboolean
experimental_changesboolean
experimental_inspectboolean
file *string
full_responseboolean
idempotency_keystring
image_budgetinteger
initializeboolean
inspection_backgroundboolean
inspection_wait_timeoutnumber
labelstring
max_imagesinteger
reportboolean
report_imagesboolean
response_budgetinteger
response_text_budgetinteger
runtimestring
stageboolean
text_budgetinteger
validation_profilestring
viewboolean
vision_profileobject
inspectInspect topology of a STEP file (solids, shells, faces, edges, validity).
ParameterTypeDescription
artifactstringRead saved bytes over this tool: "manifest", "baseline", or an exact returned inventory/image path. Requires the original file/build_dir. Returns bounded base64 chunks with full SHA-256 and next.mcp arguments; no client filesystem access, CAD work or regeneration. Cannot combine with geometry/report/image/job controls. Existing --image attaches PNGs.
artifact_bytesintegerMaximum raw chunk bytes, 1..49152, default 3072. Encoding adds about one third; these explicit reads have no report token budget.
artifact_expires_atstringRetained-artifact expiry from the first chunk; required on its continuations. Generated next actions pin both hash and expiry.
artifact_offsetintegerByte offset; nonzero requires artifact_sha256 from first chunk.
artifact_sha256stringRequire the full file's returned SHA-256 on each continuation. Reject changed, expired, evicted or wrong-baseline evidence explicitly.
backgroundbooleanStart report in a detached local worker; return inspection_job.
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
context_windowintegerDerive a 5% combined response target from caller context tokens.
cwd *stringSource project directory (or a subdirectory).
entity_idstringRetrieve one typed ID from an imported or run-generated baseline's geometry manifest.
experimental_inspectboolean
file *stringPath to the STEP file.
full_responsebooleanSkip whole-response compaction; a plain report has its previous flat shape. Report preparation limits still apply. Cannot combine with caller budgets. Harmless for already-unbounded ID lookups.
idsbooleanInclude per-feature ID lists.
imagebooleanReturn a labeled four-view PNG attachment plus its JSON record.
image_budgetintegerInline image-token limit. Without vision_profile, omit constrained images.
isolatebooleanShow only the selected entity; requires image and entity_id.
job_actionstringstatus, wait (default with job_id), resume or cancel. Requires job_id/report. Cancellation stops between stages and preserves completed artifacts.
job_idstringSaved inspection job for this file. Uses its original image configuration.
limitintegerOptional maximum records per ID list and IDs per summary cluster.
max_imagesintegerMaximum distinct report images, 0..9; overall then alternating part/face-edge samples.
no_limitbooleanReturn complete ID lists. Can be very large.
reportbooleanReturn nested inspection plus a whole-response delivery audit, defaulting to 2000 estimated text tokens, and ranked image samples. retention reports the 30-day/512 MiB cache policy, expiry and protected checkpoint bytes. Configure [inspection.cache] in agentcad.toml. Expired job results fail explicitly with a fresh inspection action; resource_limit jobs stop and can resume after raising their quota.
report_imagesbooleanPrepare/deliver report images; false keeps the same analysis without images.
response_budgetintegerOverride that target with a combined JSON/image estimated limit.
response_snapshotstringRetrieve a complete saved delivery response with report=True, without CAD work. Returns historical_response; current never advances. References report expiry and possible earlier byte-quota eviction. Default retention is 30 days/64 MiB per build root; configure [inspection.snapshots] in agentcad.toml. Expired or evicted evidence fails explicitly with a fresh inspection action, never a substituted report.
response_text_budgetintegerBound complete JSON text; default is combined limit when known, otherwise 2000, including when no caller options are supplied. text_budget separately bounds report preparation.
summarybooleanInclude compact face/edge clusters.
text_budgetintegerEstimated token allowance for the report JSON (compact UTF-8 bytes / 3).
vision_profileobjectCaller estimate {name: "host", tokens_per_image: 1000} per 1024-square sheet. Inspect delivery fields for applied estimates/omissions.
wait_timeoutnumberSeconds to wait for report; deadline does not cancel its worker.
measureMeasure dimensions and feature sizes in a STEP/BREP file.
ParameterTypeDescription
axisstringOptional axis filter (+x, -x, +y, -y, +z, -z, other).
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
cylinders_onlybooleanReturn only cylindrical feature buckets and core metrics.
diameternumberOptional cylindrical feature diameter filter.
featuresbooleanInclude full per-solid, per-face, and per-edge measurement lists.
file *stringPath to the STEP/STP/BREP file.
limitintegerOptional maximum records per feature list.
no_limitbooleanReturn complete feature lists. Can be very large.
tolerancenumberDiameter tolerance used with diameter.
promoteAccept an exact saved CAD revision or read its durable operation status.
ParameterTypeDescription
build_dirstring
cwd *string
experimental_changesboolean
idempotency_key *string
revisionstring
statusboolean
targetstring
recoverValidate and reconcile an interrupted version directory safely.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
experimental_changesboolean
make_currentbooleanExplicitly make the recovered successful version current.
version_dir *stringDirect version directory name reported by context.
renderRender PNG views of an existing STEP file.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
focusstringCamera focus point as x,y,z.
highlightstringUse "validation" to mark failing edges/vertices in red and return the report.
namestringOutput name label.
no_fitbooleanSkip FitAll (requires focus).
step_file *stringPath to the STEP file.
view *stringView spec (front,right,iso,all or custom angle az:el).
zoomnumberZoom factor.
runExecute a build123d script and produce a versioned STEP file with metrics.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Initialize this root first.
checks_filestringOptional JSON dimension/preservation requirements. Repairs inherit the selected policy when omitted. See docs check-spec.
cwd *stringSource project directory (or a subdirectory).
defer_checksbooleanRetain pending declared checks instead of evaluating them now. Complete with check_spec(revision_id, complete=True); completion accepts a still-current normal-run intent if checks pass. Staged or superseded work stays unaccepted; reads never change current.
diffbooleanCompare automatically with the prior successful version. Pass False to skip it; explicit diff remains available.
dry_runbooleanCompute metrics without creating a version.
experimental_changesboolean
experimental_inspectboolean
exportstringComma-separated mesh formats (stl, glb, obj).
idempotency_keystringSave before sending. Identical source/options replay the original result without execution. Edits need a new key. Use run_status with only key/cwd/build_dir after source changes/removal.
outputstringLabel for this version. Required unless dry_run is True.
paramsstringParameter overrides as key=value,key=value.
previewbooleanRender a quick 256x256 iso preview. Default True — pass False to suppress.
renderstringComma-separated views to render (front,right,top,iso,all).
script *stringPath to the Python CAD script.
stagebooleanSave and check a candidate without accepting it. Open the saved revision with view, then use promote to accept exact saved bytes. Render/export diagnostics separately from change.geometry.
viewbooleanOpen or reuse the live project viewer. Share project_viewer.url with the human for automatic updates; viewer is a fixed snapshot. Pass False with preview=False and diff=False to also bypass viewer generation on the core-only fast path.
run_statusRead the original authored run by key without executing source or selecting work.
ParameterTypeDescription
build_dirstring
cwd *string
experimental_changesboolean
experimental_inspectboolean
idempotency_key *string
viewOpen a GLB, STEP, or retained revision in the browser via three.js.
ParameterTypeDescription
build_dirstringOptional artifact/history root, relative to the project root. Overrides agentcad.toml for this call only. Use returned artifact paths.
cwd *stringSource project directory (or a subdirectory).
experimental_changesboolean
file *stringGLB/STEP path, or retained revision ID to review its diagnostic geometry and check receipt without changing current. Its response includes an immutable file URL and project_viewer.url, pinned to that revision. The human can explicitly switch back to Follow working.
validationbooleanShow failure markers and conditional repair guidance for a STEP file.
viewerOpen/follow a project, read viewer state, or stop the local service.
ParameterTypeDescription
actionstring
build_dirstring
cwd *string
experimental_changesboolean
revisionstring

Security checks

  • ✓README presentThe repository's README runs to about 3.2K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionScanned 106 source files and found 1 call to eval or shell execution, in src/agentcad/runners/build123d.py. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v0.8.0v0.8.0: See the face before you edit it · 13 Nov 2026Thanks to Wei Chen (@cw-jlu) and Shuting Xu (@waibiancheng520) for making failed MCP commands easier to diagnose. Give your agent an existing STEP file. Inspect shows the part from four angles, labels faces and edges, and highlights the…
v0.7.2v0.7.2 — Retry builds without creating duplicate versions · 6 Nov 2026This release fixes project mix-ups in the daemon and Windows text corruption. It also adds ways to recover interrupted work and choose when a checked model becomes the current version. Fixed Commands sent through the daemon now use the…
v0.7.1v0.7.1 — Comments in the live viewer · 30 Oct 2026AgentCAD v0.7.1 — Comments in the live viewer This release brings part-linked review comments to the installed live viewer, along with easier camera navigation and the inspection and MCP improvements merged since 0.7.0. What's new Comments…
v0.7.0v0.7.0 — Candidate L five-stage workflow · 14 Oct 2026AgentCAD v0.7.0 — Candidate L This release brings the five-stage Inspect → Specify → Build → Validate → Deliver workflow to AgentCAD's installed skill, built-in help, and README for both new models and edits. It also includes the…
v0.6.0v0.6.0 — build123d-only default install · 11 Sep 2026The default install is now build123d only, and every geometry command reports the same deliverable verdict on the file it actually wrote. Breaking change: CadQuery is an optional extra `pip install agentcad` no longer installs CadQuery,…

README

The repository's README runs to about 3.2K words, fetched 13 days ago. The original in the repository is authoritative.

Read full README
Questions

About Agentcad

How do I install Agentcad?

Run uvx agentcad, then add the server to your MCP client's configuration.

Is Agentcad safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agentcad still maintained?

Yes — the latest release is v0.8.0 (13 Nov 2026), and the last commit was yesterday. The repository has 230 stars and 47 open issues.

What tools does Agentcad provide?

Conduid read 35 tools from the source: changes_compare, changes_list, changes_repair, changes_restore, changes_show, check_spec, cloud_activity, cloud_check_spec and 27 more. 34 of them publish their parameters, listed under Tools above.

What license is Agentcad released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.8.0, as well.