Read, write, browse, search, and subscribe to live data on an OPC-UA industrial automation server.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
OPCUA_ENDPOINTRequired | OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840 |
OPCUA_AUTH_MODEOptional | Authentication mode against the OPC-UA server |
OPCUA_USERNAMEOptional | Username, required if OPCUA_AUTH_MODE=username |
OPCUA_PASSWORDOptional, secret | Password, required if OPCUA_AUTH_MODE=username |
OPCUA_SECURITY_POLICYOptional | OPC-UA transport security policy, e.g. Basic256Sha256 |
OPCUA_SECURITY_MODEOptional | OPC-UA transport security mode, e.g. SignAndEncrypt |
SERVER_TRANSPORTOptional | MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments) |
Details
| Package | ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4 (OCI, stdio) |
| First published | 5 Aug 2026 |
| Last updated | 5 Aug 2026 |
| Registry name | io.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.
