L'Agora
MCPLocal

OPC UA MCP Server

io.github.midhunxavier/opcua

Connect AI assistants to industrial OPC UA: browse, read, history, subscriptions, events and alarms.

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by midhunxavier

Repository
github.com/IndustriAgents/OPCUA-MCP
Website
industriagents.com/connect/opcua
Version
0.6.0
Author
midhunxavier (namespace verified by the registry)
Source
Official MCP registry (updated Nov 5, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: OPCUA_SERVER_URL, OPCUA_PYTHON_BACKEND, OPCUA_SECURITY_POLICY, OPCUA_SECURITY_MODE, OPCUA_CLIENT_CERT, OPCUA_CLIENT_KEY, OPCUA_APPLICATION_URI, OPCUA_SERVER_CERT, OPCUA_SERVER_TRUST_STORE, OPCUA_SERVER_APPLICATION_URI, OPCUA_USERNAME, OPCUA_PASSWORD, OPCUA_USER_CERT, OPCUA_USER_KEY, OPCUA_PROFILE, OPCUA_POLICY_FILE, OPCUA_ALLOWED_TOOLS, OPCUA_ALLOWED_WRITE_NODES, OPCUA_ALLOWED_METHODS, OPCUA_ALLOW_ACKNOWLEDGE_ALARMS.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add opcua -e OPCUA_SERVER_URL=YOUR_OPCUA_SERVER_URL -e OPCUA_PYTHON_BACKEND=YOUR_OPCUA_PYTHON_BACKEND -e OPCUA_SECURITY_POLICY=YOUR_OPCUA_SECURITY_POLICY -e OPCUA_SECURITY_MODE=YOUR_OPCUA_SECURITY_MODE -e OPCUA_CLIENT_CERT=YOUR_OPCUA_CLIENT_CERT -e OPCUA_CLIENT_KEY=YOUR_OPCUA_CLIENT_KEY -e OPCUA_APPLICATION_URI=YOUR_OPCUA_APPLICATION_URI -e OPCUA_SERVER_CERT=YOUR_OPCUA_SERVER_CERT -e OPCUA_SERVER_TRUST_STORE=YOUR_OPCUA_SERVER_TRUST_STORE -e OPCUA_SERVER_APPLICATION_URI=YOUR_OPCUA_SERVER_APPLICATION_URI -e OPCUA_USERNAME=YOUR_OPCUA_USERNAME -e OPCUA_PASSWORD=YOUR_OPCUA_PASSWORD -e OPCUA_USER_CERT=YOUR_OPCUA_USER_CERT -e OPCUA_USER_KEY=YOUR_OPCUA_USER_KEY -e OPCUA_PROFILE=YOUR_OPCUA_PROFILE -e OPCUA_POLICY_FILE=YOUR_OPCUA_POLICY_FILE -e OPCUA_ALLOWED_TOOLS=YOUR_OPCUA_ALLOWED_TOOLS -e OPCUA_ALLOWED_WRITE_NODES=YOUR_OPCUA_ALLOWED_WRITE_NODES -e OPCUA_ALLOWED_METHODS=YOUR_OPCUA_ALLOWED_METHODS -e OPCUA_ALLOW_ACKNOWLEDGE_ALARMS=YOUR_OPCUA_ALLOW_ACKNOWLEDGE_ALARMS -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "opcua": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPCUA_SERVER_URL": "YOUR_OPCUA_SERVER_URL",
        "OPCUA_PYTHON_BACKEND": "YOUR_OPCUA_PYTHON_BACKEND",
        "OPCUA_SECURITY_POLICY": "YOUR_OPCUA_SECURITY_POLICY",
        "OPCUA_SECURITY_MODE": "YOUR_OPCUA_SECURITY_MODE",
        "OPCUA_CLIENT_CERT": "YOUR_OPCUA_CLIENT_CERT",
        "OPCUA_CLIENT_KEY": "YOUR_OPCUA_CLIENT_KEY",
        "OPCUA_APPLICATION_URI": "YOUR_OPCUA_APPLICATION_URI",
        "OPCUA_SERVER_CERT": "YOUR_OPCUA_SERVER_CERT",
        "OPCUA_SERVER_TRUST_STORE": "YOUR_OPCUA_SERVER_TRUST_STORE",
        "OPCUA_SERVER_APPLICATION_URI": "YOUR_OPCUA_SERVER_APPLICATION_URI",
        "OPCUA_USERNAME": "YOUR_OPCUA_USERNAME",
        "OPCUA_PASSWORD": "YOUR_OPCUA_PASSWORD",
        "OPCUA_USER_CERT": "YOUR_OPCUA_USER_CERT",
        "OPCUA_USER_KEY": "YOUR_OPCUA_USER_KEY",
        "OPCUA_PROFILE": "YOUR_OPCUA_PROFILE",
        "OPCUA_POLICY_FILE": "YOUR_OPCUA_POLICY_FILE",
        "OPCUA_ALLOWED_TOOLS": "YOUR_OPCUA_ALLOWED_TOOLS",
        "OPCUA_ALLOWED_WRITE_NODES": "YOUR_OPCUA_ALLOWED_WRITE_NODES",
        "OPCUA_ALLOWED_METHODS": "YOUR_OPCUA_ALLOWED_METHODS",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "YOUR_OPCUA_ALLOW_ACKNOWLEDGE_ALARMS"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "opcua": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPCUA_SERVER_URL": "YOUR_OPCUA_SERVER_URL",
        "OPCUA_PYTHON_BACKEND": "YOUR_OPCUA_PYTHON_BACKEND",
        "OPCUA_SECURITY_POLICY": "YOUR_OPCUA_SECURITY_POLICY",
        "OPCUA_SECURITY_MODE": "YOUR_OPCUA_SECURITY_MODE",
        "OPCUA_CLIENT_CERT": "YOUR_OPCUA_CLIENT_CERT",
        "OPCUA_CLIENT_KEY": "YOUR_OPCUA_CLIENT_KEY",
        "OPCUA_APPLICATION_URI": "YOUR_OPCUA_APPLICATION_URI",
        "OPCUA_SERVER_CERT": "YOUR_OPCUA_SERVER_CERT",
        "OPCUA_SERVER_TRUST_STORE": "YOUR_OPCUA_SERVER_TRUST_STORE",
        "OPCUA_SERVER_APPLICATION_URI": "YOUR_OPCUA_SERVER_APPLICATION_URI",
        "OPCUA_USERNAME": "YOUR_OPCUA_USERNAME",
        "OPCUA_PASSWORD": "YOUR_OPCUA_PASSWORD",
        "OPCUA_USER_CERT": "YOUR_OPCUA_USER_CERT",
        "OPCUA_USER_KEY": "YOUR_OPCUA_USER_KEY",
        "OPCUA_PROFILE": "YOUR_OPCUA_PROFILE",
        "OPCUA_POLICY_FILE": "YOUR_OPCUA_POLICY_FILE",
        "OPCUA_ALLOWED_TOOLS": "YOUR_OPCUA_ALLOWED_TOOLS",
        "OPCUA_ALLOWED_WRITE_NODES": "YOUR_OPCUA_ALLOWED_WRITE_NODES",
        "OPCUA_ALLOWED_METHODS": "YOUR_OPCUA_ALLOWED_METHODS",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "YOUR_OPCUA_ALLOW_ACKNOWLEDGE_ALARMS"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "opcua": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPCUA_SERVER_URL": "YOUR_OPCUA_SERVER_URL",
        "OPCUA_PYTHON_BACKEND": "YOUR_OPCUA_PYTHON_BACKEND",
        "OPCUA_SECURITY_POLICY": "YOUR_OPCUA_SECURITY_POLICY",
        "OPCUA_SECURITY_MODE": "YOUR_OPCUA_SECURITY_MODE",
        "OPCUA_CLIENT_CERT": "YOUR_OPCUA_CLIENT_CERT",
        "OPCUA_CLIENT_KEY": "YOUR_OPCUA_CLIENT_KEY",
        "OPCUA_APPLICATION_URI": "YOUR_OPCUA_APPLICATION_URI",
        "OPCUA_SERVER_CERT": "YOUR_OPCUA_SERVER_CERT",
        "OPCUA_SERVER_TRUST_STORE": "YOUR_OPCUA_SERVER_TRUST_STORE",
        "OPCUA_SERVER_APPLICATION_URI": "YOUR_OPCUA_SERVER_APPLICATION_URI",
        "OPCUA_USERNAME": "YOUR_OPCUA_USERNAME",
        "OPCUA_PASSWORD": "YOUR_OPCUA_PASSWORD",
        "OPCUA_USER_CERT": "YOUR_OPCUA_USER_CERT",
        "OPCUA_USER_KEY": "YOUR_OPCUA_USER_KEY",
        "OPCUA_PROFILE": "YOUR_OPCUA_PROFILE",
        "OPCUA_POLICY_FILE": "YOUR_OPCUA_POLICY_FILE",
        "OPCUA_ALLOWED_TOOLS": "YOUR_OPCUA_ALLOWED_TOOLS",
        "OPCUA_ALLOWED_WRITE_NODES": "YOUR_OPCUA_ALLOWED_WRITE_NODES",
        "OPCUA_ALLOWED_METHODS": "YOUR_OPCUA_ALLOWED_METHODS",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "YOUR_OPCUA_ALLOW_ACKNOWLEDGE_ALARMS"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

OPC UA MCP Server · L’Agora

[OPC UA MCP Server — L’Agora](https://lagora.dev/en/entry/io.github.midhunxavier/opcua)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.midhunxavier/opcua on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.midhunxavier/opcua on L’Agora](https://lagora.dev/badge/io.github.midhunxavier/opcua.svg?lang=en)](https://lagora.dev/en/entry/io.github.midhunxavier/opcua)

HTML

<a href="https://lagora.dev/en/entry/io.github.midhunxavier/opcua"><img src="https://lagora.dev/badge/io.github.midhunxavier/opcua.svg?lang=en" alt="io.github.midhunxavier/opcua on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry