Back to MCP Directory
Opcua
Model Context Protocol moderate risk

Opcua

An MCP server facilitating real-time interaction with OPC UA industrial systems, enabling AI agents to monitor and control operational data.

Connections & Capabilities

Connects To

GitHub

Capabilities

readwrite

Quickstart

Install

pip install mcp[cli]

Config

{
 "mcpServers": {
   "opcua-mcp": {
     "command": "python",
     "args": ["path/to/opcua_mcp/main.py"],
     "env": {
        "OPCUA_SERVER_URL": "your-opc-ua-server-url"
     }
   }
 }
}

Exposed MCP Tools (5)

safe
read_opcua_node

Retrieves the current value of a specified OPC UA node.

Read-only operation; no modification of system state.

moderate
write_opcua_node

Writes a specified value to a given OPC UA node.

Modifies system state, but requires explicit node ID and value.

safe
Browse nodes

Browse and list all opcua nodes.

Read-only operation; no modification of system state.

safe
Read multiple OPC UA Nodes

Read the value of a specific OPC UA node.

Read-only operation; no modification of system state.

moderate
Write to multiple OPC UA Nodes

Read the value of a specific OPC UA node.

Modifies system state, but requires explicit node ID and value.

Safety Assessment

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.

  • Limited scope: Primarily focuses on OPC UA interactions.
  • Requires explicit node IDs for read/write operations.
  • No inherent internet exposure beyond configured OPC UA server.
  • Relies on OPC UA server's security for access control.
  • Write operations can directly affect industrial processes.
  • No built-in input validation on write operations beyond OPC UA server.
  • Potential for unintended consequences if node IDs are misconfigured.
  • Exposure depends on the security configuration of the underlying OPC UA server.