MCP-PLC: Model Context Protocol for Programmable Logic Controllers
MCP-PLC is not a single formal standard or protocol, but rather the convergence of two technologies — Anthropic's Model Context Protocol (MCP) and Programmable Logic Controllers (PLCs) — to enable AI agents to interact with industrial automation systems.
The Two Components
MCP (Model Context Protocol) — An open standard created by Anthropic (November 2024) that provides a standardized way for AI applications (like Claude, GPT) to connect to external data sources and tools. It uses a client-server architecture with JSON-RPC messaging, allowing AI models to discover and invoke tools, read resources, and use prompts from external systems.
PLC (Programmable Logic Controller) — Industrial hardened computers that control manufacturing processes, assembly lines, robotic cells, and machinery. Major vendors include Siemens, Schneider Electric, Allen-Bradley (Rockwell), Mitsubishi, Omron, ABB, Beckhoff, and WAGO. PLCs use diverse, often proprietary communication protocols (S7, Modbus, OPC UA, EtherNet/IP, Profinet, etc.).
The Concrete Implementation: mcp-plc-core
The most direct embodiment of "MCP-PLC" is the open-source npm package mcp-plc-core by Maxkrempl. It is described as:
"Universal MCP Server for industrial PLC communication — works with ANY PLC."
Key features:
- Adapter-based architecture — Write a simple adapter (implementing 6 methods) to connect to any PLC regardless of manufacturer or protocol
- Built-in adapters for Modbus TCP (Schneider, ABB, WAGO, CODESYS, Arduino) and Siemens S7 (RFC1006)
- Community adapters planned for OPC UA, EtherNet/IP, BACnet, MQTT/Sparkplug B, Mitsubishi MC Protocol, Omron FINS, and more
- Exposes MCP tools like
read_sensor,get_alarms,get_status,get_setpoints,write_setpoint, andget_all - Safety features — Read-only by default, configurable min/max limits for setpoints, audit logging, and write protection (only setpoint registers, never direct I/O)
Broader Industry Context
MCP-PLC is part of a larger trend in industrial automation:
-
CODESYS has adopted MCP, challenging traditional go-to-market strategies of Siemens, Emerson, and Schneider Electric (per ABI Research).
-
TIA Portal MCP Server — An MCP server built on top of Siemens TIA Openness V21, allowing AI assistants to list PLC blocks, import tags from Excel, export code, and organize projects.
-
Beckhoff TwinCAT CoAgent — Demonstrated at Hannover Messe 2026, using MCP as the protocol layer for voice-commanded control of industrial robots.
-
OPC Router 5.5 — Added native MCP gateway capabilities for connecting AI agents to industrial systems.
-
HighByte Industrial MCP Server — An embedded MCP server for industrial IoT data integration.
Why MCP-PLC Matters
Manufacturing faces protocol fragmentation — a typical factory uses OPC-UA, Modbus, Siemens S7, Beckhoff ADS, Allen-Bradley EtherNet/IP, MQTT, and various REST/SOAP APIs, all in the same facility. MCP-PLC solutions wrap these diverse protocols into standardized tool interfaces that AI agents can discover and use through natural language, enabling queries like "What's the current temperature on line 3?" or "Set the pressure setpoint to 6.2 bar" without custom integration code for each system.
Summary
| Aspect | Detail |
|---|---|
| MCP | Model Context Protocol — Anthropic's open standard for AI-to-tool integration |
| PLC | Programmable Logic Controller — industrial automation hardware |
| MCP-PLC | The application of MCP to connect AI agents with PLCs for manufacturing |
| Key Project | mcp-plc-core (npm/GitHub) — universal MCP server with adapter architecture |
| Industry Adoption | CODESYS, Beckhoff, Siemens TIA Portal, OPC Router, HighByte |
| Primary Use | AI-assisted monitoring, diagnostics, setpoint adjustment, and engineering of industrial automation systems |