Opcua MCP logo

Opcua MCP

by kukapay

Reads from and writes to OPC UA industrial systems, including individual and multiple nodes.

Install Opcua MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for kukapay/opcua-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The kukapay/opcua-mcp MCP server connects AI clients to OPC UA-enabled industrial systems for reading and writing operational data. It uses a configured OPC UA server URL and exposes tools for node access, browsing, and multiple-node operations. Reach for it when an agent needs to inspect device values or issue node writes through an MCP-compatible client such as Claude Desktop. The project requires Python 3.13 or later and an available OPC UA server.

Use cases

  • Read current values from industrial OPC UA devices
  • Write control values to OPC UA nodes
  • Browse available OPC UA nodes
  • Monitor multiple industrial data points
  • Control multiple OPC UA nodes

Key features

  • Read individual OPC UA nodes
  • Write typed values to OPC UA nodes
  • Browse OPC UA nodes
  • Read multiple nodes
  • Write multiple nodes

Tools2

What Opcua MCP lets your agent do. Expand a tool for its parameters.

Self-reported~33 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

5/5 checks healthy over the last 80d

Supply-chain signal

6 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 0High 6Medium 0Low 6

Scanned 8/26/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars31Stargazers on the source repository.
Last commit12mo agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Opcua MCP works

What kukapay/opcua-mcp MCP server does

The kukapay/opcua-mcp MCP server gives an MCP client access to data exposed by an OPC UA server. Its documented use cases include retrieving current values from industrial devices and writing values back to specified nodes. This makes it suitable for agent-assisted monitoring, operational analysis, and device control where the underlying equipment already provides an OPC UA interface.

The server works with individual nodes as well as multiple-node operations. A node is identified with an OPC UA node ID such as ns=2;i=2. Read operations return text containing the node identifier and its value. Write operations accept a value as text and convert it according to the target node's type, returning either a success message or an error.

How it works

An MCP-compatible client sends a tool request to the local server. The server connects to the OPC UA endpoint configured through OPCUA_SERVER_URL, performs the requested node operation, and returns the result to the client. Example interactions include asking for the value of a node or instructing the client to set a node to a specified value.

The detailed parameter and return information is provided for the single-node read and write operations. The project description positions these operations for real-time access to industrial data, but the material does not specify subscription behavior, polling intervals, or event handling.

Setup and configuration

Using kukapay/opcua-mcp requires Python 3.13 or newer and access to an OPC UA server, such as a simulator or an industrial device. The documented setup is to clone the repository and install the Python dependencies with:

  • mcp[cli]
  • opcua
  • cryptography

The MCP client configuration uses python as the command and points its arguments to the repository's opcua_mcp/main.py file. Set OPCUA_SERVER_URL in the client environment to the URL of the OPC UA server.

Claude Desktop is explicitly listed as a compatible MCP client.

Tools and capabilities

  • Read a specific OPC UA node using node_id.
  • Write a value to a specific node using node_id and value.
  • Browse OPC UA nodes.
  • Read values from multiple nodes.
  • Write values to multiple nodes.

For a single-node read, the response includes the node ID and its value. For a single-node write, the value is supplied as a string and converted based on the node type.

Limitations and notes

This project depends on an accessible OPC UA server; it is not an OPC UA device simulator. Validate write permissions and node data types in the target industrial environment before allowing an agent to perform control operations. The repository states that it is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Opcua MCP

Clone the repository, use Python 3.13 or newer, and install `mcp[cli]`, `opcua`, and `cryptography` with pip.

Yes.

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

Yes. Its documented write capability accepts a node ID and value, converting the value based on the target node's type.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpcua MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kukapay-opcua-mcp?style=directory)](https://allmcps.com/mcp/kukapay-opcua-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/kukapay-opcua-mcp"><img src="https://allmcps.com/api/badge/kukapay-opcua-mcp?style=directory" alt="Opcua MCP on AllMCPs" /></a>