Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Connect AI assistants to industrial OPC UA: browse, read, history, subscriptions, events and alarms.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
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「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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がつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
OPCUA_PYTHON_BACKEND envOPCUA_SECURITY_POLICY envOPCUA_SECURITY_MODE envOPCUA_CLIENT_CERT envOPCUA_APPLICATION_URI envOPCUA_SERVER_CERT envOPCUA_SERVER_TRUST_STORE envOPCUA_SERVER_APPLICATION_URI envOPCUA_USERNAME envOPCUA_USER_CERT envOPCUA_POLICY_FILE envOPCUA_ALLOWED_TOOLS envOPCUA_ALLOWED_WRITE_NODES envOPCUA_ALLOWED_METHODS envOPCUA_ALLOW_ACKNOWLEDGE_ALARMS envOPCUA_ALLOW_INSECURE_CONTROL envOPCUA_ALLOW_UNVERIFIED_SERVER_CONTROL envOPCUA_ALLOW_OUT_OF_RANGE_WRITES envOPCUA_AUDIT_FILE envOPCUA_AUDIT_FSYNC envOPCUA_AUDIT_CHAIN envOPCUA_OPERATOR_ID envOPCUA_RECONNECT_INITIAL_DELAY_MS envOPCUA_RECONNECT_MAX_DELAY_MS envOPCUA_RECONNECT_MAX_RETRY envOPCUA_SESSION_TIMEOUT_MS envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
公開者(midhunxavier)がリポジトリの所有者(IndustriAgents)ではありません。別の人が登録した可能性があります
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック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, SwarmMemo
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
operator profile also requires allowlisted targets, and every control call is audited..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)"]
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.
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.
| Route | Prerequisites | Command your MCP client launches |
|---|---|---|
| Node package | Node.js 22.13+, including npm and npx | npx -y opcua-mcp-server |
| Python package | Python 3.10+ and uv (which supplies uvx) | uvx opcua-mcp-server |
| Claude Desktop bundle | Claude Desktop; no separate Node or Python installation | Install the .mcpb file as described below |
| Single-file executable | Download for your platform; no Node or Python installation | Use 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
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.
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.
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:
| Mock | Endpoint | Coverage |
|---|---|---|
| Plant | opc.tcp://localhost:4840/freeopcua/server/ | Sensors, actuators, methods, raw history, subscriptions and plain events |
| Aggregates | opc.tcp://localhost:4841/UA/Aggregate | Processed history, such as average buckets |
| Alarms | opc.tcp://localhost:4842/UA/Alarms | Active 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.
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:
`
冒頭だけを表示しています。続きはリポジトリで読めます