by Canary-ECAD
MCP server for EPLAN Electric P8: ~200 tools to drive EPLAN from Claude Code, Codex, Cursor or any MCP client (actions, scripts, live DataModel, exports). Includes the eplan-tools plugin marketplace.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/Canary-ECAD/eplan-mcpGuides for using ai agents skills like eplan-mcp.
English · Español · Deutsch · 中文 · 한국어 · Türkçe · Polski · Русский
AI-assisted automation for EPLAN Electric P8 and EPLAN EEC Pro 2026, built on the Model Context Protocol (MCP).
📖 Documentation, install guide and full tool reference: covaga.dev
This repository contains the local MCP server that drives a running EPLAN instance. The three remote documentation RAGs live in the separate eplan-cloudflare-rags repository.
Working with an LLM here? Read
llm.md— it describes, in LLM-facing terms, everything the toolkit can do and configure.
.
└── python/ # LOCAL: MCP server that controls EPLAN P8
| Component | Type | Purpose | EPLAN product |
|---|---|---|---|
python/ |
Local Python MCP | Drive a running EPLAN instance from Claude: open/close projects, exports, reports, scripts | EPLAN Electric P8 |
| eplan-cloudflare-rags | Remote Cloudflare Workers, separate repository | Serve the P8 2026, P8 2027 and EEC Pro documentation over MCP and REST | EPLAN Electric P8 and EEC Pro |
| eplan-scripting-skill | Claude Code skill, separate repository | Teach Claude to write correct EPLAN scripts, API code and Remote Client apps | EPLAN Electric P8 |
Each repository carries its own README with installation and usage details.
MCP (Model Context Protocol) is an open standard that lets AI assistants interact with external tools and services. Rather than only generating code, Claude can execute actions inside EPLAN in real time and consult the documentation through search.
python YOURPATH/python/install.py # own .venv + registers "eplan"
claude mcp list # should list "eplan"
Then start EPLAN, open Claude Code, and say connect to eplan. The full guide is in
python/mcp_server/README.md.
Moved: the server folder was called
eplan-p8-mcp-server/before version 0.2.0. An MCP registration that points at the old path stops working: runpython/install.pyagain.

Remoting must be enabled in EPLAN before the server can connect: turn on Allow remote access via Remote Client under File → Settings… → Workstation → Interfaces → Remote access.

In its default full mode the server publishes 199 tools:
| Group | Count | What it covers |
|---|---|---|
| Connection / utility | 8 | Connect, version selection, status, extension listing |
Typed EPLAN actions (eplan_*) |
183 | One tool per documented or verified action, each executed silently inside a C# script under QuietMode, so no EPLAN dialog can block an unattended run |
Action catalog (eplan_action_catalog / _describe / _run / _ribbon_catalog) |
4 | Reaches a further ~1,050 actions that exist only as GUI buttons, mined from the install's MFTools.xml rather than the official docs |
Asset Administration Shell (aas_*) |
4 | AAS/AASX digital-twin export and import |
The ~1,050 catalog actions are deliberately not given one wrapper tool each: that would have tripled the tool count and degraded tool selection for everything else.
Among the 183 typed tools are four live-DataModel tools —
eplan_live_query_functions, eplan_live_query_pages, eplan_live_set_function_text
and eplan_live_set_connection_designations — which read and edit the open project's
object model through runtime reflection, working around the script engine's limitation on
static using directives.
Beyond individual actions, the toolset covers the building blocks of a fully unattended develop → deploy → test loop:
eplan_app_launch / eplan_app_shutdown /
eplan_app_restart: exit EPLAN, swap add-in DLLs, relaunch, reconnect, reopen the project.eplan_scratch_project_*: scratch projects cloned from a template.eplan_get_system_messages: read EPLAN's message tree and see the same
errors and warnings the user sees in the GUI.A tool-by-tool reference, generated from this repository's docstrings, lives at covaga.dev/docs/tools.
Every tool says what it does, so a client can decide when to ask the user first. Each one
carries the four standard MCP annotations (readOnlyHint, destructiveHint,
idempotentHint, openWorldHint), always set, plus EPLAN facts in its _meta under the
key canary-ecad/eplan:
| Fact | Meaning |
|---|---|
changesProject |
Writes the open project (a client may back it up first) |
runsCode |
Runs scripts, actions or add-ins it is given |
changesEplan |
Changes EPLAN itself: settings, parts database, master data, ribbon, add-ins |
projectArgument |
The argument that names the project, when the tool has one |
They are facts, not policy: the table lives in
mcp_server/tool_annotations.py, and
tools.json is the published copy. Each release (a tag
vX.Y.Z) attaches tools.json and lists the tools added, removed or re-annotated since the
previous one.
The script host runs ordinary, typed C# against the EPLAN API (using Eplan.EplApi.DataModel;
works) inside EPLAN, with no build and no restart. It compiles the script with Roslyn, checks it
for unsafe calls and runs it. The same script runs
in three runtimes: a registered add-in, a bootstrap through ExecuteScript (nothing to register),
or an offline host that needs no EPLAN window and works on closed projects. Writes go only to
scratch clones unless a person enables real-project writes and approves each saved script. The
library in dotnet/scripts/ ships ready-made tools for texts, line styles, functions, macro boxes
and parts. All runtimes need the EPLAN API developer license.
EPLAN 2026 and 2027+. The host comes in two flavors, one per framework EPLAN runs on, and the server picks the one the target EPLAN loads:
| Flavor | EPLAN | Roslyn | After a run |
|---|---|---|---|
net8 |
2027 or newer (.NET 8) | EPLAN's own | the script is unloaded (collectible context) |
netfx |
2026 (.NET Framework 4.8.1) | shipped with the host | the script stays loaded until EPLAN closes; running the same script again reuses it |
dotnet/ builds the flavor of the EPLAN it finds (Directory.Build.props reads the API naming
scheme from Bin: Eplan.EplApi.*Netu.dll on 2027, *u.dll on 2026; -p:EplanTargetFramework=
forces it). EPLAN 2025 and older are refused up front and pointed at eplan_execute_custom_script
and the eplan_live_* tools.
Quick start (the server folder is now python/: see the "Moved" note in
Quick start):
eplan_script_host_install: downloads the host release (GitHub tag host-v<version>, separate
from the server's vX.Y.Z tags) for the target EPLAN's flavor, checks its SHA-256 sums and
installs it under ~/.eplan-mcp/host/<version>/<flavor>. The script tools also do this on first
use. Maintainers build each flavor on a machine with that EPLAN (2027 for net8, 2026 for
netfx) with dotnet/pack/pack-release.ps1, which prints the gh release commands; both
flavors go to the same release.
eplan_script_hello: reports the host version, the runtime that answers, EPLAN and the license.
Run a library script on a scratch clone. Pass dry_run=True to see what a writing script would
change:
eplan_script_run(script="text_placements", project="<scratch>.elk", args={"page": "<page>"})
eplan_script_run(script="text_set_height", project="<scratch>.elk", dry_run=True,
args={"page": "<page>", "handle": "<handle from text_placements>", "factor": 1.5})
eplan_script_run defaults to dry_run=False. Set EPLAN_MCP_SCRIPT_TOOLS=publish to get each
library script as its own eplan_<name> tool; writers published that way default to
dry_run=True. How to write scripts, the write gate and the full tool list:
dotnet/SCRIPTING.md.
EPLAN_MCP_MODE=discovery publishes 13 tools instead of 199, trading a token-heavy tool
list for one extra search round-trip per task. It is worth it for MCP clients that send
every tool's full schema on every request.
Skip it in Claude Code. Claude Code already defers tool schemas itself — a name list up
front, a schema fetched on demand — so the full 199-tool list already costs it about as
little as discovery's 13 would, and layering discovery's search → describe → call
indirection on top only adds a round-trip. The tradeoff and the measurements are in
python/mcp_server/README.md.
Already deployed and ready to use — no local data required:
# EPLAN Electric P8 documentation (2026, semantic search)
claude mcp add eplan-rag -- cmd /c np
eplan-mcp is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Canary-ECAD. MCP server for EPLAN Electric P8: ~200 tools to drive EPLAN from Claude Code, Codex, Cursor or any MCP client (actions, scripts, live DataModel, exports). Includes the eplan-tools plugin marketplace. It has 177 GitHub stars.
eplan-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Canary-ECAD/eplan-mcp" and add it to your Claude Code skills directory (see the Installation section above).
eplan-mcp is primarily written in Python. It is open-source under Canary-ECAD on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh eplan-mcp against similar tools.
No comments yet. Be the first to share your thoughts!