Skip to content
mcp/skillhub

OPC-UA MCP Server

by mwieczorkiewiczio.github.mwieczorkiewicz/opcua-mcpv1.0.0

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

5Dockerstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained2mo ago

Install OPC-UA MCP server

Install in Claude Code

claude mcp add opcua -e OPCUA_ENDPOINT=opc.tcp://localhost:4840 -e OPCUA_PASSWORD='<opcua-password>' -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_PASSWORD ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4

Configuration

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

Freshness

Maintained — last maintenance signal 2mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-08-05 · 2mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-08-05 · 2mo ago · official registry · v1.0.0

FAQ

›How do I install the OPC-UA MCP server in Claude Code?

Run: claude mcp add opcua -e OPCUA_ENDPOINT=opc.tcp://localhost:4840 -e OPCUA_PASSWORD='<opcua-password>' -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_PASSWORD ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does OPC-UA require an API key?

Yes. It expects OPCUA_ENDPOINT, OPCUA_PASSWORD, of which 1 is a secret.

›Can I use OPC-UA as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is OPC-UA in the official MCP registry?

Yes, as io.github.mwieczorkiewicz/opcua-mcp.

Alternatives to OPC-UA

Other productivity & office MCP servers.

View all