NestDaddy

OPC-UA MCP Server

io.github.mwieczorkiewicz/opcua-mcp · v1.0.0

Read, write, browse, search, and subscribe to live data on an OPC-UA industrial automation server.

Connect Runs on your machine

Terminal
claude mcp add opcua-mcp -e OPCUA_ENDPOINT=<OPCUA_ENDPOINT> -e OPCUA_AUTH_MODE=<OPCUA_AUTH_MODE> -e OPCUA_USERNAME=<OPCUA_USERNAME> -e OPCUA_PASSWORD=<OPCUA_PASSWORD> -e OPCUA_SECURITY_POLICY=<OPCUA_SECURITY_POLICY> -e OPCUA_SECURITY_MODE=<OPCUA_SECURITY_MODE> -e SERVER_TRANSPORT=<SERVER_TRANSPORT> -- docker run -i --rm ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4
claude_desktop_config.json
{
  "mcpServers": {
    "opcua-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
      ],
      "env": {
        "OPCUA_ENDPOINT": "<OPCUA_ENDPOINT>",
        "OPCUA_AUTH_MODE": "<OPCUA_AUTH_MODE>",
        "OPCUA_USERNAME": "<OPCUA_USERNAME>",
        "OPCUA_PASSWORD": "<OPCUA_PASSWORD>",
        "OPCUA_SECURITY_POLICY": "<OPCUA_SECURITY_POLICY>",
        "OPCUA_SECURITY_MODE": "<OPCUA_SECURITY_MODE>",
        "SERVER_TRANSPORT": "<SERVER_TRANSPORT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "opcua-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
      ],
      "env": {
        "OPCUA_ENDPOINT": "<OPCUA_ENDPOINT>",
        "OPCUA_AUTH_MODE": "<OPCUA_AUTH_MODE>",
        "OPCUA_USERNAME": "<OPCUA_USERNAME>",
        "OPCUA_PASSWORD": "<OPCUA_PASSWORD>",
        "OPCUA_SECURITY_POLICY": "<OPCUA_SECURITY_POLICY>",
        "OPCUA_SECURITY_MODE": "<OPCUA_SECURITY_MODE>",
        "SERVER_TRANSPORT": "<SERVER_TRANSPORT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "opcua-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
      ],
      "env": {
        "OPCUA_ENDPOINT": "<OPCUA_ENDPOINT>",
        "OPCUA_AUTH_MODE": "<OPCUA_AUTH_MODE>",
        "OPCUA_USERNAME": "<OPCUA_USERNAME>",
        "OPCUA_PASSWORD": "<OPCUA_PASSWORD>",
        "OPCUA_SECURITY_POLICY": "<OPCUA_SECURITY_POLICY>",
        "OPCUA_SECURITY_MODE": "<OPCUA_SECURITY_MODE>",
        "SERVER_TRANSPORT": "<SERVER_TRANSPORT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
OPCUA_ENDPOINT
Required
OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840
OPCUA_AUTH_MODE
Optional
Authentication mode against the OPC-UA server
OPCUA_USERNAME
Optional
Username, required if OPCUA_AUTH_MODE=username
OPCUA_PASSWORD
Optional, secret
Password, required if OPCUA_AUTH_MODE=username
OPCUA_SECURITY_POLICY
Optional
OPC-UA transport security policy, e.g. Basic256Sha256
OPCUA_SECURITY_MODE
Optional
OPC-UA transport security mode, e.g. SignAndEncrypt
SERVER_TRANSPORT
Optional
MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments)

Details

Packageghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4 (OCI, stdio)
First published5 Aug 2026
Last updated5 Aug 2026
Registry nameio.github.mwieczorkiewicz/opcua-mcp

More search and web servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.