OPC UA MCP 服务器
连接到支持 OPC UA 的工业系统的 MCP 服务器,允许 AI 代理实时监控、分析和控制操作数据。
该项目非常适合希望将人工智能驱动的工作流程与工业自动化系统相结合的开发人员和工程师。
特征
读取 OPC UA 节点:从工业设备检索实时值。
写入 OPC UA 节点:通过将值写入指定节点来控制设备。
无缝集成:与 Claude Desktop 等 MCP 客户端协作实现自然语言交互。
工具
该服务器公开了两个工具:
read_opcua_node:描述:读取特定 OPC UA 节点的值。
参数:
node_id(str):OPC UA 节点 ID(例如,ns=2;i=2)。
返回:包含节点 ID 及其值的字符串(例如,“Node ns=2;i=2 value: 42”)。
write_opcua_node:描述:将值写入特定的 OPC UA 节点。
参数:
node_id(str):OPC UA 节点 ID(例如,ns=2;i=3)。value(str):要写入的值(根据节点类型转换)。
返回:成功或错误消息(例如,“成功将 100 写入节点 ns=2;i=3”)。
示例提示
“节点 ns=2;i=2 的值是多少?” → 返回当前值。
“将节点 ns=2;i=3 设置为 100。”→ 将 100 写入节点。
安装
先决条件
Python 3.10 或更高版本
OPC UA 服务器(例如,模拟器或真实工业设备)
安装依赖项
克隆存储库并安装所需的 Python 包:
MCP 客户端配置
执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
This server cannot be installed
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA simple MCP server for interacting with OpenAI assistants. This server allows other tools (like Claude Desktop) to create and interact with OpenAI assistants through the Model Context Protocol.Last updated -936MIT License
- -security-license-qualityAn MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.Last updated -214MIT License
- Asecurity-licenseAqualityAn MCP server that enables AI agents to authenticate with and interact with Open eClass platform instances, supporting UoA's SSO authentication system for retrieving course information and performing basic platform operations.Last updated -46
- Asecurity-licenseAqualityA unified control center for managing MCP servers, providing tooling for environment variable management, profile-based configurations, and local package installation automation.Last updated -241MIT License