[ 01 · AI · 2026 ]
Production configuration: from SQL to an LLM agent with MCP
Configuring production in the MES (product, line, labels, Siemens PLC recipes) was SQL that only development could run. Now each domain has its screen with validation and, on top, an LLM agent that uses those same functions through MCP and proposes changes as drafts, which the user applies.
1 · Line · What gets configured
The recipes set up here are the operations each PLC receives: what to screw, what to flash, what to test, and which label each station prints.
2 · Communications · Through the API, never direct
Screens and the agent talk to the MES API, with its validations: neither goes straight to the database.
3 · MES · One screen per domain
Part name, labels, SIM, branding, screens, serials and recipes, each with its screen; the hub that brings them together; the recipe manager, with a preview; and Changes, with undo.
4 · Agent · MCP and drafts
The MCP server exposes the same functions as the screens, with the asking user’s permissions: 14 for reading and one for drafts. The model proposes; the user applies.
The situation
Related
- 02 2026 MQTT: before and afterEvery MQTT entry point, reworked one by one: in parallel, indexed, with no wasted queries, and cached. Data 55 s → 0.9 s
- 03 2025 Plant: health and restartCapability-based monitoring of the factory’s services, and recovery with nobody touching anything. Plant 3 min, no one involved