e3d-mcp
Builds, runs, measures, and films models in Rockwell Emulate3D 2026, including verified property writes, simulation control, tag IO, document save/open, screenshots, recording, and USD export.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
e3d-mcp
e3d-mcp lets an AI agent build, run, measure and film a model in Rockwell Emulate3D 2026 through one small MCP server, and tells the agent only what it has checked. Every write is read back, every failure has a typed code, risky actions are refused before anything changes, and each change leaves one line in an audit log.
It is built on the same ideas as ftx-mcp (FactoryTalk Optix) and logix-mcp (Studio 5000 / Logix). Those are separate projects. They are not part of this repository and are not required: nothing in the service depends on them.
This project is not affiliated with Rockwell Automation, Inc. See LICENSE and NOTICE.
Requirements
Windows 10 or 11 with a licensed Emulate3D 2026 install (a demo licence works). Emulate3D is not included.
Emulate3D's built-in MCP server enabled in Web Configuration, on HTTP port 9080.
Python 3.11 or newer and git on the same machine.
Optional: Logix Echo for tag IO (and logix-mcp, a separate project, if you want the agent to use it), NVIDIA Omniverse Kit for rendering USD.
Related MCP server: x402-industrial-mcp
Install and quickstart
On the Emulate3D box, from a git checkout of this repository, in PowerShell:
agent\install-e3d-mcp.ps1 -RepoDir <path to this checkout> -Verify
agent\start-e3d.ps1 -Document <name>.demo3dThe first script makes a virtual environment under %LOCALAPPDATA%\e3d-mcp, installs the package, registers a
scheduled task that runs e3d-mcp at logon and checks e3d_health. The second, run in the interactive desktop
session, starts Emulate3D with the document from Desktop\e3ddemos, starts the web server on port 9080 and installs the
in-app bridge. Details are in agent/README.md.
The template document. The live validation (ci/validate-win.ps1) and the examples use a template document named e3d-ci-base.demo3d in
<Desktop>\e3ddemos. To get one, open any model in Emulate3D 2026, enable its MCP web server (Web Configuration, HTTP port 9080) and save the
model as e3d-ci-base.demo3d in that folder. mcp-base is a name the service never overwrites, so do not use it for
a document you want changed.
Point an MCP client at http://127.0.0.1:8786/mcp (agent/mcp.json is an example), then call e3d_status first:
python ci/mcpcall.py e3d_statusIt returns the document, tag servers, bridge state, model time and camera in one call.
Testing
make test-public # runs on any machine: the Python tests, no Emulate3D and no vendor files
make test # also compiles the bridge and runs the Omniverse testsmake test-public needs only Python 3.11 or newer and the dev dependencies (pip install -e ".[dev]"). make test
also compiles the C# bridge, so it needs the Emulate3D reference assemblies that you copy from your own install (see
.localfeed/README.md); it fails when they are missing. See CONTRIBUTING.md.
Configuration
e3d-mcp serves the MCP tools over streamable HTTP at http://<E3D_BIND>:<E3D_PORT>/mcp. Configuration is by
environment variables:
Variable | Default | Meaning |
|
| Address to listen on. A non-loopback value is refused (exit 3) unless |
|
| TCP port ( |
| unset | When set, every request needs |
|
| The Emulate3D built-in MCP server. |
|
| Audit log and state. |
|
| Folder with |
| unset | Operator-only. |
On a loopback bind, DNS-rebinding protection accepts Host 127.0.0.1:<port>, localhost:<port> and [::1]:<port>.
ci/mcpcall.py <tool> [<json-args>] is a stdlib-only client; it sends Authorization: Bearer $E3D_TOKEN when that
variable is set.
Architecture
agent (Claude Code, any MCP client)
| MCP over HTTP, 127.0.0.1:8786, the only surface agents get
v
service/ Python: guards, verification, audit, 15 e3d_* tools
| MCP over HTTP, 127.0.0.1:9080, never exposed to agents
v
Emulate3D built-in MCP server --compiles--> E3dBridge (C#, inside the open document)Built-in tools. The service sits in front of Emulate3D's own MCP server and does not pass its tools through. Six of them carry the core:
Built-in tool | Used for |
| Listing the visuals of the open document. |
| Reading a property the bridge does not know, read only. |
| Seeing which script projects the document has, before a bridge install. |
| Restarting the web server during a bridge install. Scripted NUnit tests are not exposed as a tool. |
| Creating the two bridge projects in a document that has none. |
| Injecting the bridge source and compiling it. |
A few more (tag servers, finding, copying and deleting visuals) are called by individual tools. document_reset is
forbidden.
C# bridge. bridge/ holds E3dBridge and E3dBridgeRestart. e3d_bridge action=ensure injects them into the open
document and compiles them, and does nothing when the installed version is current. They give UI-thread-safe e3db_*
actions that the built-in tools lack: verified property writes, running and resetting the simulation, saving and
opening documents, screenshots and views, recording and USD export. The bridge is versioned and the service refuses an
older one with bridge_outdated.
Python pillars. Verified writes (read back, report what was observed); one-call status (e3d_status); typed errors
with a code, hint and suggestions; guards that refuse before they mutate; an audit log (audit.jsonl in the state
directory, names and outcomes, never values); and skills for agents.
Tools
Tool | What it does |
| Call this first. One-shot state: capabilities, document, tag servers, bridge state, model time, camera. |
| Service and upstream connectivity: versions, URL, reachability, tool count. |
| Check ( |
| Find visuals whose name contains a substring, paged. |
| Read named properties of one visual, including custom and aspect properties, in one call. |
| Set properties on one visual and verify each by reading it back; |
| Run ( |
| Build a group of boxes, cylinders, spheres and labels from a parts list: |
| Set what a load creator makes, the background and floor, or a texture, and read it back. |
| Tag-server IO that reports observed state: connect, list, load, bind, read, force; emulator targets only. |
| Look without changing the model: screenshot, camera view, log tail, frame series, saved views. |
| Build a P&ID knowledge graph into the model: check, plan, push, verify and match its tags to a controller tag list; then solve, tune, apply, bind, loopcheck, record and rules to run, look and adjust the process. |
| Replay a recorded CSV window into the model, row by row, and verify each step. |
| Record a run to |
|
|
Tool notes:
e3d_tags action=addcreates a tag server and, with an address, sets up an Echo link in one call (configurewrites the address first).Tag servers are addressed by their real names in
connect,disconnect,bindandunbind.e3d_tags action=loadno longer refuses a BOOL because its direction isInput,OutputorBidirectional.e3d_buildaccepts alamppart, ande3d_tags action=bindtakesaccess(read_from_plcby default for a custom property such asLit).e3d_setonIsActivatedof a lift while paused returns a warning, ande3d_run action=resetlists inconsistent lift actuators.agent\start-e3d.ps1foregrounds Demo3D and checks keyboard focus before typing into the Immediate Window.
Error codes
Every failure is a typed error with code, message, hint and docs_anchor, plus did_you_mean and state when they apply, and a refusal says "Nothing was written."
bridge_missingbridge_outdatedupstream_downapp_not_respondingtarget_not_emulatorunknown_propertyreadonly_propertyinvalid_valuetag_not_foundserver_connect_failedunsaved_ai_changesunknown_argumentforbidden_upstream_tooltag_type_unsupportedduplicate_bindingbridge_compile_failedcapability_missing
P&ID pipeline
The input of e3d_pid is the JSON knowledge graph written by Scott Duncan's open-source P&ID to Knowledge Graph skill,
https://github.com/ScottDuncanAI/PID-to-Knowledge-Graph (MIT). Five actions build
the model: check validates the graph, plan lays it out and lists the parts, push builds the parts into the open
model, verify reads them back, and tagmap matches the instrument tags to a controller tag list and reports what is
unmatched. Positions come from the drawing sheets, not from a plant layout.
Seven more actions run, look and adjust the process: solve computes steady-state flows and levels from the graph and
a parameter set, tune suggests PID gains per loop, apply writes parameters to the model (dry_run first),
bind connects the matched tags in one disconnect/connect cycle, loopcheck reports each tag pair's state, record
appends samples to a trend CSV, and rules checks a trend file against rules. solve, tune and rules only read.
The e3d-build-from-pid skill gives the order of calls ("Run, look, adjust").
Two parts sources build the model. primitive (the default) draws boxes and cylinders. tanks_and_pipes builds from
the Tanks and Pipes package: check and plan add the catalog, pipe connections, sizes and pump duty,
push and verify build and read back, process installs the pH and lime script (process_options,
max_new_visuals limit it and the push), and start runs the start sequence after every reset. Both new actions
refuse on primitive. A record after start takes reset: false, and e3d_document save keeps the build.
Omniverse
e3d_record action=start begins an Emulate3D recording into Documents\e3d-mcp\recordings\<name>.raw3d and stop ends
it. usd_export turns a recording into USD through Rockwell's Omniverse connector (connector checks that it is
installed) and reads the result back, reporting the prim count and time codes. tools/omniverse then unpacks textures,
dresses the stage with lights and a camera, and renders it headless with Kit. See tools/omniverse/README.md. Install
the optional omniverse extra (usd-core) only outside a Kit environment.
e3d-agent
agent\install-e3d-agent.ps1 installs the driver, which runs Claude Code headless against the service and keeps the
session between calls.
agent\e3d-agent.ps1 -Check # preflight, exit 0 on pass
agent\e3d-agent.ps1 -PromptFile task.txt # run a prompt, resumable; add -New for a fresh sessionThe prompt goes in on stdin, a watchdog enforces the timeout, and a lock stops two runs at once. See agent/README.md.
Skills and evals
skills/holds agent skills: short procedures with exact tool calls, gotchas and a verify checklist.evals/holds a task corpus and a scorer. Each task runs offline against a fake upstream, and live throughe3d-agent.ps1 -PromptFile.
Known limits
Windows only; one open document at a time.
The unsaved-work gate sees only writes made through this service. Writes made by Emulate3D's own assistant or the built-in MCP used directly are not seen.
When a document is opened outside the service, the in-app tools are lost until
e3d_bridge action=ensure.Scripted NUnit tests are not exposed as a tool.
Tag targets are local emulators only (Echo on this machine), unless the operator sets
E3D_ALLOW_REAL_TARGETS=1.A licensed or demo Emulate3D is needed; this repository does not include it or its reference assemblies.
The live scripts (
agent\*.ps1,ci\validate-win.ps1) are checked by text tests here and need a run on a real Windows host. SeeCONTRIBUTING.md.ci/win-validate.shrunsci/validate-win.ps1on the Emulate3D host. It readsE3D_HOST(ssh target,<e3d-host>) andE3D_CI_DIR(e.g.C:/Users/example/e3d-ci) from the environment, else from$E3D_CI_CONFIGor the untrackedci/local.env(copyci/local.env.example). A CI system that runs it also setsE3D_CI_RUNNER(runner label).
More
SECURITY.md (what the agent can and cannot do), CONTRIBUTING.md, CHANGELOG.md, skills/, evals/,
agent/README.md and ci/README.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
AI agent security, MCP 2026 schema & graph audits, <250ms guardrails, and compliance dossiers
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Public MCP digital twin with synthetic systems and an agent firewall. No customer data.
Related MCP Servers
- AlicenseBqualityBmaintenanceExposes a deterministic IoT edge runtime — Modbus/CAN/J1939 acquisition, local rules, alarms, and history — to AI assistants as typed, governed MCP tools. Reads are safe by default; device control stays deny-by-default, explicitly confirmed, and audited.233Apache 2.0
- AlicenseNot gradedqualityDmaintenanceThe first and only MCP server for PLC (Programmable Logic Controller) intelligence. Give any AI agent direct access to industrial automation data — ladder logic, tag databases, cross-references, fault root cause analysis, and sequence blockersMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, edit, compile, and run Rockwell Arena simulation models from plain-language descriptions, then analyse results with confidence intervals and compare what-if scenarios. Provides model inspection, error attribution, screenshots, and Arena module reference tools to any MCP client.MIT
- AlicenseAqualityBmaintenanceEnables AI clients to inspect, script, modify, and screenshot models inside numerous desktop CAD, BIM, and 3D applications through a unified MCP interface.5MIT