Skip to main content
Glama
asjnk

eigen-plc-mcp

by asjnk

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 Agent 도구 체인과 통합 불가

eigen-plc-mcp가 하는 일:

  • ✅ 오픈소스, 무료, 커스터마이징 가능

  • ✅ 표준 MCP 프로토콜 기반, 모든 AI Agent와 통합 가능

  • ✅ 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-mcp

MCP 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 Agent 대화에서:

请为菠菜初加工产线编写 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 시금치 1차 가공 라인 제어 시스템(졸업 논문 주제)

  • MCP 프로토콜 생태계(AI Agent와 산업 시스템의 표준 브리지)

  • 제조업 AI 도입의痛点(PLC 프로그래밍 진입 장벽 높음, 경험 재사용 어려움)

Roadmap

Phase 1 — MVP(예상 30시간)

  • MCP Server 기본 프레임워크 구축

  • S7-1200 SCL 코드 템플릿 라이브러리(세척 구간, 이송 구간, 선별 구간)

  • 시금치 1차 가공 라인 지식 베이스

  • 코드 생성 tool(공정 설명 → SCL 코드)

  • 코드 검증 tool(문법 + 로직 기본 검사)

  • 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 도입이 미래라면, 오픈소스가 미래로 가는 길입니다.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    An 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.
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Connects AI agents to Siemens industrial PLCs for automatic monitoring and control of industrial equipment.
    21
    MIT

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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