MCP.so
Sign In

OPC UA MCP Server

@kukapay

Basic information

Category

Other

License

MIT

Transports

stdio

Author

kukapay

About OPC UA MCP Server

An MCP server that connects to OPC UA-enabled industrial systems.

OPC UA MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

OPC UA MCP Server tools

7

Read the value of a specific OPC UA node.

A string with the node ID and its value (e.g., "Node ns=2;i=2 value: 42").

Write a value to a specific OPC UA node.

A success or error message (e.g., "Successfully wrote 100 to node ns=2;i=3").

Read the value of a specific OPC UA node.

Read the value of a specific OPC UA node.

Read the value of a specific OPC UA node.

Overview

What is OPC UA MCP Server?

OPC UA MCP Server connects to OPC UA-enabled industrial systems, allowing AI agents to monitor, analyze, and control operational data in real time. It is designed for developers and engineers bridging AI-driven workflows with industrial automation.

How to use OPC UA MCP Server?

Install dependencies with pip install mcp[cli] opcua cryptography, then configure your MCP client (e.g., Claude Desktop) to run the server script with the OPCUA_SERVER_URL environment variable pointing to your OPC UA server. The server exposes five tools for reading and writing node values.

Key features of OPC UA MCP Server

  • Read real-time values from OPC UA nodes.
  • Write values to control industrial devices.
  • Browse available OPC UA nodes in the server.
  • Read multiple nodes in a single request.
  • Write to multiple nodes simultaneously.

Use cases of OPC UA MCP Server

  • Monitor live sensor data from industrial equipment.
  • Adjust setpoints or control actuators via natural language.
  • Automate data collection from multiple OPC UA nodes.
  • Integrate AI agent queries with factory floor systems.

Frequently asked questions

1

What tools does the server provide?

It offers five tools: `read_opcua_node`, `write_opcua_node`, `Browse nodes`, `Read multiple OPC UA Nodes`, and `Write to multiple OPC UA Nodes`.

2

How do I connect to my OPC UA server?

Set the `OPCUA_SERVER_URL` environment variable in your MCP client configuration to your OPC UA server’s URL.

3

What are the prerequisites?

Python 3.13 or higher and an OPC UA server (simulator or real device).

4

What can I ask an AI agent to do?

You can ask "What’s the value of node ns=2;i=2?" to read a value, or "Set node ns=2;i=3 to 100." to write a value.

Comments

More Other MCP servers