Loading...
pip install mcp[cli]{
"mcpServers": {
"opcua-mcp": {
"command": "python",
"args": ["path/to/opcua_mcp/main.py"],
"env": {
"OPCUA_SERVER_URL": "your-opc-ua-server-url"
}
}
}
}read_opcua_nodeRetrieves the current value of a specified OPC UA node.
Read-only operation; no modification of system state.
write_opcua_nodeWrites a specified value to a given OPC UA node.
Modifies system state, but requires explicit node ID and value.
Browse nodesBrowse and list all opcua nodes.
Read-only operation; no modification of system state.
Read multiple OPC UA NodesRead the value of a specific OPC UA node.
Read-only operation; no modification of system state.
Write to multiple OPC UA NodesRead the value of a specific OPC UA node.
Modifies system state, but requires explicit node ID and value.
This server is relatively safe for read-only operations. Write operations pose a moderate risk, as they directly influence industrial systems and depend on the OPC UA server's security measures. Proper configuration and validation are crucial to avoid unintended consequences.