# build123d MCP

> build123d MCP is an open-source MCP server for engineering simulation. MCP server letting an AI build, render, measure and export 3D CAD models with build123d. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows
- **Repository:** https://github.com/pzfreo/build123d-mcp
- **MCP Registry name:** io.github.pzfreo/build123d-mcp
- **Categories:** [engineering simulation](https://ai-powered.com/categories/engineering-simulation), [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-23

## About

build123d-mcp is a toolbox for an LLM app, not a CAD program of its own. The assistant creates build123d models in small steps, renders previews, measures geometry, repairs mistakes and exports STEP, STL, SVG and DXF files, rather than writing a whole script blind. A suggested loop is build one feature, render or measure, validate, then export.

For imported STEP parts there is a feature-editing path: find_candidates lists recognised holes, interface_features suggests flat faces carrying holes, and edit_feature resizes a plain through hole, reporting predicted and measured volume change and registering the result only if checks pass. Counterbores, spotfaces and countersinks are refused and must be edited in execute(), then checked with compare and validate.

The README reports that on the public CADGenBench leaderboard in June 2026 it raised one model's score from 0.360 to 0.457 and CAD validity from 88% to 100%. It runs through uv on Python 3.11 to 3.14, mainly over stdio, with HTTP mode for self-hosting.

## Features

- **Incremental modelling:** Builds parts feature by feature with checks between steps.
- **Preview rendering:** Renders views so the model can see its work.
- **Measurement:** Reads dimensions and geometry from the model.
- **Multi-format export:** Exports STEP, STL, SVG and DXF.
- **Hole editing:** Resizes through holes on imported STEP parts with safety checks.
- **Validation:** Validates a result before export.

## Good for

- Create a mounting plate with holes from a text brief
- Resize a hole on an imported STEP part
- Export a part for 3D printing as STL
- Check a design's dimensions before exporting
- Try CAD generation in a GitHub Codespace

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add build123d-mcp -- uvx build123d-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "build123d-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "build123d-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add build123d-mcp -- uvx build123d-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user build123d-mcp uvx -- build123d-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "build123d-mcp": {
      "command": "uvx",
      "args": [
        "build123d-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 2 of 6 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `execute` (name suggests: changes): Run build123d code to build or modify geometry.
- `find_candidates` (name suggests: reads): List recognised feature candidates such as holes on an imported part.
- `interface_features`: Suggest flat faces carrying holes.
- `edit_feature` (name suggests: changes): Resize a plain through hole with predicted and measured volume change.
- `compare`: Compare shapes.
- `validate` (name suggests: reads): Validate the model before export.

## FAQ

### Is build123d MCP a CAD application?

No, it is a toolbox an AI app calls through MCP.

### What do I need?

uv and an MCP-capable AI app such as Claude Code, Cursor or VS Code.

### Which file formats can build123d MCP export?

STEP, STL, SVG and DXF.

### Does build123d MCP improve results?

The README says it raised a benchmark score from 0.360 to 0.457 in June 2026.

### Is build123d MCP free?

Yes. build123d MCP is open source, so you can use and self-host it for free.

### How do I add build123d MCP to Claude Code?

Run this command in your terminal: claude mcp add build123d-mcp -- uvx build123d-mcp

### What are the best alternatives to build123d MCP?

The closest alternatives to build123d MCP are HyperFrames by HeyGen, ffmpeg-skill, next-ai-draw-io, mcp-for-blender and cursor-talk-to-figma-mcp.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [next-ai-draw-io](https://ai-powered.com/mcp/next-ai-draw-io-2): next-ai-draw-io is an open-source MCP server for ai models and llm tooling.
- [mcp-for-blender](https://ai-powered.com/mcp/mcp-for-blender): mcp-for-blender is an open-source MCP server for design and media.
- [cursor-talk-to-figma-mcp](https://ai-powered.com/mcp/cursor-talk-to-figma-mcp): cursor-talk-to-figma-mcp is an open-source MCP server for design and media.
- [Audionaut](https://ai-powered.com/mcp/audionaut): Audionaut is an open-source MCP server for design and media.
- [Oh My Cassette](https://ai-powered.com/mcp/oh-my-cassette): Oh My Cassette is an MCP server for design and media.
- [MCP Aftereffects](https://ai-powered.com/mcp/mcp-aftereffects): MCP Aftereffects is an open-source MCP server for design and media.

---
Source: https://ai-powered.com/mcp/build123d-mcp
