Install eplan-mcp
eplan-mcp runs on the same Windows machine as EPLAN: it loads EPLAN’s own DLLs and exchanges script and result files with it through local paths.
Requirements
Section titled “Requirements”- EPLAN Electric P8 2.9 to 2027
- Python 3.10+, 64-bit (to match EPLAN’s process)
- Git, to clone the repository and to update it later
1. Get the server
Section titled “1. Get the server”git clone https://github.com/Canary-ECAD/eplan-mcp.gitpython eplan-mcp\python\install.pyinstall.py creates its own virtual environment in eplan-mcp\python\.venv,
installs the dependencies into it and registers the server as eplan with
Claude Code (user scope). The server then never depends on whichever python
comes first on your PATH. Extra arguments go to claude mcp add, for example
python install.py -e EPLAN_MCP_MODE=discovery.
2. Allow remote access in EPLAN
Section titled “2. Allow remote access in EPLAN”In EPLAN, open File → Settings… → Workstation → Interfaces → Remote access and turn on Allow remote access via Remote Client. Without it the server cannot connect.
3. Register it with another agent (optional)
Section titled “3. Register it with another agent (optional)”The installer registers Claude Code. For Codex, Cursor or any other client, see Connect your agent.
4. Connect
Section titled “4. Connect”Start EPLAN, open your agent and say “connect to eplan”. The server picks
the newest installed EPLAN version automatically; ask for a specific one with
“connect to eplan 2026”. On EPLAN 2.9, connect with eplan_connect(version="2.9").
The C# script host
Section titled “The C# script host”eplan_script_run runs ordinary, typed C# against the EPLAN API inside EPLAN,
with no build and no restart. The host comes in two flavours and the server picks
the one the target EPLAN loads:
| EPLAN | Script host |
|---|---|
| 2027 or newer | net8 (.NET 8) |
| 2026 | netfx (.NET Framework 4.8.1) |
| 2025 and older | not available: use eplan_execute_custom_script and the eplan_live_* tools |
eplan_script_host_install downloads the host release (tag host-v<version>,
currently host-v0.3.0) and checks its SHA-256 sums; the script tools also do
this on first use. The host needs the EPLAN API developer licence.
Updating
Section titled “Updating”The server updates through Git, not by downloading installers:
cd eplan-mcpgit pullpython python\install.pyRestart your agent afterwards so it picks up new tools. Releases are tagged
vX.Y.Z (currently v2.0.0) and list the tools added, removed or re-annotated.
- Server guide: discovery mode, remote topology, environment variables and private extensions.
- Tool reference: every tool and its parameters.
