Blog · Industrial AI & Protocol Stacks
Connecting IO-Link to AI agents: MCP and ChatGPT diagnostics
How the Model Context Protocol (MCP) bridges industrial sensor networks with AI models for conversational diagnostics, automated IODD generation, and station design.
Industrial IoT meets the Model Context Protocol
The industrial automation industry is undergoing a structural shift. Traditionally, operational technology (OT) protocols like IO-Link (IEC 61131-9) were isolated behind proprietary gateways and fieldbuses. Machine parameters, diagnostic logs, and sensor configurations were locked in PDFs or proprietary engineering databases.
With the rise of the Model Context Protocol (MCP)—an open standard enabling Large Language Models (LLMs) to query external data sources and invoke typed tools securely—AI agents can now participate directly in industrial engineering workflows. Instead of manually cross-referencing datasheets and register maps, engineers can use assistants like ChatGPT, Claude, and Codex to design, validate, and commission sensor stations.
How Shylenko Device Bench enables agentic automation
The Shylenko Device Bench provides a production-grade, hosted MCP server (https://mcp.iolinki.com/mcp) purpose-built for IO-Link. By exposing deterministic, typed tools rather than unconstrained text, AI models can carry out complex automation tasks reliably:
- Automated Sensor Selection: An engineer describes an application in plain English (e.g., "Detect a stainless steel bolt at 4 mm on an indexing conveyor"). The assistant calls
iolink_station_parts, evaluates sensing ranges against real datasheets, and selects the optimal device (such as an inductive sensor with Factor 1 capability). - IODD Authoring & Patching: AI agents can create complete IO-Link Device Descriptions from scratch or update existing files using fine-grained tools like
iodd_set_identityandiodd_add_variable. Every edit is checked against the official October 2025 IO-Link XSD schemas. - Station Topology Synthesis: The model maps chosen sensors to multiport masters (Turck, ifm, Siemens), calculates cable lengths, computes total current draw against power supply limits, and generates an interactive 3D station URL.
- Firmware C Code Generation: For custom sensor designs, the MCP server can export ready-to-compile C header definitions and process data mappings compatible with the iolinki C device stack.
Conversational device diagnostics in practice
Consider an automated coolant line throwing an intermittent process warning. Traditionally, diagnosing this requires connecting a programming unit, loading the vendor's software, finding the right master port, and decoding a raw 16-bit hex value.
With an MCP-connected assistant, the troubleshooting workflow is transformed into natural dialogue:
User: "Port X2 on the cooling loop master returned hex value 0x01A4. What does this mean?"
Assistant: [Calls iolinki IODD parser tool]
"Hex 0x01A4 corresponds to 420 in decimal.
According to the ifm TA2105 temperature transmitter IODD (16-bit cyclic Process Data In),
this parameter uses a 0.1 °C gradient.
The measured temperature is currently 42.0 °C, which is within the normal 0–60 °C operating band."
Security and deterministic execution
Connecting AI models to industrial infrastructure requires rigorous safety boundaries. The iolinki MCP architecture adheres to three core engineering principles:
- Zero Direct Device Writes: The AI assistant prepares, validates, and exports configurations. It cannot write directly to physical factory actuators without explicit human approval and verified PLC download.
- Stateless Client Privacy: Device descriptions and projects stay in your browser or are protected by 24-hour private snapshot recovery tokens. No proprietary plant topology is stored permanently on remote servers.
- Schema Determinism: Every parameter index, datatype, and bit length generated by an AI assistant is verified against the official IO-Link Consortium XML schemas before export.
Try it yourself
Connect your favorite AI assistant to IO-Link tooling today:
- Visit the Shylenko Device Bench setup to connect ChatGPT, Claude, or Codex.
- Design and simulate your first automated station in the Station Studio.
- Download the portable iolinki agent plugin for local offline workflows.