Proxus Industrial MCP Server

io.github.proxusiiotplatform由 GitHub 帳號 proxusiiotplatform 發布v0.1.0-beta.7更新於 Oct 31, 2026

Read-only Modbus TCP and OPC UA access to PLCs and industrial devices, with connection diagnostics

概覽

AI 產生的概覽

以唯讀方式透過 Modbus TCP 與 OPC UA 存取 PLC 和工業設備,並提供連線診斷與暫存器對應。

可以做什麼
  • 列出已設定的裝置及其端點、ISA-95 路徑與連線狀態
  • 讀取 Modbus 原始暫存器與位元,並在 1–60 秒內輪詢某位址觀察其變化
  • 依常見位元組順序將最多 16 個暫存器解碼為 int、uint、float32 或 float64
  • 瀏覽 OPC UA 節點,讀取或監看最多 50 個變數及其型別、品質、狀態碼與時間戳
  • 逐步診斷裝置無法連線的原因,並提示下一步該做什麼
  • 尋找、檢視並驗證暫存器對應,依名稱讀取附單位的工程值
適用情境
適合需要讓助理透過 Modbus TCP 或 OPC UA 查看 PLC、電表、變頻器或逆變器即時數值,或排查裝置無法連線的情況,且完全不必擔心寫入現場設備。
執行需求
以本機程序執行:使用發佈頁的平台二進位檔或已發佈的容器映像,由 MCP 用戶端帶設定檔路徑啟動。需要一份列出裝置(主機、協定、可選對應)的 JSON 設定,並能透過網路連到這些裝置。OPC UA 需要存放憑證的 PKI 目錄;密碼透過 password_env 指定的環境變數提供。
安裝前請注意
設計上為唯讀,無法寫入裝置。OPC UA 信任從不自動建立,需先與伺服器管理員核對憑證指紋,再把檔案移到 trusted。密碼不得寫進設定檔,只能放在 password_env 指定的環境變數中。二進位檔尚未程式碼簽章,macOS 與 Windows 首次執行需手動放行。對應驗證只產生報告與預填的 issue 連結,由你自行提交,不會自動送出。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Proxus Industrial MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[圖片] Proxus Industrial MCP Server

Gives AI assistants such as Claude Desktop, Cursor and VS Code read-only access to industrial devices. Supports Modbus TCP and OPC UA (Basic256Sha256, Aes128_Sha256_RsaOaep or Aes256_Sha256_RsaPss with Sign or SignAndEncrypt, or unsecured; anonymous or user-name login).

[An AI assistant reads a PLC, decodes a meter value and diagnoses a device that does not answer]

Condensed from a real session against simulated devices (docs/demo.json). More at proxus.io/tools/industrial-mcp-server.

Tools

ToolWhat it does
list_devicesConfigured devices, endpoint, ISA-95 path, connection state
read_addressRaw registers or bits: hr:0, ir:10, coil:5, di:0 or 40001
watch_addressPolls a Modbus address for 1–60 s and summarises how it moved, decoded as uint16, int16, uint32, int32 or float32 in any byte order
decode_registersUp to 16 registers read every common way: int16/32, uint, float32 in ABCD/CDAB/BADC/DCBA, float64 in both word orders
browseChildren of an OPC UA node (default: Objects folder)
read_nodesUp to 50 OPC UA variables with data type, quality, status code and source timestamp
watch_nodesWatches up to 20 OPC UA variables for 1–60 s through a subscription: every change, plus first, last, min, max and average
diagnose_connectionWhy a device can't be reached: name, TCP, protocol handshake, security and certificates, login, a test read, identity and clock, step by step with the next thing to try
find_device_mapSearches the register map library by vendor, model or alias, e.g. PM5560
get_device_mapA map's registers (key, address, type, byte order, unit, scale), filtered by a search word
read_namedReads registers by key from the device's map and returns engineering values with units
verify_device_mapChecks the device's map against the real device and prepares a hardware verification report (read-only)

Nothing can write to a device.

Register maps

With a register map the assistant reads voltage_l1_n instead of guessing that hr:0-1 is a word-swapped float. A map lists every register of a device model: address, data type, byte order, scale (fixed, or a SunSpec scale-factor register), unit and the meaning of enumerated values, with the vendor document it comes from. The binaries include the open Modbus Register Maps collection (energy meters, power analysers, drives, inverters); each release also attaches it as register-maps.json.gz.

Give a Modbus device its map in the configuration, by id or as the path of a map's JSON file:

json
"meter-1": { "protocol": "modbus-tcp", "host": "192.168.10.40", "map": "schneider-electric/pm5500-pm5600-pm5700" }

maps_dir adds maps (or replaces built-in ones with the same id) from a folder of JSON files, as python3 tools/maps.py build in the collection writes them. A map that does not exist stops the server at start-up with the reason. Maps tell the assistant how to read a register, never to write one: read_named only reads.

Verify a map on your device

Most maps are transcribed from vendor documents. Ask your assistant to verify the device's map: verify_device_map reads every register once (read-only), checks that the values are plausible (floats, frequency, voltage, power factor, energy counters, model) and asks you to compare two values with the device's display. The result is a report and a link that opens a prefilled issue in the map collection; you submit it under your own GitHub account, and a bot adds you to the map's verified list. Nothing is sent without you, and the report holds check results only, no addresses, host names or serial numbers.

OPC UA security

Set security_mode (sign_and_encrypt, sign or none) and security_policy (Basic256Sha256, Aes128_Sha256_RsaOaep or Aes256_Sha256_RsaPss) per device. Certificates live in pki_dir (default pki/ next to the configuration file), in the layout most OPC UA tools use:

FolderHolds
own/This server's application certificate, created on first use (private key readable only by you)
trusted/Server certificates you approved
rejected/Server certificates seen but not approved

Trust is never automatic, in either direction:

  1. On the first connection the server's certificate lands in rejected/ and the tool answers with its SHA-256 thumbprint. Confirm the thumbprint with the server's administrator, then move the file to trusted/.
  2. If the server answers BadCertificateUntrusted or BadSecurityChecksFailed, it has not trusted this client yet. proxus-mcp certificate --config <file> prints this server's certificate file and thumbprint to trust on the server.

Passwords never go in the configuration file: password_env names the environment variable that holds them. Errors carry the OPC UA StatusCode name, the specification's description and a suggested next step.

Install

Download the archive for your platform from the releases page, unpack it, and point your MCP client at the proxus-mcp binary (see Claude Desktop below). Each archive has a .sha256 file next to it. The binaries are not code-signed yet: on macOS run xattr -d com.apple.quarantine proxus-mcp once after unpacking, and on Windows choose "More info, Run anyway" the first time.

proxus-mcp --version prints the version.

Docker

bash
docker run -i --rm -v "$PWD:/config" ghcr.io/proxus-io/proxus-mcp:<version>

The image reads /config/proxus-mcp.json and speaks MCP over stdin/stdout, so an MCP client starts it with docker as the command and run -i --rm -v <folder>:/config ghcr.io/proxus-io/proxus-mcp:<version> as the arguments. Devices on the host are reachable as host.docker.internal; on Linux add --network host to reach the plant network directly. Images are published for linux/amd64 and linux/arm64.

Build

Needs the .NET 10 SDK. The protocol drivers come from the Proxus.Drivers NuGet packages (Apache-2.0).

bash
dotnet publish src/Proxus.Mcp.Server -c Release -r osx-arm64 -o artifacts/osx-arm64

The result is one native file, artifacts/osx-arm64/proxus-mcp (about 10 MB).

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "proxus": {      "command": "/absolute/path/to/proxus-mcp",      "args": ["--config", "/absolute/path/to/proxus-mcp.json"]    }  }}

Copy proxus-mcp.example.json as a starting configuration.

Tests

  • dotnet test tests/Proxus.Mcp.Tests: unit tests, no devices needed.
  • tests/smoke/run_all.sh: the published binary against Modbus and OPC UA simulators (see tests/smoke/README.md).
  • CI (.github/workflows/ci.yml) runs both and publishes Native AOT binaries for linux-x64, linux-arm64, win-x64 and osx-arm64.

Licence

Apache-2.0, see LICENSE.

來源:README.md,提交 362a7a4

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

2
  1. v0.1.0-beta.7最新Oct 31, 2026
  2. v0.1.0-beta.5Oct 30, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分