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.

Included visual & real-data evidence:Diagrams · 1Real Captures · 2Real Exports · 1Real Data · 2Tables · 5
On this page

DS Pilot · DS Studio · Learning Hub

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.

Architecture Diagram · Direct AI PLC Write Risk vs Read-Only MCP + Safety SeparationDiagram
Left: Unguarded AI-to-PLC write hazards · Right: Read-only MCP, 3D verification, and locked hardware separationDirect AI writes risk conflicting actuator commands on active equipment, whereas a read-only MCP gateway feeds deterministic DS2 compilation and 3D simulation behind a strict engineer-gated safety barrier.
Architectural risk comparison: write-enabled PLC connector vs read-only industrial MCP
Control SurfaceUnsafe Direct-Write AI ConnectorDualSoft Read-Only Web MCPEnforced Safety Boundary
Live PLC Coils & RegistersDirect write calls can energize conflicting actuatorsZero live write tools exposed on public endpointOffline DS2 compile + engineer download only
Specification & SemanticsRelies on stale prompt memory and hallucinated tagsQueries canonical DS2 & AAS specs with SHA-256 hashesVerifiable document IDs and explicit scope metadata
Sequence Interlock ChecksSkipped; flaws surface during physical motionOffline static causal rules & 3D cell simulationMILS / DS-SILS verification before PLC export
Emergency Stop & Safety RelayRisk of confusing software flags with safety circuitsExplicitly excluded from MCP and AI scopeCertified 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.

Actual Software Capture · DS Studio Unified DS2, 3D Twin, and MCP ArchitectureReal Software Capture
Actual DualSoft DS Studio English architecture capture showing unified DS2 modeling, 3D digital twin verification, and deterministic engineering output layers
Unified DS Studio architecture linking MCP specification lookup to 3D control verificationReal DS Studio architectural view connecting compact DS2 modeling, virtual 3D cell verification, and deterministic multi-artifact generation without direct live PLC writes.
Real Public MCP Session Receipt (src/data/mcp_first_use_receipt.json)https://dualsoft.ai/mcp · ai.dualsoft/aas@2.2.3 · HTTP 200
{
  "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"
  ]
}
Verified read-only tool groups exposed by https://dualsoft.ai/mcp (ai.dualsoft/aas@2.2.3)
Tool GroupExact Tool NamesReturned EvidenceExplicit Scope Limit
Session & Healthdsdx.start, dsdx.pingServer version, DS2-SPEC-V2.0, slim mode flagRead-only status check; no stateful plant session
Canonical Spec Searchdocs_search, docs_readSTUDIO-3D-KIT & DS2 spec text with sourceSha256No lang filter parameter yet; mixed EN/KO titles possible
Line & Asset Librarydsdx.examples.list/get, dsdx.library.search/get10 line examples + B01 conveyor SHA-256DISPLAY_PREVIEW scope; physicalExecution is NOT_RUN
Scene & PLC Formatsdsdx.scene.catalog, dsdx.plc.formats3D 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.

Real Export Output · DS Studio OPC UA NodeSet & Semantic Tag AlignmentReal Export Output
Actual DS Studio OPC UA NodeSet output derived from the same reviewed DS2 control modelDeterministic OPC UA address-space and semantic node review sheet generated alongside AASX and PLC exports so AI lookup, controller tags, and plant telemetry stay aligned.
Observed MCP Library & PLC Format Responses (mcp_first_use_receipt.json)recipe-02-b01-library & recipe-03-plc-formats · HTTP 200
{
  "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"
  }
}
Observed HTTP JSON-RPC probe recipes and explicit non-claims (checked 2026-11-20 UTC)
Probe RecipeObserved ResultVerified Artifact / HashWhat It Does Not Prove
recipe-01-aas-docsHTTP 200 · 17 matches returnedSTUDIO-3D-KIT (sha256:ef6faf3c...)Does not certify customer compliance or EN-only snippets
recipe-02-b01-libraryHTTP 200 · DISPLAY_PREVIEWb01-01-belt-conveyor (sha256:1ad60662...)physicalExecution remains NOT_RUN
recipe-03-plc-formatsHTTP 200 · 2 keys (.xgwx)auto, ls-xgwx (IDTA-01005-V3.0.1)Does not prove multi-vendor reverse-import execution
Official MCP RegistryHTTP 200 · ai.dualsoft/aas@2.2.3name-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.

Real Hardware Photo · DualSoft Physical Test Belt Conveyor CellReal Hardware Photo
Photograph of DualSoft physical test belt conveyor cell showing modular conveyor stations and hardware testbed structure
Physical hardware wiring, safety relays, and commissioning stay strictly engineer-ownedPhotograph of DualSoft’s test belt conveyor cell: even when AI assistants inspect specs via MCP and models pass 3D checks, physical I/O wiring and safety sign-off remain mandatory human gates.
End-to-end accountability and truth-gate status for industrial MCP workflows
MilestonePublic Evidence StatusResponsible Gate OwnerScope & Truth Boundary
Public Web MCP JSON-RPC ProbeVERIFIED (HTTP 200, 10 read-only tools)Automated HTTPS Receipt CheckVerifies initialize, tools/list, and 3 read-only recipes
Desktop / IDE MCP Client First-UseNOT_RUN (explicitly separated)Engineering Team / Client QARaw HTTP probes never substitute for live desktop client runs
Vendor PLC IDE Project ImportVendor PLC IDE import not executed Not yet checkedControl Engineer (per project)Target vendor PLC IDE import & compile verified per site
Physical Shop-Floor CommissioningPhysical commissioning outside this reference scope Not yet checkedSite & Safety EngineerHardwired E-stops, safety PLC, and I/O checks stay outside AI

Summary Matrix: Direct PLC Write Connector vs DualSoft Read-Only Web MCP#

Engineering governance comparison between unguarded write-enabled AI PLC connectors and DualSoft’s read-only MCP plus DS2 workflow
Evaluation DimensionWrite-Enabled AI PLC PluginDualSoft Read-Only Web MCP + DS2Operational Advantage
Live Equipment Write AccessDirect register/coil mutation riskRead-only discovery only (10 public tools)Zero unauthorized AI writes to running machines
Source GroundingAd-hoc prompt snippets without hashesOfficial registry + SHA-256 spec & AASX metadataReproducible technical citations across teams
Control VerificationDiscovered on physical hardwareDS2 static rules + offline 3D twin simulationCatches interlock and timing errors before download
Asset & Telemetry AlignmentManual tag spreadsheets drift quicklyShared DS2 revision compiles PLC, OPC UA, and AASXConsistent semantics across control and IT layers
Safety & Commissioning ClaimsBlurred boundary between AI and plant safetyExplicit VERIFIED vs NOT_RUN truth gatesClear engineer ownership for IDE import and FAT/SAT

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

Content reviewed Prepared by: DualSoft · website content

Scope and deliverables are agreed together before any customer data is handled.

Back to top

opens in a new tab