Skip to main content

OPC-UA MCP Server

io.github.mwieczorkiewicz/opcua-mcp

v1.0.0Updated Aug 5, 2026stdio · Docker

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add opcua-mcp -e OPCUA_ENDPOINT=opc.tcp://localhost:4840 -e OPCUA_AUTH_MODE=anonymous -e OPCUA_SECURITY_POLICY=None -e OPCUA_SECURITY_MODE=None -e SERVER_TRANSPORT=stdio -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_AUTH_MODE -e OPCUA_SECURITY_POLICY -e OPCUA_SECURITY_MODE -e SERVER_TRANSPORT ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4

Configuration

7 settings.

  • OPCUA_ENDPOINT
    Env var· required
    OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840Default: opc.tcp://localhost:4840
  • OPCUA_PASSWORD
    Env var· optional· secret
    Password, required if OPCUA_AUTH_MODE=username
  • OPCUA_AUTH_MODE
    Env var· optional
    Authentication mode against the OPC-UA serverDefault: anonymous
  • OPCUA_USERNAME
    Env var· optional
    Username, required if OPCUA_AUTH_MODE=username
  • OPCUA_SECURITY_POLICY
    Env var· optional
    OPC-UA transport security policy, e.g. Basic256Sha256Default: None
  • OPCUA_SECURITY_MODE
    Env var· optional
    OPC-UA transport security mode, e.g. SignAndEncryptDefault: None
Show 1 more
  • SERVER_TRANSPORT
    Env var· optional
    MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments)Default: stdio

Listed in the official MCP Registry since Aug 5, 2026. Mirrored daily; last checked Nov 26, 2026.