OPC UA MCP Server
io.github.midhunxavier/opcua
Serveur MCP Non testé
Connect AI assistants to industrial OPC UA: browse, read, history, subscriptions, events and alarms.
Fiche technique
- Auteur
- midhunxavier (espace de noms du registre)
- Dépôt
- github.com/IndustriAgents/OPCUA-MCP
- Site
- industriagents.com/connect/opcua
- Version
- 0.6.0
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- opcua-mcp-server 0.6.0 npm stdio
- Outils
- —
- Catégories
- —
- Dernière mise à jour
- 5 nov. 2026
- Publication
- 5 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.midhunxavier/opcua)<a href="https://latlas.dev/mcp/io.github.midhunxavier/opcua"><img src="https://latlas.dev/badge/fiche/io.github.midhunxavier/opcua.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet opcua-mcp-server (npm). Formats repris de la documentation de chaque client.
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]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| OPCUA_SERVER_URL | oui | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non (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 | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non (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 | non | 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 | non (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 | oui | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non | Let the operator profile act on alarms: acknowledge_alarm and every act_on_alarm action. |
| OPCUA_ALLOW_INSECURE_CONTROL | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non (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 | non | 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 | non | 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 | non | Ceiling for the doubling retry delay, in milliseconds. |
| OPCUA_RECONNECT_MAX_RETRY | non | 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 | non | 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. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[OPC UA MCP Server — L’Atlas](https://latlas.dev/mcp/io.github.midhunxavier/opcua)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.