WAGO PLC

io.github.WagoAlex由 GitHub 账号 WagoAlex 发布v2.4.6更新于 Nov 5, 2026

Read and monitor WAGO PLC parameters over the WDA REST API. Read-only unless writes are allowed.

概览

AI 生成的概览

通过 WDA REST API 将 AI 助手连接到 WAGO PLC,可用自然语言读取和监控控制器参数。

可以做什么
  • 通过 WDA REST API 读取和监控 PLC 参数与状态,例如固件版本、NTP 状态和诊断 LED 状态
  • 根据逗号分隔的主机列表同时查询多台 PLC
  • 在明确开启写入后,可修改参数、运行方法和上传文件
  • 默认拒绝重启、恢复出厂设置和固件相关方法,除非管理员单独放行某个方法
  • 可将写入、方法调用和文件上传记录到可选的审计日志
适用场景
适合希望用自然语言询问 WAGO 控制器情况、而不写脚本或查参数 ID 的场景,例如跨多台 PLC 检查固件、时间同步或诊断信息。
运行要求
以 stdio 本地运行,可通过 uvx 包、Docker 镜像或 Claude Desktop 扩展安装。需要能访问 PLC 的网络,WAGO_PLC_HOSTS 填写其 IP 地址,DEFAULT_PLC_USERNAME 与 DEFAULT_PLC_PASSWORD 用于 WBM 登录,TRANSPORT 固定为 stdio;仅在需要写入时把 WAGO_ALLOW_WRITES 设为 true。CC100 可能需要把 WAGO_TIMEOUT_SECONDS 设为 45 或更高。
安装前请注意
WBM 密码通过 DEFAULT_PLC_PASSWORD 提供,且所有列出的 PLC 共用同一凭据。将 WAGO_ALLOW_WRITES 设为 true 后,助手可修改参数、运行方法并向在线控制器上传文件,非必要应保持只读。GitOps 模式下会拒绝文件上传,可用 AUDIT_LOG_FILE 指定审计日志路径。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WAGO PLC,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[wago-plc-mcp-server - bridge WAGO PLCs to AI agents]

[Docker pulls] [PyPI] [License: MPL-2.0] [Docs: GitHub Pages]

wago-plc-mcp-server

This MCP server connects Claude and other AI assistants to WAGO PLCs. You ask a question in plain English. The assistant gets the answer from the PLC. You do not need scripts or parameter IDs.

[Overview demo]

Quick start

You need Claude Desktop and a PLC that your computer can reach on the network.

  1. Download wago-plc-mcp-server-<version>.mcpb from the latest release.
  2. Install the .mcpb file:
    • Linux: Double-click the file.
    • Windows and macOS: Drag the file onto Settings → Extensions in Claude Desktop.
  3. In the form, enter the PLC IP address and the WBM password. Then save the form.
  4. Ask Claude: "List my PLCs".

If the installer does not start on Windows, or if you have many PLCs, see Claude Desktop and Claude Code.

Try these questions

What firmware is running on 192.168.1.10?

Check the NTP status on all PLCs.

Show the diagnostic LED states on all PLCs.

For more examples and screen recordings, see Example questions.

Safe by default

  • The server only reads. It refuses all writes until you select Allow writes and method calls.
  • The server refuses reboot, factory reset, and firmware methods. An administrator can allow one exact method.
  • In GitOps mode, the server refuses file uploads. File uploads do not have a pull-request path yet.
  • An audit log records each write, each method call, and each file upload.

[Read, write, and critical write paths from Claude to a WAGO PLC]

For the full rules, see How it works.

Next steps

I want to...Read
Connect many PLCs, install the WAGO skill, or watch the demosClaude Desktop and Claude Code
Know what the server does on my PLCsHow it works
Learn the internal operation step by stepLearning page (Deutsch)
Run one server for a teamDeployment
Review each change in a pull request before it goes to a PLCGitOps
Update firmwareFirmware updates
See what a firmware update needs on one pageFirmware update overview (Deutsch)
See all HTML pages, in English and GermanProject pages
Configure TLS, API keys, and the audit logSecurity
Find all tools and settingsReference
Find an answer to a common questionFAQ

Supported devices: CC100, PFC100 G2, PFC200 G2, PFC300, Edge Controller, WP400, and TP600. For the tested firmware versions, see Supported hardware.

License

Mozilla Public License 2.0

来源:README.md,提交 f4625ee

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未在限时内响应。

版本历史

5
  1. v2.4.6最新Nov 5, 2026
  2. v2.4.4Sep 21, 2026
  3. v2.4.3Sep 18, 2026
  4. v2.4.1Sep 18, 2026
  5. v2.4.0Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。