OPC UA MCP Server
@kukapay
About OPC UA MCP Server
An MCP server that connects to OPC UA-enabled industrial systems.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
7Read 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.
FAQ from OPC UA MCP Server
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.
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.
What are the prerequisites?
Python 3.13 or higher and an OPC UA server (simulator or real device).
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.
More Other MCP servers

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Comments