Repository avatar
AI Tools
v0.1.1
active

ares-commander

com.graebert/ares-commander

AI-powered DWG automation: create, edit and batch-process DWG drawings in ARES Commander.

Documentation

ARES MCP: AI-powered DWG automation

Let Claude, ChatGPT/Codex, Gemini, GitHub Copilot, Cursor and any other AI agent create, edit, check and batch-process real DWG drawings in ARES Commander, ARES Mechanical and ARES Electrical.

npm MCP Registry CI License: MIT

ARES 2027 SP2 has a built-in MCP server. Your AI assistant gets direct access to a professional DWG CAD engine:

  • Real, editable DWG. The result is layered 2D and 3D geometry, blocks, text and dimensions, not pictures.
  • Any input. Work from natural language, photos, PDFs or hand sketches.
  • Automation, not just assistance. Run batch jobs across drawing sets, extract data and check drawings against your standards. Then turn a working prompt into a repeatable ARES API pipeline.
  • Your choice of AI. It works with any MCP client, on Windows, macOS and Linux. Drawings stay on your machine.

→ See it in practice: DWG automation recipes · reference runs · video: AI for CAD: 7 DWG Projects · graebert.com/ai-cad


Editions

ARES CommanderARES MechanicalARES Electrical
2D/3D drafting, editing, blocks, attributes, layers✅✅✅
Images / PDFs / sketches → DWG✅✅✅
Batch processing, data extraction, QA checks✅✅✅
MCP Registry namecom.graebert/ares-commandercom.graebert/ares-mechanicalcom.graebert/ares-electrical
npm package (stdio clients)@graebert/ares-mcp@graebert/ares-mechanical-mcp@graebert/ares-electrical-mcp
Claude Code pluginares@graebertares-mechanical@graebertares-electrical@graebert

ARES Commander, ARES Mechanical and ARES Electrical 2027 SP2 have the same built-in MCP server and tools. Each edition has its own connector with those tools: @graebert/ares-mcp (Commander), @graebert/ares-mechanical-mcp (Mechanical) and @graebert/ares-electrical-mcp (Electrical). The skills below work with all three.

The full, generated list of tools is in docs/TOOLS.md.


Quick start

1. Start the MCP server in ARES

Open ARES Commander, ARES Mechanical or ARES Electrical (2027 SP2) and type on the command line:

CommandWhat it does
MCPSTARTStarts the MCP server, by default at http://localhost:19400/mcp
MCPSTATUSShows whether it is running and on which address
MCPSTOPStops it

2. Connect your AI assistant: pick yours below. ARES must be running while you use it.

Using a different port. If port 19400 is taken, or you want another one, use MCPSTART with another port. Then use the address MCPSTATUS shows wherever this guide says http://localhost:19400/mcp. For the connector, set ARES_MCP_PORT=<port> (or --port <port>).

3. Try a recipe, or simply:

Draw a 6 × 4 m room with 24 cm walls on a layer called Walls, add a 90 cm door centred in the south wall and dimension the outside.


Connect your assistant

The address is http://localhost:19400/mcp by default. If you changed the port, use your port instead. Clients that only start local programs (stdio) use the connector package for your edition: @graebert/ares-mcp (Commander), @graebert/ares-mechanical-mcp (Mechanical) or @graebert/ares-electrical-mcp (Electrical).

Claude Code (recommended: plugin with DWG automation skills)
/plugin marketplace add graebertgmbh/ares-mcp
/plugin install ares@graebert

For ARES Mechanical, install ares-mechanical@graebert; for ARES Electrical, ares-electrical@graebert. Each plugin installs the connection to its edition plus the agent skills for DWG automation. To install the connection only:

claude mcp add --scope user --transport http ares http://localhost:19400/mcp
Claude Desktop

One-click: download the .mcpb for your edition, ares-commander-mcp-<version>.mcpb, ares-mechanical-mcp-<version>.mcpb or ares-electrical-mcp-<version>.mcpb, from the latest release. Then double-click it (or drag it into Settings → Extensions).

Or manually: Settings → Developer → Edit Config (claude_desktop_config.json):

{
  "mcpServers": {
    "ares": { "command": "npx", "args": ["-y", "@graebert/ares-mcp"] }
  }
}

For ARES Mechanical, use @graebert/ares-mechanical-mcp; for ARES Electrical, @graebert/ares-electrical-mcp. Restart Claude Desktop afterwards. Requires Node.js 20+ (the .mcpb does not).

OpenAI Codex (CLI, IDE extension, app)

~/.codex/config.toml:

[mcp_servers.ares]
url = "http://localhost:19400/mcp"
enabled = true
VS Code / GitHub Copilot

Install in VS Code

Or .vscode/mcp.json / user mcp.json:

{ "servers": { "ares": { "type": "http", "url": "http://localhost:19400/mcp" } } }
Cursor

Install in Cursor

Or ~/.cursor/mcp.json:

{ "mcpServers": { "ares": { "url": "http://localhost:19400/mcp" } } }
Windsurf

~/.codeium/windsurf/mcp_config.json:

{ "mcpServers": { "ares": { "serverUrl": "http://localhost:19400/mcp" } } }
Gemini CLI

~/.gemini/settings.json:

{ "mcpServers": { "ares": { "httpUrl": "http://localhost:19400/mcp" } } }
Google Antigravity, Microsoft Copilot and any other MCP client

If the client accepts an HTTP/Streamable-HTTP URL, use http://localhost:19400/mcp. Otherwise use the stdio connector:

{ "mcpServers": { "ares": { "command": "npx", "args": ["-y", "@graebert/ares-mcp"] } } }

ChatGPT, Claude.ai or Gemini in the browser? Web assistants can't reach a server on your own computer. An MCP server for web assistants is planned for ARES Kudo.


Agent skills

Skills teach your AI agent how CAD professionals do a job, not just which buttons exist. With a skill installed, a short request like "bring these layers in line with our standard" gets a careful, checked and repeatable result.

SkillUse it for
ares-dwg-automationFoundation: plan, protect originals, verify each step, batch safely
ares-sketch-to-dwgPhoto, scan, PDF or hand sketch → editable, dimensioned DWG
ares-layer-standardsClean up layers and apply a CAD layer standard
ares-title-block-batchRevision, date and approver updates across drawing sets
ares-attribute-extractionSchedules, equipment lists, part data → CSV/Excel
ares-drawing-qaPre-issue quality check against your standards
ares-prompt-to-pipelineTurn a successful agent run into a repeatable ARES API script

Install:

  • Claude Code: included in the plugin for your edition (ares, ares-mechanical or ares-electrical @graebert).
  • Claude.ai / Claude Desktop: download the skill .zip files from the latest release and upload them under Settings → Capabilities → Skills.
  • Other agents that support SKILL.md: copy the skill folders into the agent's skills directory.

Skills are plain Markdown. Adapt them to your company standards, or contribute improvements.

From prompt to pipeline

Use MCP to work out a job interactively. When it works, ask the agent to turn the run into a script against the ARES API, so it runs unattended and gives the same result every time.

How it works

 AI assistant ──MCP (HTTP)──▶  ARES Commander / Mechanical / Electrical  ──▶  your DWG
 (Claude, Codex, Copilot…)     built-in MCP server
                               localhost:19400/mcp (default port)

 stdio-only clients ──▶ ares-mcp connector (this repo) ──▶ same endpoint
  • The MCP server runs inside ARES on your computer. Drawings stay local. Your AI assistant sees only what its tool calls return.
  • It listens on localhost, so it is reachable only from your own machine.
  • It only runs after MCPSTART, and MCPSTOP ends it.

Troubleshooting

SymptomFix
"ARES … is not reachable"ARES isn't running or the MCP server isn't started. Run MCPSTART, then check with MCPSTATUS.
Assistant shows no ARES toolsRestart the assistant after editing its config. In Claude Code, run /mcp to check.
Port 19400 already in useStart the server on another port and use the address shown by MCPSTATUS in your client (connector: ARES_MCP_PORT=<port>).
Claude Desktop: npx not foundInstall Node.js 20+ or use the .mcpb one-click extension.
Stopped working after restarting ARESRun MCPSTART again. The connector reconnects automatically. HTTP clients may need a reconnect (/mcp in Claude Code).

The ares-mcp connector

A small single-file stdio ↔ HTTP connector (MIT, built on the official MCP SDK). It forwards MCP messages unchanged to the local ARES endpoint and adds:

  • clear error messages that explain how to fix things
  • an optional wait for ARES at start-up
  • automatic session recovery when ARES is restarted
OptionEnvDefault
--urlARES_MCP_URLhttp://localhost:19400/mcp
--portARES_MCP_PORT19400
--wait (seconds)ARES_MCP_WAIT15
--verboseARES_MCP_VERBOSE=1off

Support & feedback

License

The connector, skills and recipes in this repository are MIT. ARES Commander, ARES Mechanical, ARES Electrical and their built-in MCP servers are commercial products of Graebert GmbH. A free trial is available at graebert.com.

ARES®, ARES® Commander, ARES® Touch, ARES® Kudo, ARES® Map, ARES® Mechanical and SiteMaster™ are trademarks or registered trademarks of Graebert GmbH.

NPM
@graebert/ares-mcp
Install Command
npm install @graebert/ares-mcp
MCPB
https://github.com/graebertgmbh/ares-mcp/releases/download/v0.1.1/ares-commander-mcp-0.1.1.mcpb
Install Command
# mcpb: https://github.com/graebertgmbh/ares-mcp/releases/download/v0.1.1/ares-commander-mcp-0.1.1.mcpb