프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

OPC UA MCP Server

제작자: IndustriAgents버전 0.6.0i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.midhunxavier/opcua

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 기타
  • 입력해야 할 값: OPCUA_SERVER_URL, OPCUA_CLIENT_KEY, OPCUA_PASSWORD, OPCUA_USER_KEY, OPCUA_PROFILE, OPCUA_AUDIT_CHAIN_KEY_FILE

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 0개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: 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, OPCUA_ALLOW_INSECURE_CONTROL, OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL, OPCUA_ALLOW_OUT_OF_RANGE_WRITES, OPCUA_AUDIT_FILE, OPCUA_AUDIT_FSYNC, OPCUA_AUDIT_CHAIN, OPCUA_AUDIT_CHAIN_KEY_FILE, OPCUA_OPERATOR_ID, OPCUA_RECONNECT_INITIAL_DELAY_MS, OPCUA_RECONNECT_MAX_DELAY_MS, OPCUA_RECONNECT_MAX_RETRY, OPCUA_SESSION_TIMEOUT_MS

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "opcua": {
      "command": "npx",
      "args": [
        "-y",
        "opcua-mcp-server"
      ],
      "env": {
        "OPCUA_SERVER_URL": "your-value",
        "OPCUA_PYTHON_BACKEND": "your-value",
        "OPCUA_SECURITY_POLICY": "your-value",
        "OPCUA_SECURITY_MODE": "your-value",
        "OPCUA_CLIENT_CERT": "your-value",
        "OPCUA_CLIENT_KEY": "your-value",
        "OPCUA_APPLICATION_URI": "your-value",
        "OPCUA_SERVER_CERT": "your-value",
        "OPCUA_SERVER_TRUST_STORE": "your-value",
        "OPCUA_SERVER_APPLICATION_URI": "your-value",
        "OPCUA_USERNAME": "your-value",
        "OPCUA_PASSWORD": "your-value",
        "OPCUA_USER_CERT": "your-value",
        "OPCUA_USER_KEY": "your-value",
        "OPCUA_PROFILE": "your-value",
        "OPCUA_POLICY_FILE": "your-value",
        "OPCUA_ALLOWED_TOOLS": "your-value",
        "OPCUA_ALLOWED_WRITE_NODES": "your-value",
        "OPCUA_ALLOWED_METHODS": "your-value",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "your-value",
        "OPCUA_ALLOW_INSECURE_CONTROL": "your-value",
        "OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL": "your-value",
        "OPCUA_ALLOW_OUT_OF_RANGE_WRITES": "your-value",
        "OPCUA_AUDIT_FILE": "your-value",
        "OPCUA_AUDIT_FSYNC": "your-value",
        "OPCUA_AUDIT_CHAIN": "your-value",
        "OPCUA_AUDIT_CHAIN_KEY_FILE": "your-value",
        "OPCUA_OPERATOR_ID": "your-value",
        "OPCUA_RECONNECT_INITIAL_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_RETRY": "your-value",
        "OPCUA_SESSION_TIMEOUT_MS": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add opcua --env OPCUA_SERVER_URL=your-value --env OPCUA_PYTHON_BACKEND=your-value --env OPCUA_SECURITY_POLICY=your-value --env OPCUA_SECURITY_MODE=your-value --env OPCUA_CLIENT_CERT=your-value --env OPCUA_CLIENT_KEY=your-value --env OPCUA_APPLICATION_URI=your-value --env OPCUA_SERVER_CERT=your-value --env OPCUA_SERVER_TRUST_STORE=your-value --env OPCUA_SERVER_APPLICATION_URI=your-value --env OPCUA_USERNAME=your-value --env OPCUA_PASSWORD=your-value --env OPCUA_USER_CERT=your-value --env OPCUA_USER_KEY=your-value --env OPCUA_PROFILE=your-value --env OPCUA_POLICY_FILE=your-value --env OPCUA_ALLOWED_TOOLS=your-value --env OPCUA_ALLOWED_WRITE_NODES=your-value --env OPCUA_ALLOWED_METHODS=your-value --env OPCUA_ALLOW_ACKNOWLEDGE_ALARMS=your-value --env OPCUA_ALLOW_INSECURE_CONTROL=your-value --env OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL=your-value --env OPCUA_ALLOW_OUT_OF_RANGE_WRITES=your-value --env OPCUA_AUDIT_FILE=your-value --env OPCUA_AUDIT_FSYNC=your-value --env OPCUA_AUDIT_CHAIN=your-value --env OPCUA_AUDIT_CHAIN_KEY_FILE=your-value --env OPCUA_OPERATOR_ID=your-value --env OPCUA_RECONNECT_INITIAL_DELAY_MS=your-value --env OPCUA_RECONNECT_MAX_DELAY_MS=your-value --env OPCUA_RECONNECT_MAX_RETRY=your-value --env OPCUA_SESSION_TIMEOUT_MS=your-value -- npx -y opcua-mcp-server

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "opcua": {
      "command": "npx",
      "args": [
        "-y",
        "opcua-mcp-server"
      ],
      "env": {
        "OPCUA_SERVER_URL": "your-value",
        "OPCUA_PYTHON_BACKEND": "your-value",
        "OPCUA_SECURITY_POLICY": "your-value",
        "OPCUA_SECURITY_MODE": "your-value",
        "OPCUA_CLIENT_CERT": "your-value",
        "OPCUA_CLIENT_KEY": "your-value",
        "OPCUA_APPLICATION_URI": "your-value",
        "OPCUA_SERVER_CERT": "your-value",
        "OPCUA_SERVER_TRUST_STORE": "your-value",
        "OPCUA_SERVER_APPLICATION_URI": "your-value",
        "OPCUA_USERNAME": "your-value",
        "OPCUA_PASSWORD": "your-value",
        "OPCUA_USER_CERT": "your-value",
        "OPCUA_USER_KEY": "your-value",
        "OPCUA_PROFILE": "your-value",
        "OPCUA_POLICY_FILE": "your-value",
        "OPCUA_ALLOWED_TOOLS": "your-value",
        "OPCUA_ALLOWED_WRITE_NODES": "your-value",
        "OPCUA_ALLOWED_METHODS": "your-value",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "your-value",
        "OPCUA_ALLOW_INSECURE_CONTROL": "your-value",
        "OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL": "your-value",
        "OPCUA_ALLOW_OUT_OF_RANGE_WRITES": "your-value",
        "OPCUA_AUDIT_FILE": "your-value",
        "OPCUA_AUDIT_FSYNC": "your-value",
        "OPCUA_AUDIT_CHAIN": "your-value",
        "OPCUA_AUDIT_CHAIN_KEY_FILE": "your-value",
        "OPCUA_OPERATOR_ID": "your-value",
        "OPCUA_RECONNECT_INITIAL_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_RETRY": "your-value",
        "OPCUA_SESSION_TIMEOUT_MS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "opcua": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "opcua-mcp-server"
      ],
      "env": {
        "OPCUA_SERVER_URL": "your-value",
        "OPCUA_PYTHON_BACKEND": "your-value",
        "OPCUA_SECURITY_POLICY": "your-value",
        "OPCUA_SECURITY_MODE": "your-value",
        "OPCUA_CLIENT_CERT": "your-value",
        "OPCUA_CLIENT_KEY": "your-value",
        "OPCUA_APPLICATION_URI": "your-value",
        "OPCUA_SERVER_CERT": "your-value",
        "OPCUA_SERVER_TRUST_STORE": "your-value",
        "OPCUA_SERVER_APPLICATION_URI": "your-value",
        "OPCUA_USERNAME": "your-value",
        "OPCUA_PASSWORD": "your-value",
        "OPCUA_USER_CERT": "your-value",
        "OPCUA_USER_KEY": "your-value",
        "OPCUA_PROFILE": "your-value",
        "OPCUA_POLICY_FILE": "your-value",
        "OPCUA_ALLOWED_TOOLS": "your-value",
        "OPCUA_ALLOWED_WRITE_NODES": "your-value",
        "OPCUA_ALLOWED_METHODS": "your-value",
        "OPCUA_ALLOW_ACKNOWLEDGE_ALARMS": "your-value",
        "OPCUA_ALLOW_INSECURE_CONTROL": "your-value",
        "OPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL": "your-value",
        "OPCUA_ALLOW_OUT_OF_RANGE_WRITES": "your-value",
        "OPCUA_AUDIT_FILE": "your-value",
        "OPCUA_AUDIT_FSYNC": "your-value",
        "OPCUA_AUDIT_CHAIN": "your-value",
        "OPCUA_AUDIT_CHAIN_KEY_FILE": "your-value",
        "OPCUA_OPERATOR_ID": "your-value",
        "OPCUA_RECONNECT_INITIAL_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_DELAY_MS": "your-value",
        "OPCUA_RECONNECT_MAX_RETRY": "your-value",
        "OPCUA_SESSION_TIMEOUT_MS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • OPCUA_SERVER_URL 필수 env
    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 env
    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 env
    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 env
    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 env
    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 비밀 env
    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 env
    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 env
    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 env
    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 env
    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 env
    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 비밀 env
    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 env
    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 비밀 env
    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 필수 env
    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 env
    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 env
    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 env
    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 env
    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 env
    Let the operator profile act on alarms: acknowledge_alarm and every act_on_alarm action.
  • OPCUA_ALLOW_INSECURE_CONTROL env
    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 env
    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 env
    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 env
    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 env
    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 env
    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 비밀 env
    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 env
    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 env
    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 env
    Ceiling for the doubling retry delay, in milliseconds.
  • OPCUA_RECONNECT_MAX_RETRY env
    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 env
    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.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검

  • ! 주의

    제작자와 저장소 일치

    게시자(midhunxavier)가 저장소 소유자(IndustriAgents)가 아니에요. 다른 사람이 등록했을 수 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 32691개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 32691개 중 94%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 32691개 중 29%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

OPC UA MCP Server, 안전한가요?

해당하는 기본 점검 1개 중 0개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: OPCUA_SERVER_URL, OPCUA_CLIENT_KEY, OPCUA_PASSWORD, OPCUA_USER_KEY, OPCUA_PROFILE, OPCUA_AUDIT_CHAIN_KEY_FILE

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.6.0)은 그저께 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Dialyne

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Spec Driven Development

제작자: formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

내 컴퓨터에서 실행★ 440MIT14개월 전 업데이트
설치

Remote Desktop Commander

제작자: desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

클라우드에서 실행★ 211그저께 업데이트
설치

Dialyne

제작자: dialyne

Real phone calls in France for AI agents: dial +33 numbers, menus, hold, AI disclosure.

클라우드에서 실행오늘 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

🏭 OPC UA MCP Server

Let Claude, Codex, Gemini and any other MCP agent read sensors, browse the plant and — only when you allow it — control equipment on any OPC UA server.

[▶ Try it without hardware](#try-it-without-a-plant) — a simulated plant ships in this repository

Quick start · Connect your agent · Tools · Production · Docs · Contributing

Official MCP Registry · Glama · HardwareMCP

Every tool call and value above is a real response from the bundled simulator, recorded through the Python bridge under the read-only observe profile; the question and answer text are scripted. Rebuild it with scripts/readme_demo.py.

This project is a bridge between an AI agent and an OPC UA server. OPC UA is the protocol used to expose industrial equipment and its data; MCP (Model Context Protocol) lets an agent call tools to work with that data. The bridge runs on your computer and connects to an existing OPC UA server, or to a local simulator for a first test.

Your MCP client starts the bridge as a local stdio process: it exchanges MCP messages over standard input and output. One process connects one client context to one OPC UA endpoint. Use a separate process for each endpoint. Remote MCP and shared multi-client operation are gated by the identity and isolation RFC.

Features

  • 🔌 Any OPC UA server — PLC, SCADA gateway or historian. Nothing to install on the plant side.
  • 🧰 The whole operator toolkit — read, browse, history and aggregates, subscriptions, events and alarms, writes and method calls.
  • 🛡️ Read-only by default — writes and method calls need an explicit control profile and an authenticated server (pinned certificate or CA trust store). The operator profile also requires allowlisted targets, and every control call is audited.
  • 🐍 Python or Node — two first-class runtimes with the same tool contract. Use whichever you have, accounting for the documented runtime differences.
  • 📦 One-file Claude Desktop install — a .mcpb bundle with nothing else to set up.
flowchart LR

A["AI agent (Claude, Codex, Gemini, Cursor…)"] -->|MCP over stdio| B["OPC UA MCP Server (Python or Node)"] B -->|OPC UA| C["OPC UA server (PLC / SCADA / historian)"]

Quick start

Follow these steps in order: choose an installation, start or identify an OPC UA server, configure your MCP client, then check the connection. You need an MCP client such as one of the agents listed below.

1. Choose an installation

Choose one runtime; you do not need both. The package routes fetch the server on demand, so you do not need to clone this repository to use an existing OPC UA server.

RoutePrerequisitesCommand your MCP client launches
Node packageNode.js 22.13+, including npm and npxnpx -y opcua-mcp-server
Python packagePython 3.10+ and uv (which supplies uvx)uvx opcua-mcp-server
Claude Desktop bundleClaude Desktop; no separate Node or Python installationInstall the .mcpb file as described below
Single-file executableDownload for your platform; no Node or Python installationUse its absolute path as the client command; see installation instructions

For a package route, check that it can run from your terminal. Run the command for your chosen runtime:

# Node

npx -y opcua-mcp-server --version

Or Python

uvx opcua-mcp-server --version

These commands print a version and exit. In normal use, your MCP client launches the server without --version; you do not also start the bridge in a separate terminal. A bridge started by itself waits for MCP messages, rather than showing an interactive prompt or a web page.

2. Choose an OPC UA endpoint

For an existing server, get its endpoint URL, including any path, from its administrator (for example opc.tcp://192.168.0.10:4840). The bridge reads it from OPCUA_SERVER_URL, which you set in your MCP client's configuration in step 3. If unset, the default is opc.tcp://localhost:4840.

The default profile is observe (read-only), and the default OPC UA connection is unencrypted and anonymous. Use those defaults for the local mock. For real equipment, prepare the security configuration before connecting.

Try it without a plant

If you do not have an OPC UA server, start the bundled simulated plant. This optional route needs Git, Python 3.10+ and uv, even if you chose the Node bridge. Run these commands in a terminal:

git clone https://github.com/IndustriAgents/OPCUA-MCP.git

cd OPCUA-MCP uv sync --all-packages uv run --no-sync opcua-mock-server

Wait for Server is running and ready for connections, then leave this terminal running. The mock listens on port 4840; use opc.tcp://localhost:4840/freeopcua/server/ as your endpoint. Stop it with Ctrl-C when finished. If the port is busy, choose another port with uv run --no-sync opcua-mock-server --endpoint opc.tcp://127.0.0.1:14840/freeopcua/server/ and use that URL in your client configuration.

The plant supports browsing, sensor reads, data-change subscriptions, raw value history, plain events and event history. It also has writable actuators and methods, subject to the bridge's control policy. It does not implement processed aggregates or Alarms & Conditions: its plain alarm events cannot be listed as retained conditions, acknowledged or acted on with alarm-action tools. Use the separate mocks for those operations:

MockEndpointCoverage
Plantopc.tcp://localhost:4840/freeopcua/server/Sensors, actuators, methods, raw history, subscriptions and plain events
Aggregatesopc.tcp://localhost:4841/UA/AggregateProcessed history, such as average buckets
Alarmsopc.tcp://localhost:4842/UA/AlarmsActive conditions and acknowledgement

The separate mocks need Node and npm; their READMEs give installation and startup commands. The MCP Inspector walkthrough has more examples, and the compatibility matrix records tested coverage.

Connect your agent

3. Configure the client and launch the bridge

Pick one client below. The examples use the local plant endpoint from step 2; replace opc.tcp://localhost:4840/freeopcua/server/ with your endpoint if needed. For a secure connection, add the settings from Going to production to the same env block (or the bundle's settings fields).

To use Python in a JSON configuration, set "command": "uvx" and "args": ["opcua-mcp-server"]. In a CLI registration command, replace npx -y opcua-mcp-server with uvx opcua-mcp-server. In TOML, use command = "uvx" and args = ["opcua-mcp-server"].

Claude Desktop

Easiest — the bundle. Download opcua-mcp-server- .mcpb from the latest release, drag it into Settings → Extensions, and fill in OPC UA endpoint. No Node, no Python, no JSON.

Or let the server write the config (needs Node or Python):

npm install -g opcua-mcp-server      # or: uv tool install opcua-mcp-server

opcua-mcp-server --install claude-desktop --url opc.tcp://localhost:4840/freeopcua/server/ --dry-run

It checks the config with the server's own startup validation and writes absolute paths, because Claude Desktop does not inherit your shell's PATH. The profile defaults to read-only; encryption, a pinned server certificate, a control profile, a policy file and an audit file are all flags, and passwords are never taken as flags. Check the preview, then repeat the command without --dry-run to write the configuration and restart Claude Desktop. Every flag and safety rule, editing claude_desktop_config.json by hand, and fixing a server that fails to start: docs/install.md.

Claude Code

claude mcp add opcua -e OPCUA_SERVER_URL=opc.tcp://localhost:4840/freeopcua/server/ -- npx -y opcua-mcp-server

Add --scope project to share it with your team through .mcp.json.

OpenAI Codex

codex mcp add opcua --env OPCUA_SERVER_URL=opc.tcp://localhost:4840/freeopcua/server/ -- npx -y opcua-mcp-server

Or add it to ~/.codex/config.toml:

[mcp_servers.opcua]

command = "npx" args = ["-y", "opcua-mcp-server"] env = { OPCUA_SERVER_URL = "opc.tcp://localhost:4840/freeopcua/server/" }

Or let the server write that entry, with the same checks as for Claude Desktop: opcua-mcp-server --install codex --url opc.tcp://localhost:4840/freeopcua/server/ --dry-run. This installer command requires a permanent package installation first: npm install -g opcua-mcp-server or uv tool install opcua-mcp-server. Check the preview and repeat without --dry-run to write it.

Gemini CLI

Add to ~/.gemini/settings.json, or .gemini/settings.json in a project:

{

"mcpServers": { "opcua": { "command": "npx", "args": ["-y", "opcua-mcp-server"], "env": { "OPCUA_SERVER_URL": "opc.tcp://localhost:4840/freeopcua/server/" } } } }

Google Antigravity

In the agent panel, open ⋯ → MCP Servers → Manage MCP Servers → View raw config, add the entry below to mcp_config.json, and restart Antigravity:

{

"mcpServers": { "opcua": { "command": "npx", "args": ["-y", "opcua-mcp-server"], "env": { "OPCUA_SERVER_URL": "opc.tcp://localhost:4840/freeopcua/server/" } } } }

Cursor

Add to ~/.cursor/mcp.json, or .cursor/mcp.json in a project:

{

"mcpServers": { "opcua": { "command": "npx", "args": ["-y", "opcua-mcp-server"], "env": { "OPCUA_SERVER_URL": "opc.tcp://localhost:4840/freeopcua/server/" } } } }

VS Code (GitHub Copilot)

Add to .vscode/mcp.json — note the top-level key is servers:

`

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기