- Home
- MCP servers
- OPC UA
OPC UA
- other
0
GitHub Stars
other
Language
2 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"intigration-mcp-uaserver": {
"command": "python",
"args": [
"path/to/opcua_mcp/main.py"
],
"env": {
"OPCUA_SERVER_URL": "your-opc-ua-server-url"
}
}
}
}You deploy the OPC UA MCP Server to bridge OPC UA-enabled industrial systems with MCP clients, enabling real-time monitoring, analysis, and control through AI-driven workflows.
How to use
Use this MCP server with your MCP client to read and write OPC UA nodes, browse the namespace, and execute batch operations. You can query a single node’s value, set a node to a new value, read multiple nodes at once, or write several nodes in a single step. These capabilities let you build AI-powered automation and monitoring workflows around your industrial assets.
How to install
Prerequisites include Python 3.13 or higher and access to an OPC UA server (real or simulated). Install the server dependencies and run the MCP client configuration as shown.
Step 1: Install dependencies and clone the project.
git clone https://github.com/kukapay/opcua-mcp.git
cd opcua-mcp
pip install mcp[cli] opcua cryptography
Step 2: Prepare the MCP client configuration to connect to your OPC UA server.
{
"mcpServers": {
"opcua-mcp": {
"command": "python",
"args": ["path/to/opcua_mcp/main.py"],
"env": {
"OPCUA_SERVER_URL": "your-opc-ua-server-url"
}
}
}
}
Available tools
read_opcua_node
Read the value of a specific OPC UA node with a provided node_id.
write_opcua_node
Write a value to a specific OPC UA node given a node_id and value.
Browse nodes
List or query OPC UA nodes to explore the server's address space.
Read multiple OPC UA Nodes
Read values from multiple OPC UA nodes in a single operation.
Write to multiple OPC UA Nodes
Write values to multiple OPC UA nodes in a single operation.