OPC-UA MCP Server

io.github.mwieczorkiewicz/opcua-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "opcua-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
      ],
      "env": {
        "OPCUA_ENDPOINT": "<your OPCUA_ENDPOINT>",
        "OPCUA_AUTH_MODE": "anonymous",
        "OPCUA_PASSWORD": "<your OPCUA_PASSWORD>",
        "OPCUA_SECURITY_POLICY": "None",
        "OPCUA_SECURITY_MODE": "None",
        "SERVER_TRANSPORT": "stdio"
      }
    }
  }
}
Environment variables
  • OPCUA_ENDPOINTrequiredOPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840
  • OPCUA_AUTH_MODEAuthentication mode against the OPC-UA server
  • OPCUA_PASSWORDsecretPassword, required if OPCUA_AUTH_MODE=username
  • OPCUA_SECURITY_POLICYOPC-UA transport security policy, e.g. Basic256Sha256
  • OPCUA_SECURITY_MODEOPC-UA transport security mode, e.g. SignAndEncrypt
  • SERVER_TRANSPORTMCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.0
Registry
active
Published
8/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that OPC-UA MCP Server is listed here — it’s also the link we check for a free listing.

OPC-UA MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mwieczorkiewicz-opcua-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="OPC-UA MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![OPC-UA MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mwieczorkiewicz-opcua-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.