
ares-electrical
com.graebert/ares-electrical
AI-powered DWG automation: create, edit and batch-process DWG drawings in ARES Electrical.
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.
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 Commander | ARES Mechanical | ARES Electrical | |
|---|---|---|---|
| 2D/3D drafting, editing, blocks, attributes, layers | ✅ | ✅ | ✅ |
| Images / PDFs / sketches → DWG | ✅ | ✅ | ✅ |
| Batch processing, data extraction, QA checks | ✅ | ✅ | ✅ |
| MCP Registry name | com.graebert/ares-commander | com.graebert/ares-mechanical | com.graebert/ares-electrical |
| npm package (stdio clients) | @graebert/ares-mcp | @graebert/ares-mechanical-mcp | @graebert/ares-electrical-mcp |
| Claude Code plugin | ares@graebert | ares-mechanical@graebert | ares-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:
| Command | What it does |
|---|---|
MCPSTART | Starts the MCP server, by default at http://localhost:19400/mcp |
MCPSTATUS | Shows whether it is running and on which address |
MCPSTOP | Stops 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
Or .vscode/mcp.json / user mcp.json:
{ "servers": { "ares": { "type": "http", "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.
| Skill | Use it for |
|---|---|
ares-dwg-automation | Foundation: plan, protect originals, verify each step, batch safely |
ares-sketch-to-dwg | Photo, scan, PDF or hand sketch → editable, dimensioned DWG |
ares-layer-standards | Clean up layers and apply a CAD layer standard |
ares-title-block-batch | Revision, date and approver updates across drawing sets |
ares-attribute-extraction | Schedules, equipment lists, part data → CSV/Excel |
ares-drawing-qa | Pre-issue quality check against your standards |
ares-prompt-to-pipeline | Turn a successful agent run into a repeatable ARES API script |
Install:
- Claude Code: included in the plugin for your edition (
ares,ares-mechanicalorares-electrical@graebert). - Claude.ai / Claude Desktop: download the skill
.zipfiles 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, andMCPSTOPends it.
Troubleshooting
| Symptom | Fix |
|---|---|
| "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 tools | Restart the assistant after editing its config. In Claude Code, run /mcp to check. |
| Port 19400 already in use | Start the server on another port and use the address shown by MCPSTATUS in your client (connector: ARES_MCP_PORT=<port>). |
Claude Desktop: npx not found | Install Node.js 20+ or use the .mcpb one-click extension. |
| Stopped working after restarting ARES | Run 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
| Option | Env | Default |
|---|---|---|
--url | ARES_MCP_URL | http://localhost:19400/mcp |
--port | ARES_MCP_PORT | 19400 |
--wait (seconds) | ARES_MCP_WAIT | 15 |
--verbose | ARES_MCP_VERBOSE=1 | off |
Support & feedback
- 🐛 Problems connecting: open an issue
- 💡 Which DWG jobs should agents automate next? Contribute a recipe or open a feature request
- 🧾 ARES licensing and product support: help.graebert.com · Setup guide: Connect ARES Commander to AI Assistants
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.
@graebert/ares-electrical-mcpnpm install @graebert/ares-electrical-mcphttps://github.com/graebertgmbh/ares-mcp/releases/download/v0.1.1/ares-electrical-mcp-0.1.1.mcpb# mcpb: https://github.com/graebertgmbh/ares-mcp/releases/download/v0.1.1/ares-electrical-mcp-0.1.1.mcpb