eigen-plc-mcp
Provides tools for generating and validating PLC code (SCL/ST) for Siemens S7-1200 controllers, with planned TIA Portal integration for deployment and simulation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
eigen-plc-mcp
Open-source industrial PLC code generation MCP Server — the open-source version of Siemens Eigen Engineering Agent
Based on the MCP (Model Context Protocol) protocol, it provides intelligent PLC code generation, debugging, and verification capabilities for industrial automation scenarios.
Why this project?
In July 2026, Siemens released Eigen Engineering Agent at WAIC (World Artificial Intelligence Conference) — the world's first industrial AI agent capable of independently writing PLC code. But it:
❌ Only supports Siemens' own PLCs (S7-1200/S7-1500)
❌ Closed-source, expensive, and not customizable
❌ Cannot integrate with third-party AI agent toolchains
What eigen-plc-mcp aims to do:
✅ Open-source, free, and customizable
✅ Based on the standard MCP protocol, integrable with any AI agent
✅ Starting with S7-1200 (TIA Portal) support, expanding step by step
✅ Distilling PLC programming experience into a reusable knowledge base
Related MCP server: smart200-mcp
Core Capabilities
Capability | Description | Status |
PLC code generation | Automatically generates SCL/ST code from process descriptions | 🔜 MVP |
PLC code validation | Syntax checking + logic verification | 🔜 MVP |
Process knowledge base | Process parameters for spinach/food processing lines | 🔜 MVP |
TIA Portal integration | Calls TIA Portal API via MCP | 📋 Roadmap |
Multi-brand support | Mitsubishi, Omron, AB, etc. | 📋 Roadmap |
HMI screen generation | Automatically generates HMI screens | 📋 Roadmap |
Quick Start
Installation
pip install eigen-plc-mcpConfigure MCP Client
Add the following to the MCP configuration in tools such as Claude Code / Cursor / WorkBuddy:
{
"mcpServers": {
"eigen-plc-mcp": {
"command": "python",
"args": ["-m", "eigen_plc_mcp"],
"env": {
"PLC_BRAND": "siemens",
"PLC_MODEL": "S7-1200"
}
}
}
}Usage Example
In an AI agent conversation:
请为菠菜初加工产线编写 S7-1200 的清洗段控制逻辑:
- 启动条件:上游传送带运行信号 + 水泵就绪
- 停止条件:急停按钮 + 传送带停止
- 输出:水泵启停 + 传送带速度控制The MCP Server will automatically generate SCL code that conforms to TIA Portal specifications.
Technical Architecture
┌─────────────────────────────────┐
│ AI Agent (LLM) │
│ Claude / GPT / Qwen / ... │
└────────────┬────────────────────┘
│ MCP Protocol
┌────────────▼────────────────────┐
│ eigen-plc-mcp Server │
│ ┌──────────┐ ┌──────────────┐ │
│ │Code Gen │ │ Knowledge │ │
│ │Engine │ │ Base │ │
│ └──────────┘ └──────────────┘ │
│ ┌──────────┐ ┌──────────────┐ │
│ │Validator │ │ Template │ │
│ │ │ │ Library │ │
│ └──────────┘ └──────────────┘ │
└────────────┬────────────────────┘
│
┌────────────▼────────────────────┐
│ TIA Portal / PLC Simulator │
└─────────────────────────────────┘Project Background
This project is inspired by the following:
Siemens Eigen Engineering Agent (China debut at WAIC 2026)
S7-1200 PLC spinach primary processing line control system (graduation thesis topic)
MCP protocol ecosystem (the standard bridge between AI agents and industrial systems)
Pain points in manufacturing AI adoption (high barrier to PLC programming, hard to reuse experience)
Roadmap
Phase 1 — MVP (estimated 30 hours)
Set up the MCP Server foundation framework
S7-1200 SCL code template library (washing, conveying, sorting sections)
Spinach primary processing line knowledge base
Code generation tool (process description → SCL code)
Code validation tool (syntax + basic logic checks)
README + documentation
Phase 2 — Enhancement
TIA Portal Python API integration
More production line process templates (food, beverage, packaging)
PLC code simulation and verification
Multi-brand PLC adaptation layer
Phase 3 — Productization
Web UI (process configuration → code generation → download)
SaaS deployment option
Enterprise edition (private deployment + customized knowledge base)
Contribution Guidelines
Contributions are welcome! Especially:
🏭 PLC programming experience in industrial automation
🔧 Development and optimization of the MCP protocol
📝 Additions to the production line process knowledge base
🧪 Test cases and edge scenarios
License
MIT License
Acknowledgements
Siemens Eigen Engineering Agent — inspired this open-source alternative
MCP protocol — Anthropic's open-source AI toolchain standard
S7-1200 community — countless shared PLC programming experiences
If AI adoption in manufacturing is the future, then open source is the road to that future.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-native programming language and toolchain for accountable, verifiable agent-driven development.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Deterministic compliance and vertical knowledge bases for autonomous agents. Free 24hr trial.
Shared, peer-validated knowledge archive for AI agents — search, contribute, and validate via MCP
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to Siemens industrial PLCs for automatic monitoring and control of industrial equipment.27MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI to operate STEP 7-Micro/WIN SMART via MCP, supporting offline STL/AWL analysis, project inspection, online PLC monitoring (snap7), and engine-injected operations like compile, download, upload, and symbol management through natural language.9-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to connect to Allen-Bradley, Siemens, and CODESYS PLC projects for discovering, asking questions about, analyzing, and proposing code changes, with access to live tag values and version exports under permission-scoped controls.-
- AlicenseAqualityCmaintenanceEnables AI assistants to access structured PLC brand, IEC 61131-3 language, and code-template knowledge so they can generate IDE-specific automation code from natural-language requests.5MIT