MCP for industrial PLC automation: read-only discovery with strict safety separation
Connecting an AI agent directly to live factory PLC registers via write-enabled connectors creates severe mechanical and safety risks. A safe industrial Model Context Protocol (MCP) architecture restricts public endpoints to read-only specification, example, and AASX metadata discovery, routing every control change through deterministic DS2 compilation, 3D verification, and engineer-gated commissioning.
On this page
Why industrial PLC MCP servers must isolate live controller writes#
Model Context Protocol gives AI assistants a structured JSON-RPC interface to query tools and documentation instead of guessing from stale training weights. In factory automation, however, exposing direct write access to PLC coils, timers, or motion blocks lets a probabilistic model bypass mutual interlocks and deterministic scan timing. Industrial MCP design therefore separates read-only discovery from offline compilation and keeps certified hardware safety relays strictly unreachable from AI clients.
| Control Surface | Unsafe Direct-Write AI Connector | DualSoft Read-Only Web MCP | Enforced Safety Boundary |
|---|---|---|---|
| Live PLC Coils & Registers | Direct write calls can energize conflicting actuators | Zero live write tools exposed on public endpoint | Offline DS2 compile + engineer download only |
| Specification & Semantics | Relies on stale prompt memory and hallucinated tags | Queries canonical DS2 & AAS specs with SHA-256 hashes | Verifiable document IDs and explicit scope metadata |
| Sequence Interlock Checks | Skipped; flaws surface during physical motion | Offline static causal rules & 3D cell simulation | MILS / DS-SILS verification before PLC export |
| Emergency Stop & Safety Relay | Risk of confusing software flags with safety circuits | Explicitly excluded from MCP and AI scope | Certified hardware safety PLC / relays stay isolated |
What DualSoft’s public read-only Web MCP actually exposes#
Rather than promising opaque autonomous control, DualSoft registers its public endpoint in the Official MCP Registry and operates in slim read-only mode with 10 discovery tools and 10 published process line examples. Every call returns structured metadata, document SHA-256 digests, and explicit execution boundaries so engineering teams and AI agents work from the exact same verified baseline.

{
"endpoint": "https://dualsoft.ai/mcp",
"negotiatedProtocolVersion": "2025-11-25",
"serverInfo": {
"name": "dsdx-mcp-server",
"version": "2.2.3",
"specVersion": "DS2-SPEC-V2.0",
"publicWebMcpSlimMode": true,
"publicWebMcpToolsCount": 10
},
"toolNames": [
"dsdx.start", "dsdx.ping", "docs_search", "docs_read",
"dsdx.examples.list", "dsdx.examples.get",
"dsdx.library.search", "dsdx.library.get",
"dsdx.scene.catalog", "dsdx.plc.formats"
]
}| Tool Group | Exact Tool Names | Returned Evidence | Explicit Scope Limit |
|---|---|---|---|
| Session & Health | dsdx.start, dsdx.ping | Server version, DS2-SPEC-V2.0, slim mode flag | Read-only status check; no stateful plant session |
| Canonical Spec Search | docs_search, docs_read | STUDIO-3D-KIT & DS2 spec text with sourceSha256 | No lang filter parameter yet; mixed EN/KO titles possible |
| Line & Asset Library | dsdx.examples.list/get, dsdx.library.search/get | 10 line examples + B01 conveyor SHA-256 | DISPLAY_PREVIEW scope; physicalExecution is NOT_RUN |
| Scene & PLC Formats | dsdx.scene.catalog, dsdx.plc.formats | 3D catalog + auto, ls-xgwx (.xgwx, IDTA-01005-V3.0.1) | Declares supported keys only; no live vendor import claim |
Grounding AI PLC workflows in AASX and OPC UA structure#
When AI agents query verified library metadata and standard asset records through MCP, downstream deliverables stay aligned across engineering disciplines. The public reference conveyor package bundles 3 submodels and 83 documented sequence concepts validated by aas-test-engines 1.0.3 (application/aas+zip) and BaSyx API 3.0: upload / 135 ID lookups, while DS Studio projects unified tags into IEC 61131-3 outputs and OPC UA NodeSet structures from the same reviewed model.
{
"libraryGet": {
"id": "b01-01-belt-conveyor",
"scope": "DISPLAY_PREVIEW",
"physicalExecution": "NOT_RUN",
"sourceSha256": "sha256:1ad60662cdc5afb48d831e65409e4aad326e348548fddf6781b3aa999eea5e87"
},
"plcFormats": {
"formatCount": 2,
"keys": ["auto", "ls-xgwx"],
"extensions": [".xgwx"],
"aasxProfile": "IDTA-01005-V3.0.1"
}
}| Probe Recipe | Observed Result | Verified Artifact / Hash | What It Does Not Prove |
|---|---|---|---|
| recipe-01-aas-docs | HTTP 200 · 17 matches returned | STUDIO-3D-KIT (sha256:ef6faf3c...) | Does not certify customer compliance or EN-only snippets |
| recipe-02-b01-library | HTTP 200 · DISPLAY_PREVIEW | b01-01-belt-conveyor (sha256:1ad60662...) | physicalExecution remains NOT_RUN |
| recipe-03-plc-formats | HTTP 200 · 2 keys (.xgwx) | auto, ls-xgwx (IDTA-01005-V3.0.1) | Does not prove multi-vendor reverse-import execution |
| Official MCP Registry | HTTP 200 · ai.dualsoft/aas@2.2.3 | name-substring query: dualsoft (2), aas (30) | Not market ranking or automatic client endorsement |
Explicit truth boundaries from HTTP probes to physical commissioning#
Transparent industrial engineering never confuses an automated HTTP JSON-RPC check with a certified factory startup. Direct desktop MCP client installation tests remain unexecuted in the public receipt, vendor PLC IDE import (Vendor PLC IDE import not executed Not yet checked) is verified per target project, and physical hardware commissioning (Physical commissioning outside this reference scope Not yet checked) stays strictly under qualified site and safety engineers.

| Milestone | Public Evidence Status | Responsible Gate Owner | Scope & Truth Boundary |
|---|---|---|---|
| Public Web MCP JSON-RPC Probe | VERIFIED (HTTP 200, 10 read-only tools) | Automated HTTPS Receipt Check | Verifies initialize, tools/list, and 3 read-only recipes |
| Desktop / IDE MCP Client First-Use | NOT_RUN (explicitly separated) | Engineering Team / Client QA | Raw HTTP probes never substitute for live desktop client runs |
| Vendor PLC IDE Project Import | Vendor PLC IDE import not executed Not yet checked | Control Engineer (per project) | Target vendor PLC IDE import & compile verified per site |
| Physical Shop-Floor Commissioning | Physical commissioning outside this reference scope Not yet checked | Site & Safety Engineer | Hardwired E-stops, safety PLC, and I/O checks stay outside AI |
Summary Matrix: Direct PLC Write Connector vs DualSoft Read-Only Web MCP#
| Evaluation Dimension | Write-Enabled AI PLC Plugin | DualSoft Read-Only Web MCP + DS2 | Operational Advantage |
|---|---|---|---|
| Live Equipment Write Access | Direct register/coil mutation risk | Read-only discovery only (10 public tools) | Zero unauthorized AI writes to running machines |
| Source Grounding | Ad-hoc prompt snippets without hashes | Official registry + SHA-256 spec & AASX metadata | Reproducible technical citations across teams |
| Control Verification | Discovered on physical hardware | DS2 static rules + offline 3D twin simulation | Catches interlock and timing errors before download |
| Asset & Telemetry Alignment | Manual tag spreadsheets drift quickly | Shared DS2 revision compiles PLC, OPC UA, and AASX | Consistent semantics across control and IT layers |
| Safety & Commissioning Claims | Blurred boundary between AI and plant safety | Explicit VERIFIED vs NOT_RUN truth gates | Clear engineer ownership for IDE import and FAT/SAT |
Core Pillar & Related Briefings#
AI PLC Architecture Pillar All Engineering Insights Industrial AI coding assistant vs deterministic DSL: why compilers still matter for PLC engineering Why raw LLM Ladder Logic fails industrial interlocks—and how deterministic DS2 fixes AI PLC
Verified Facts and Scope Boundaries#
- Read-only discovery tools10
The public MCP endpoint provides discovery tools with read-only access.
- Published process examples10
Interactive process-line examples published on dualsoft.ai that open without local installation.
- Included submodels3
Bundles equipment identification (Nameplate), DualSoft sequence data (SequenceControlData), and 3D geometry metadata (Models3D) in one package.
- Documented concepts83
Public English definitions document every custom sequence concept and ownership qualifier in the reference package.
- Package format checkaas-test-engines 1.0.3 (application/aas+zip)
The recorded check covers AASX package structure and AAS metamodel conformance.
- AAS server verificationBaSyx API 3.0: upload / 135 ID lookups
Separate automated runs verified upload and ID lookups on BaSyx 2.0.0-milestone-15. Full API conformity and physical commissioning remain separate.
- PLC engineering-tool importVendor PLC IDE import not executed Not yet checked
Importing a project directly into a specific PLC vendor's engineering IDE has not yet been tested.
- Physical equipment commissioningPhysical commissioning outside this reference scope Not yet checked
Physical factory wiring, commissioning, and safety acceptance are outside this software reference scope.
Scope and Verification FAQ#
Can DualSoft’s public MCP server write directly to a running factory PLC?
No. The public Web MCP endpoint runs in slim read-only mode exposing discovery tools for specifications, examples, library metadata, and format listings. Live PLC downloads and safety-circuit commissioning always remain offline, engineer-gated steps.
How do engineers connect an AI client to DualSoft’s MCP server?
Teams can inspect the registered server metadata in the Official MCP Registry and follow the DualSoft Quickstart guide to query read-only DS2 specifications, reference line models, and AASX library packages before authoring control logic in DS Studio.
Does passing the public MCP JSON-RPC check prove vendor PLC IDE import or physical commissioning?
No. The public receipt explicitly records automated HTTPS JSON-RPC discovery separately from desktop client sessions, vendor PLC IDE direct import, and physical shop-floor acceptance, which remain project-scoped engineering milestones.
Why combine MCP discovery with a deterministic DS2 compiler instead of generating PLC code inside chat?
MCP ensures the AI reads authoritative specifications and asset metadata, while the DS2 compiler and 3D simulator enforce static interlock rules, scan determinism, and synchronized PLC, OPC UA, and AASX deliverables before any controller deployment.
Verified by: DualSoft Engineering — Industrial PLC MCP & Read-Only Safety Architecture Briefing
Scope and deliverables are agreed together before any customer data is handled.


