# CAD Agent Foundation

> CAD Agent Foundation is an open-source MCP server for engineering simulation. AutoCAD bridge for agents with drawing binding, bounded native edits and verified saves. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, CLI
- **Repository:** https://github.com/capskov/cad-agent-foundation
- **MCP Registry name:** io.github.capskov/cad-agent-foundation
- **Categories:** [engineering simulation](https://ai-powered.com/categories/engineering-simulation), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The project grew out of road and civil-engineering drafting, where an agent needs to know which drawing it owns, whether a change already happened and whether retrying would duplicate it. It therefore adds an execution contract around each CAD operation: bind a drawing explicitly, record request ownership and state, query the original request after an uncertain reply, and verify object facts after writes and saves. It is built into a modified, pinned Bimwright DWG MCP host and uses a native .NET API.

Supported operations are bounded. They include layers, lines, circles, 2D polylines, associative hatches on a prior closed boundary, single-line and multiline text, linked callout groups, four dimension types, layer state management, and rotate, scale or copy of supported complete groups. Reads cover entity properties, digests, layer lists and filtered paging. The README lists what is not exposed, such as MLEADER, arbitrary editing, complex Booleans, and layout, plot or xref edits.

It requires a licensed Windows x64 AutoCAD 2026, the .NET 8 Desktop Runtime and Python 3.11 or newer, and ships as a beta MCPB bundle. The authors say no speed or productivity advantage has been established.

## Features

- **Drawing binding:** Explicitly binds the drawing the agent owns.
- **Request tracking:** Persists request ownership and lets the agent inspect uncertain requests.
- **Write and save verification:** Reads back object facts after writes and saves.
- **Native 2D operations:** Layers, lines, circles, polylines, hatches, text and callouts.
- **Dimensions and groups:** Four dimension types and group rotate, scale and copy.
- **Duplication guards:** Prevents replaying unknown writes.

## Good for

- Let an agent draw boundaries and callouts in AutoCAD
- Resume a long CAD session without duplicating edits
- Check what was written before saving
- Read entity properties from an open drawing

## Install

### Claude Code (Terminal)

```sh
claude mcp add cad-agent-foundation -- npx -y https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cad-agent-foundation": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cad-agent-foundation": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "cad-agent-foundation": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cad-agent-foundation": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cad-agent-foundation": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb"
      ]
    }
  }
}
```

## FAQ

### What do I need to run it?

Licensed Windows x64 AutoCAD 2026, .NET 8 Desktop Runtime and Python 3.11 or newer.

### Is it production ready?

It is a beta runtime preview, and compatibility with every AutoCAD update is not claimed.

### Does it edit everything?

No, MLEADER, arbitrary object editing, complex Booleans and layout or plot edits are not exposed.

### Can it replay unknown writes?

No, it has no automatic replay of unknown writes.

### Is CAD Agent Foundation free?

Yes. CAD Agent Foundation is open source, so you can use and self-host it for free.

### How do I add CAD Agent Foundation to Claude Code?

Run this command in your terminal: claude mcp add cad-agent-foundation -- npx -y https://github.com/capskov/cad-agent-foundation/releases/download/v1.2.0-beta.3/cad-agent-foundation-v1.2.0-beta.3-win-x64.mcpb

### What are the best alternatives to CAD Agent Foundation?

The closest alternatives to CAD Agent Foundation are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/cad-agent-foundation
