openplc-engineering-mcp
openplc-engineering-mcp
一个基于 Python 的小型 MCP 服务器,为 OpenPLC 提供面向领域、只读的工程操作。
该项目是一个早期的实验性实现。其当前目的是在兼容 MCP 的代理与 OpenPLC Editor 项目之间建立一个最小、可测试的集成边界。
架构
MCP Host / LLM Agent
|
| MCP
v
OpenPLC Engineering MCP
|
v
OpenPLC该服务器使用官方的 Model Context Protocol Python SDK 和 stdio 传输。它不会修改 OpenPLC,也不会暴露通用的文件系统或 shell 工具。
Related MCP server: gx3-mcp-server
要求
Python 3.12+
Node.js/npm 仅在使用 MCP Inspector 时需要(
mcp dev使用npx)
安装
git clone https://github.com/industrix-com-br/openplc-engineering-mcp.git
cd openplc-engineering-mcp
uv sync运行
启动 stdio MCP 服务器:
uv run openplc-engineering-mcp使用 MCP Inspector 打开它:
uv run mcp dev src/openplc_engineering_mcp/server.py --with-editable .测试
uv run pytest测试使用官方 SDK 基于内存的 Client(mcp) 接口,而不是直接调用工具函数。
当前工具
get_server_info— 报告服务器当前的能力。get_project_structure— 返回 OpenPLC Editor 项目的相关结构。list_pous— 根据当前的 OpenPLC Editor 项目布局列出程序、功能块和函数。
OpenPLC 项目检查遵循当前的 Editor 布局:project.json 位于项目根目录,POUs 位于 pous/programs、pous/function-blocks 和 pous/functions 之下,以及 Editor 使用的相关设备和数据类型位置。
范围
此版本有意保持只读和实验性。它不包括项目修改、编译、部署、运行时控制、变量强制、认证、HTTP 传输或不受限制的 shell/文件系统访问。只有在具体需求证明有必要时,才应添加这些能力。
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
- FlicenseBqualityDmaintenanceEnables AI agents to read and understand local Mendix project structure and logic by connecting directly to the .mpr file via MCP. Allows querying microflows, entities, attributes, and modules in read-only mode without requiring cloud access.41
- FlicenseBqualityBmaintenanceProvides read-only analysis of Mitsubishi GX Works3 PLC projects via MCP, enabling device tracing, cross-referencing, ladder inspection, linting, and report generation without modifying source projects.12
- FlicenseNot gradedqualityCmaintenanceEnables MCP agents to inspect deployment knowledge extracted from a repository, covering workflows, services, deployments, and images.
- FlicenseNot gradedqualityBmaintenanceProvides read-only, structured access to Yasin ecosystem information (project registry, documentation, GitHub state, diagnostics) through the MCP protocol, enabling AI agents to query without direct repository access.
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Read-only Remote MCP for externally grounded AI agent trust receipts.
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
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/industrix-com-br/openplc-engineering-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server