PLC Cloud Sim — LAD/SCL simulation over MCP

io.github.tia-forge由 GitHub 账号 tia-forge 发布v0.1.1更新于 Oct 25, 2026

Cloud PLC simulator: validate and step-run LAD/SCL programs, run scenarios, return PASS/FAIL.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具

概览

AI 生成的概览

托管式云端 PLC 模拟器,让助手校验并分步运行 LAD 与 SCL 程序、执行场景并返回 PASS/FAIL 结果,无需 TIA Portal。

可以做什么
校验梯形图(LAD)文档与 SCL 源码,在运行前给出解析和校验结果。按给定输入跨扫描周期分步运行 LAD 与 SCL 程序,并读回变量与诊断信息。运行声明式场景(用例、穷举矩阵、带种子的模糊测试或 always 不变量),返回 PASS/FAIL 报告。执行结果确定可复现,场景可用作回归测试。
适用场景
适合让助手在不安装 TIA Portal 的情况下检查 PLC 逻辑或 SCL 代码并模拟其行为,或把场景变成可重复的回归测试。
运行要求
远程 Streamable HTTP 端点 tia.hubwiz.com/sim/mcp。需在 Authorization 请求头中提供 Bearer API 密钥,通过服务商控制台的微信登录获取。调用按次计费:握手请求免费,每次 tools/call 计一次调用。
安装前请注意
程序文本(LadDoc 或 SCL)会上传到第三方托管服务,若政策禁止代码外传则不宜使用。密钥为付费凭证:免费 100 次调用,之后按 1000 次 9 元充值。该服务与西门子无关,且非开源。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PLC Cloud Sim — LAD/SCL simulation over MCP,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.tia-forge%2Fplc-cloud-sim/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "plc-cloud-sim-lad-scl-simulation-over": {
      "type": "http",
      "url": "https://tia.hubwiz.com/sim/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

PLC Cloud Sim — MCP server for LAD / SCL simulation

Cloud PLC simulator over MCP by 汇智网 (hubwiz.com). Validate and step-run Ladder (LAD) and SCL programs, run scenario acceptance, get a PASS/FAIL report — without installing TIA Portal.

This repository is documentation and client configuration only. The simulator runs as a hosted service at tia.hubwiz.com; its implementation is not open source.

  • Endpoint: https://tia.hubwiz.com/sim/mcp
  • Transport: Streamable HTTP (stateless, POST JSON-RPC)
  • Auth: Authorization: Bearer sim_live_… (the X-API-Key header is also accepted)
  • Dashboard / API keys: https://tia.hubwiz.com/sim
  • Registry entry: io.github.tia-forge/plc-cloud-sim (official MCP Registry)

What it does

ToolPurpose
lad_validateValidate one or more LadDoc ladder documents
lad_simulateRun scan cycles with given inputs, read back variables and diagnostics
lad_run_scenarioRun a declarative scenario (cases / exhaustive matrix / seeded fuzz / always invariants)
scl_validateParse and validate SCL source
scl_simulateStep-run SCL across scan cycles and read variables back
scl_run_scenarioRun a declarative SCL scenario

Semantics match a real PLC scan: contacts, coils, timers/counters, FC/FB calls, jumps, and IF/CASE/FOR/WHILE for SCL. Execution is deterministic and reproducible — the same input yields the same result, so a scenario is usable as a regression test.

Quick start

Claude Code

bash
claude mcp add --transport http sim-cloud https://tia.hubwiz.com/sim/mcp \  --header "Authorization: Bearer sim_live_YOUR_KEY"claude mcp list

Cursor / VS Code / any JSON-configured client

json
{  "mcpServers": {    "sim-cloud": {      "url": "https://tia.hubwiz.com/sim/mcp",      "headers": { "Authorization": "Bearer sim_live_YOUR_KEY" }    }  }}

Ask the agent for something

Validate this SCL block, then run it for two scans with Start=false then Start=true,and tell me the final value of Motor.

Pricing

  • WeChat login on the dashboard issues a key immediately: 100 calls free, no signup form.
  • Top-ups: 1000 calls for ¥9, one-off — no subscription, no monthly fee.
  • Handshake requests (initialize, tools/list) are free; each tools/call costs 1 call.

Notes

  • No TIA Portal installation is required — the program text (LadDoc / SCL) is sent to the service. If your policy forbids uploading program text, use an on-premises path instead (see TiaLink for the on-machine gateway).
  • Related services: LadDoc Cloud (LadDoc → SimaticML), TIA Portal ladder examples.
  • Documentation license: CC BY 4.0. "TIA Portal", "SIMATIC" and "S7" are trademarks of Siemens AG; this service is an independent third-party tool, not affiliated with or endorsed by Siemens.

来源:README.md,提交 0180de8

工具

0
该服务器需要 API 密钥等凭据,因此 SourceWeft 无法在没有凭据的情况下读取其工具,也未收录。

版本历史

1
  1. v0.1.1最新Oct 25, 2026

评分

已满足适用检查项的 75%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

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

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

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