-
-
Notifications
You must be signed in to change notification settings - Fork 26
Connection and Server Tools
Connect to, inspect, and manage the link between this MCP server and a running EPLAN instance. Defined directly in server.py, not the dynamically-registered actions package — these are shared across every EPLAN version.
8 tools.
eplan_status()Get the current EPLAN connection status.
eplan_versions()List EPLAN versions installed on this machine.
Use this BEFORE eplan_connect if the user needs a specific version; by default the newest installed version is used automatically. Does not load any EPLAN DLLs, so it never locks the process to a version.
eplan_servers()List active EPLAN servers (running instances).
Note: this loads the EPLAN DLLs (auto-detected newest version if not connected yet).
Can return an empty list even while EPLAN is fully open with a project loaded — auto-detection is not fully reliable, particularly right after EPLAN itself was just (re)started. An empty result is not proof EPLAN isn't running. If eplan_connect() then also fails with a connection error, the real fix is finding the actual listening port (a TCP/port viewer filtered to EPLAN.exe, or netstat -ano | findstr LISTENING cross-referenced with its PID) — the default 49152 is only a guess; real instances have been seen on other ports (e.g. 49153), especially with multiple EPLAN processes running.
eplan_connect(host: str = None, port: str = None, version: str = None)Connect to EPLAN.
-
host: EPLAN machine to connect to. Defaults to"localhost". May also be passed as"host:port"and it will be split. -
port: Remoting port. Auto-detected from local servers if omitted — but auto-detection only works forlocalhost; connecting to a remote host requires the port explicitly (default 49152). -
version: EPLAN major version to target, e.g."2026". Omit for auto-detection (newest installed). Once one version's DLLs are loaded, switching requires restarting the MCP server.
Internally tries, in order: the explicit port if given → the port from server enumeration → the TCP ports EPLAN.exe is actually listening on (via netstat, localhost only) → the historical default 49152 — pinging each candidate until one answers.
eplan_disconnect()Disconnect from EPLAN.
eplan_ping()Check if EPLAN is responding.
eplan_test()Show a MessageBox in EPLAN to verify the connection is working. Creates and executes a temporary C# script — the only tool in this server that deliberately pops a dialog, since its whole purpose is a visible connectivity check.
eplan_list_extensions()List the extension modules (and their tools) loaded via EPLAN_MCP_EXTENSIONS. See Private Extension Modules.
Start here
Tool reference (180 tools)
- Connection and Server Tools (8)
- Application Lifecycle and Unattended Testing (6)
- Project and Workspace Management (22)
- Pages, Navigation and Editing (19)
- Devices, Numbering and Cabinet (16)
- Search Tools (5)
- Import, Export and Data Exchange (57)
- Reports, Verification and Printing (10)
- 3D and Installation Spaces (2)
- Live DataModel Tools (4)
- Discovery Tools (5)
- Low-Level Scripted Tools (18)
- Addons and Raw Actions (4)
- AAS / Digital Twin Tools (4)
Beyond the local server