Skip to main content
Glama
README.md
# autobat-v3

Minimal FastMCP server for AutoCAD automation via COM (Windows only).

## Requirements

- Python >= 3.10
- [uv](https://docs.astral.sh/uv/) for dependency management
- Windows with AutoCAD running

## Install

```bash
uv sync
```

## Run

```bash
uv run python server.py
```

## Tools

| Tool | Description |
|------|-------------|
| `ping` | Health check |
| `create_drawing` | Create a new empty drawing |
| `draw_line` | Draw a line from (x1,y1) to (x2,y2) |
| `draw_circle` | Draw a circle |
| `draw_rectangle` | Draw a rectangle |
| `draw_text` | Draw text |
| `get_drawing_info` | Entity count and details |
| `zoom_extents` | Zoom to extents |
| `save_drawing` | Save DWG to disk |

## MCP Agent Setup

```json
{
  "mcpServers": {
    "autobat-v3": {
      "command": "uv",
      "args": ["--directory", "C:/path/to/autobat-v3", "run", "python", "server.py"]
    }
  }
}
```

Or for Claude Code:

```bash
claude mcp add autobat-v3 -- uv --directory C:/path/to/autobat-v3 run python server.py
```

TDQS

B3.4/5.0

Scored across 46 tools

Disambiguation4/5

Most tools have clearly distinct purposes, and descriptions help differentiate similar ones (e.g., read_drawing vs get_drawing_info, query_entities vs find_nested). A few pairs like list_references vs list_library could be confused, but their descriptions resolve potential misselection.

Naming Consistency4/5

The majority follow a consistent verb_noun pattern (list_layers, create_drawing, draw_wall, etc.), with occasional nouns like 'placement_context' and 'entities_near' standing out. Overall, the naming is predictable and readable, with only minor deviations.

Tool Count2/5

With 46 tools, the set is significantly larger than the typical 3-15 range, and exceeds the 25-tool threshold for 'too many.' While each tool addresses a specific need, the sheer volume makes it heavy and difficult for an agent to navigate efficiently.

Completeness4/5

The surface covers the core CAD workflow thoroughly: creating, opening, saving, reading, transforming, and deleting entities, plus library management and specific Azcuy operations. Minor gaps exist (e.g., no explicit close_drawing or block redefinition), but they are not blocking and can be worked around.

Maintenance

ActivityMaintained
ResponsivenessSyncing