Skip to content
OT AI HubOT AI Hub

How to test an industrial MCP server without a live controller

Use a server that documents a mock on your own computer, and leave every write switch off. A result from that mock shows that the tool call returned. It does not show that the server is safe, compatible, or ready for a plant.

The examples below are entries already in this index. Catalog notes were last verified on 3 November 2026 unless the sentence says a README was opened on 5 November 2026.

Checked 5 November 2026

This is not a safety case, and it is not a hardware test. The examples are what the publishers document for a local mock. This page does not connect to a controller.

Four shapes in the index

The short table is the choice. The notes under it say what was actually written down. Writes gated and writes exposed use the same definitions as the rest of the site.

As of 5 Nov 2026. Shapes are editorial groups of listed tools. They are not a ranking.
ShapeListed exampleWrites before you change a settingWhat it is notPrimary source
Local device mockIndustriConnect S7 MCP and IndustriConnect Modbus MCPRefused until a flag you leave unset.Not a CPU, a meter, or a firmware matrix.S7 README, Modbus README
Broker plus a simulated clientIndustriConnect MQTT / Sparkplug MCPPublishes refused until MQTT_WRITES_ENABLED=true.Not a PLC protocol. Not a broker that bridges out.MQTT README
Read-only, no bundled mockProxus Industrial MCP ServerNo write tool in the checked surface.Not proof the address is a simulator.Proxus product page
Write tool already registeredFieldWorks protocol adapters, kukapay/opcua-mcp, kukapay/modbus-mcpThe write is in the default catalog.A simulator does not unregister that tool.FieldWorks README, kukapay OPC UA README, kukapay Modbus README

What a passing call does not prove

A passing call shows that a documented mock returned a value. It does not show hardware compatibility, a safe network, or plant readiness. A README is not a validation on your CPU, and a protocol name is not a safety property.

IndustriConnect S7 MCP documents a mock PLC on 127.0.0.1 port 1102 and says the server has not been validated across a range of real CPUs. The README was opened on 5 November 2026. It lists write tools that refuse until S7_WRITES_ENABLED=true. A listed tool that refuses is not a server with no write tool. A value from that mock is the value the mock was seeded with. It is not a rack, a slot, a firmware revision, or an optimized data block.

IndustriConnect MQTT / Sparkplug MCP documents a simulated Sparkplug edge node that is itself an MQTT client. It needs a separate broker. A publish, a retained message, or a Sparkplug command is a write even when the only subscriber you know about is the mock. Leave the write flag unset. The MQTT and Sparkplug comparison separates that server from FieldWorks, which speaks MQTT and does not describe Sparkplug B.

IndustriConnect Modbus MCP ships a mock with a register map, and writes stay off until MODBUS_WRITES_ENABLED=true. The README, opened on 5 November 2026, says the mock listens on every interface unless MODBUS_HOST is 127.0.0.1. The catalog entry was last verified on 2026-11-30. An address without a map is still just a number. The Modbus comparison is the longer version of that point. IndustriConnect OPC UA MCP documents a mock plant in the repo. Writes and method calls need an operator profile and an allowlist. The entry was last verified on 2026-11-30.

Proxus Industrial MCP Server is the read-only industrial MCP server in the index. Its product page, opened on 5 November 2026, says no tool writes a value, starts a machine, or changes a controller, and that the assistant can reach only devices named in the configuration. The page mentions a session against simulated devices. It does not document a mock you start on 127.0.0.1, the way the IndustriConnect READMEs do. Read-only is the tool list, not the address.

A published benchmark is a different measurement. Best LLM for PLC programming transcribes those scores and does not name one winner. A mock read cannot be lined up with them.

Choose the job before the server

Three jobs get confused. Reading a mock on the same computer is a smoke test. Subscribing to a broker you started is still a smoke test, as long as that broker has no bridge. Editing a project file is a third job, done by an engineering assistant, and it is not a field protocol. Opening a session to a controller is none of these. That question is Is it safe to connect AI to a PLC?.

Pick the server by what its publisher documented, not by the protocol name. A page that says Modbus, OPC UA, MQTT, or S7 can still mean a live socket. The useful sentence is where the first connection is allowed to go, and whether a write tool is registered before you change any setting.

Checklist for one local pass

Stop at the first item you cannot meet. Nothing here enables a write or names a plant address.

  1. Name the address before you start. Use 127.0.0.1. The Modbus mock listens on every interface unless you set MODBUS_HOST to 127.0.0.1. If the only address you have is a plant subnet, stop.
  2. Leave write flags unset. Do not copy a sample that sets MQTT_WRITES_ENABLED, S7_WRITES_ENABLED, S7_SYSTEM_CMDS_ENABLED, or PLCTAP_ALLOW_WRITE to true.
  3. Read the tool list the client shows before you ask the model to call anything. A write tool in that list ends the exercise, even on a simulator.
  4. For MQTT, start a broker that is not bridged, then the publisher's mock client. The IndustriConnect quick start binds Mosquitto to 127.0.0.1:1883 with no authentication. Confirm the topics you read are the mock's.
  5. For S7, use the IndustriConnect mock on 127.0.0.1 port 1102. For Modbus, use that server's mock and its register map. Do not substitute a gateway.
  6. Treat one successful read as a smoke test. Disconnect after it. A second protocol, a scan, or a write is a different decision.
  7. Do not run a port probe, BACnet Who-Is, or any other discovery against a network you do not own. plctap's detect_device probes ports. That is not part of this pass.

Where to stop

Some listed servers are honest about the gap between a mock and hardware. Use that sentence as a stop, not as a prompt to go further.

  • IndustriConnect EtherNet/IP MCP describes its mock as a JSON bridge, not a PLC. The entry was last verified on 2026-11-30.
  • IndustriConnect PROFINET MCP says cyclic I/O in the public server goes through a mock, and that discovery has not been tested on hardware. Last verified 2026-11-30.
  • IndustriConnect EtherCAT MCP says it has not been run on hardware. The mock is for a local smoke test only. Last verified 2026-11-30.
  • FieldWorks protocol adapters registers write_tag. The README opened on 5 November 2026 says writes are denied without topology.yaml, and it documents local OPC UA and Modbus fixture simulators. The write tool is still registered. That is a later exercise, not the first one. The kukapay OPC UA and Modbus READMEs, opened the same day, list write tools and do not document an arming switch. Do not start there.
  • s7-mcp-bridge is not an entry. Its README, opened on 5 November 2026, requires the Siemens PLC web server and lists tag writes and operating-mode changes. It describes no mock. It is not a sandbox. The Siemens S7 comparison keeps that web API separate from S7comm.

FAQ

What is a safe first test of an industrial MCP server?

Use a server whose publisher documents a mock on 127.0.0.1, and leave every write flag unset. As of 5 November 2026, that is a smoke test of the tool call. It is not a hardware test, a compatibility result, or a safety case. Do not point the process at a plant address.

Does read-only mean I can point the server at a live PLC?

No. As of 5 November 2026, read-only means the checked tool list had no write. The session is still a session. Proxus publishes no write tool, and its notes describe named devices, not a bundled mock. A plant address is outside this exercise.

What does a mock PLC prove?

It proves the server returned a value from the publisher's simulator. IndustriConnect says its S7 tools work against an emulated CPU 315-2 PN/DP and have not been validated across a range of real CPUs. As of 5 November 2026, a matching read is not compatibility with your CPU, rack, or firmware.

Should I enable PUT/GET so an S7 server has something to read?

No. As of 5 November 2026, python-snap7 says S7-1200 and S7-1500 access needs PUT/GET, that it is unauthenticated, and that it is off by default. Leave it off. This exercise uses the mock on port 1102 and does not change a CPU.

Where is the guidance for a later pilot?

As of 5 November 2026, the write-access guide counts which servers can write and lists pilot controls. This page stops before that. A mock pass is not permission to open a route to a controller.

Sources

Catalog rows were last verified on the date each tool page shows, 3 November 2026 for the servers cited here unless that page says otherwise. READMEs and the specifications named below were opened on 5 November 2026. This page did not open a socket to a controller.