OPC UA MCP Server
io.github.midhunxavier/opcua
MCP server Not tested
Connect AI assistants to industrial OPC UA: browse, read, history, subscriptions, events and alarms.
Technical sheet
- Author
- midhunxavier (registry namespace)
- Repository
- github.com/IndustriAgents/OPCUA-MCP
- Site
- industriagents.com/connect/opcua
- Version
- 0.6.0
- Transport
- stdio
- Authentication
- None (declared in the registry)
- Packages
- opcua-mcp-server 0.6.0 npm stdio
- Tools
- —
- Categories
- —
- Last updated
- 5 Nov 2026
- Published
- 5 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: no successful test not yet
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.midhunxavier/opcua)<a href="https://latlas.dev/en/mcp/io.github.midhunxavier/opcua"><img src="https://latlas.dev/badge/statut/mcp/io.github.midhunxavier/opcua.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.midhunxavier/opcua)<a href="https://latlas.dev/en/mcp/io.github.midhunxavier/opcua"><img src="https://latlas.dev/badge/fiche/io.github.midhunxavier/opcua.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package opcua-mcp-server (npm). Formats taken from each client’s documentation.
claude mcp add-json opcua '{"command":"npx","args":["-y","[email protected]"]}'{
"mcpServers": {
"opcua": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opcua": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opcua": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"opcua": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opcua": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}[mcp_servers.opcua]
command = "npx"
args = ["-y","[email protected]"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| OPCUA_SERVER_URL | yes | URL of the OPC UA server to connect to, including any path the server expects. Read once at startup: one process serves one endpoint. Verify who answers with an exact server certificate pin or a conf… |
| OPCUA_PYTHON_BACKEND | no | Select the Python client implementation. The maintained asyncua client is the default; legacy provides the one-release rollback path for uncovered vendor incompatibilities. This setting affects the P… |
| OPCUA_SECURITY_POLICY | no | Encryption suite to negotiate for the secure channel. Anything other than None needs a client certificate and key. The two AES suites are Node-only: the Python runtime refuses them at startup rather… |
| OPCUA_SECURITY_MODE | no | Message security mode for the secure channel. Sign authenticates messages without encrypting them. A policy with mode None, or a mode without a policy, stops the server at startup; leaving it blank n… |
| OPCUA_CLIENT_CERT | no | Path to the certificate (PEM or DER) this client presents as its application identity. Required by any security policy other than None. A path that does not exist stops the server at startup. |
| OPCUA_CLIENT_KEY | no (secret) | Path to the private key matching the client certificate. A path, never key material. Whoever can read the file can impersonate this client: keep it readable only by the account running the server. A… |
| OPCUA_APPLICATION_URI | no | Application URI announced to the server. Set it only for a certificate that carries no URI of its own. A configured URI that conflicts with the certificate is refused before connecting. Leave blank f… |
| OPCUA_SERVER_CERT | no | Path to the OPC UA server's own certificate (PEM or DER), pinned: a server presenting any other certificate cannot complete the handshake. Control tools (writes, method calls, alarm actions) require… |
| OPCUA_SERVER_TRUST_STORE | no | Directory with trusted/certs root CAs, issuers/certs intermediate CAs, and trusted/crl plus issuers/crl signed current revocation lists. Authenticate the OPC UA peer by its validated chain and expect… |
| OPCUA_SERVER_APPLICATION_URI | no | ApplicationUri of the intended OPC UA server. Must match the peer certificate URI SAN and advertised application identity. Required with OPCUA_SERVER_TRUST_STORE. |
| OPCUA_USERNAME | no | OPC UA username. The session is anonymous when unset. Cannot be combined with a user certificate. Requires a password; either one alone stops the server at startup. |
| OPCUA_PASSWORD | no (secret) | Password for the username. Without a security policy it crosses the network in clear text. Supply it through the client's secret storage, never on a command line. |
| OPCUA_USER_CERT | no | Path to the certificate identifying the user, for X.509 user authentication: a different key pair from the client certificate, which secures the channel. Requires the user key and a security policy o… |
| OPCUA_USER_KEY | no (secret) | Path to the private key for the user certificate. It signs the server's challenge and is never sent. Whoever can read the file can log in as this user: keep it readable only by the account running th… |
| OPCUA_PROFILE | yes | Which tools are offered. observe reads, browses, reads history and monitors; operator adds explicitly allowlisted writes, method calls and alarm actions; full exposes every tool and is meant only for… |
| OPCUA_POLICY_FILE | no | Path to a version-1 JSON policy file, the only place per-node value bounds, writable_subtrees, preconditions, the alarm scope and deny_read can be set. Every policy variable that is set overrides wha… |
| OPCUA_ALLOWED_TOOLS | no | Comma-separated tool allowlist. It can only narrow the selected profile, never widen it. An unknown tool name stops the server at startup. |
| OPCUA_ALLOWED_WRITE_NODES | no | Comma-separated exact node IDs the operator profile may write, as ns=2;i=5 or, stable across a server restart, nsu= ;i=5 or a browse path from the Root folder such as /Objects/Line1/Setpoint. Setting… |
| OPCUA_ALLOWED_METHODS | no | Comma-separated object_node_id|method_node_id pairs the operator profile may call. Either half may be a browse path from the Root folder. Empty fails closed: operator can call nothing. An entry witho… |
| OPCUA_ALLOW_ACKNOWLEDGE_ALARMS | no | Let the operator profile act on alarms: acknowledge_alarm and every act_on_alarm action. |
| OPCUA_ALLOW_INSECURE_CONTROL | no | Permit control tools on an OPC UA channel with no security policy (None). Does not cover a secured channel to an unverified server; that is OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL. Fail-open override:… |
| OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL | no | Permit control tools on a secured OPC UA channel whose server is not authenticated: neither pinned with OPCUA_SERVER_CERT nor validated by OPCUA_SERVER_TRUST_STORE. Does not cover a channel with no s… |
| OPCUA_ALLOW_OUT_OF_RANGE_WRITES | no | Allow a write outside the EURange the OPC UA server itself published for the node. A published InstrumentRange still applies. Fail-open override: it discards the only value bound a deployment with no… |
| OPCUA_AUDIT_FILE | no | Path to an append-only file for the control audit trail, one JSON object per line, written beside stderr. Created owner-only (0600) if it does not exist; reopened when rotated away. A file that canno… |
| OPCUA_AUDIT_FSYNC | no | When an audit-file record counts as written. always fsyncs each record before the control call proceeds, so it survives a power loss; none leaves it to the operating system, so it survives only a cra… |
| OPCUA_AUDIT_CHAIN | no | Adds seq, prev_hash and hash to every audit record so edits, deletions and reordering can be detected with --verify-audit. sha256 catches accidental or naive edits; hmac-sha256 also resists anyone wi… |
| OPCUA_AUDIT_CHAIN_KEY_FILE | no (secret) | Path to the HMAC key for the hmac-sha256 audit chain: at least 32 bytes, for example from openssl rand -hex 32. Surrounding whitespace is ignored. Whoever can read the key can forge the chain: a key… |
| OPCUA_OPERATOR_ID | no | Label stamped on every audit record as operator_label, so a shipped log says which deployment a control call came from. Configured, never verified: it is not an identity, and mcp_principal stays null. |
| OPCUA_RECONNECT_INITIAL_DELAY_MS | no | Wait before the first attempt to repair a dropped or refused connection, in milliseconds. It doubles with each further attempt. |
| OPCUA_RECONNECT_MAX_DELAY_MS | no | Ceiling for the doubling retry delay, in milliseconds. |
| OPCUA_RECONNECT_MAX_RETRY | no | Retries after the first attempt, per connection round, before a tool call gives up: a whole number from -1 to 1000. 0 never retries; -1 never stops trying, in bounded rounds of four retries so no sin… |
| OPCUA_SESSION_TIMEOUT_MS | no | Session lifetime asked of the OPC UA server, in milliseconds. It also sets the keep-alive period, so it decides how quickly an idle connection notices the server has gone. |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[OPC UA MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.midhunxavier/opcua)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.