eigen-plc-mcp
eigen-plc-mcp
オープンソース産業用PLCコード生成MCP Server —— オープンソース版 シーメンス Eigen Engineering Agent
MCP(Model Context Protocol)プロトコルに基づき、産業オートメーションのシナリオにインテリジェントなPLCコード生成・デバッグ・検証機能を提供します。
なぜこのプロジェクトを作るのか?
2026年7月、シーメンスは WAIC(世界人工知能大会)で Eigen Engineering Agent を発表しました —— 世界初のPLCコードを単独で作成できる産業用AIエージェントです。しかし、その制約は:
❌ シーメンス自社製PLC(S7-1200/S7-1500)のみ対応
❌ クローズドソース・高価・カスタマイズ不可
❌ サードパーティ製AIエージェントツールチェーンと統合不可
eigen-plc-mcp が実現すること:
✅ オープンソース・無料・カスタマイズ可能
✅ 標準MCPプロトコルに基づき、あらゆるAIエージェントと統合可能
✅ S7-1200(TIA Portal)を起点に、段階的に拡張
✅ PLCプログラミングの経験を再利用可能なナレッジベースとして蓄積
Related MCP server: OpenTIA-MCP
中核機能
機能 | 説明 | ステータス |
PLCコード生成 | プロセス記述に基づきSCL/STコードを自動生成 | 🔜 MVP |
PLCコード検証 | 構文チェック+ロジック検証 | 🔜 MVP |
プロセスナレッジベース | ほうれん草/食品加工ラインのプロセスパラメータ | 🔜 MVP |
TIA Portal統合 | MCP経由でTIA Portal APIを呼び出し | 📋 Roadmap |
マルチブランド対応 | 三菱、オムロン、ABなど | 📋 Roadmap |
HMI画面生成 | HMI画面を自動生成 | 📋 Roadmap |
クイックスタート
インストール
pip install eigen-plc-mcpMCP Clientの設定
Claude Code / Cursor / WorkBuddy などのツールのMCP設定に以下を追加:
{
"mcpServers": {
"eigen-plc-mcp": {
"command": "python",
"args": ["-m", "eigen_plc_mcp"],
"env": {
"PLC_BRAND": "siemens",
"PLC_MODEL": "S7-1200"
}
}
}
}使用例
AIエージェントとの対話で:
请为菠菜初加工产线编写 S7-1200 的清洗段控制逻辑:
- 启动条件:上游传送带运行信号 + 水泵就绪
- 停止条件:急停按钮 + 传送带停止
- 输出:水泵启停 + 传送带速度控制MCP ServerがTIA Portal仕様に準拠したSCLコードを自動生成します。
技術アーキテクチャ
┌─────────────────────────────────┐
│ AI Agent (LLM) │
│ Claude / GPT / Qwen / ... │
└────────────┬────────────────────┘
│ MCP Protocol
┌────────────▼────────────────────┐
│ eigen-plc-mcp Server │
│ ┌──────────┐ ┌──────────────┐ │
│ │Code Gen │ │ Knowledge │ │
│ │Engine │ │ Base │ │
│ └──────────┘ └──────────────┘ │
│ ┌──────────┐ ┌──────────────┐ │
│ │Validator │ │ Template │ │
│ │ │ │ Library │ │
│ └──────────┘ └──────────────┘ │
└────────────┬────────────────────┘
│
┌────────────▼────────────────────┐
│ TIA Portal / PLC Simulator │
└─────────────────────────────────┘プロジェクト背景
本プロジェクトは以下の背景から着想を得ています:
シーメンス Eigen Engineering Agent(WAIC 2026 中国初公開)
S7-1200 PLC ほうれん草一次加工ライン制御システム(卒業論文テーマ)
MCPプロトコルエコシステム(AIエージェントと産業システムの標準的な架け橋)
製造業におけるAI導入の課題(PLCプログラミングのハードルが高く、経験の再利用が困難)
Roadmap
Phase 1 — MVP(予定30時間)
MCP Server基盤フレームワーク構築
S7-1200 SCLコードテンプレートライブラリ(洗浄セクション、搬送セクション、選別セクション)
ほうれん草一次加工ライン知識ベース
コード生成ツール(プロセス記述 → SCLコード)
コード検証ツール(構文+ロジック基本チェック)
README+ドキュメント
Phase 2 — 拡張
TIA Portal Python API統合
より多くのライン工程テンプレート(食品、飲料、包装)
PLCコードシミュレーション検証
マルチブランドPLC適応レイヤー
Phase 3 — 製品化
Web UI(工程設定 → コード生成 → ダウンロード)
SaaSデプロイオプション
エンタープライズ版(プライベートデプロイ+カスタム知識ベース)
貢献ガイド
貢献を歓迎します!特に:
🏭 産業オートメーション分野のPLCプログラミング経験
🔧 MCPプロトコルの開発と最適化
📝 ライン工程ナレッジベースの補充
🧪 テストケースとエッジシナリオ
ライセンス
MIT License
謝辞
シーメンス Eigen Engineering Agent —— このオープンソース代替の着想を与えてくれた
MCPプロトコル —— Anthropicがオープンソース化したAIツールチェーン標準
S7-1200コミュニティ —— 数多くのPLCプログラミング経験の共有
製造業におけるAI導入が未来なら、オープンソースこそが未来への道である。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered PLC programming with natural language to ladder logic conversion, L5X and .ACD project generation, and semantic search through L5X files and documentation.36
- FlicenseNot gradedqualityBmaintenanceAn MCP server that lets AI agents interact with Siemens TIA Portal via its Openness API.
- AlicenseNot gradedqualityCmaintenanceAn open-source MCP server for industrial automation that generates, debugs, and validates PLC code for Siemens S7-1200, serving as a free and customizable alternative to Siemens Eigen Engineering Agent.4MIT
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to Siemens industrial PLCs for automatic monitoring and control of industrial equipment.21MIT
Related MCP Connectors
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asjnk/plc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server