LadDoc Cloud — LadDoc to SimaticML over MCP

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

Generate TIA Portal importable SimaticML (V19) from LadDoc IR, with strict validation, over MCP.

已验证Streamable HTTP可网页运行效率与工作流开发者工具

概览

AI 生成的概览

远程 MCP 服务,用于校验梯形图 LadDoc 文档并生成可导入 TIA Portal 的 SimaticML(V19)块。

可以做什么
查询该服务实现的 LAD-IR 身份信息,包括 schemaVersion、bundleHash 和 sourceCommit(lad_version)。校验单个 LadDoc 文档,返回 valid 以及包含 code、path、message 的 issues(lad_validate)。仅在校验通过时生成 SimaticML 块(FC、FB 或 OB),输出确定且字节一致,UId 与连接由生成器分配(lad_generate)。可选地传入目标项目清单做交叉检查,在生成前发现符号不匹配。每次调用只处理一个文档,多个块需多次调用。
适用场景
当你已有以 LadDoc IR 表示的梯形图逻辑,希望由助手检查并生成可导入 TIA Portal V19 的 SimaticML 时适用。校验门槛适合绝不能让无法导入的块进入 PLC 项目的流程。
运行要求
远程 Streamable HTTP 端点,无需本地包或运行时。需要 Bearer API 密钥,通过 Authorization 请求头发送(也接受 X-API-Key 请求头),密钥需在提供方控制台获取;在该处用微信登录可获赠 100 次调用的免费密钥。需要能访问提供方主机的网络。
安装前请注意
Authorization 请求头携带密钥,请避免写入共享配置或日志。超出免费额度后按提供方定价计费,反复校验重试会消耗额度。该服务只输出文本/XML,不接触运行中的 TIA Portal,导入与编译需另行完成。它是独立第三方工具,与西门子无隶属关系。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "laddoc-cloud-laddoc-to-simaticml-over": {
      "type": "http",
      "url": "https://tia.hubwiz.com/lad/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

LadDoc Cloud — LadDoc → SimaticML over MCP

LadDoc Cloud turns a ladder-logic document (LadDoc IR) into SimaticML that TIA Portal imports directly — with a strict validation gate in front of the generator.

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

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

What it does

ToolPurpose
lad_versionFree: returns the LAD-IR identity this service implements (schemaVersion, bundleHash, sourceCommit)
lad_validateValidate one LadDoc document; returns valid plus issues with code / path / message
lad_generateGenerate a SimaticML block (FC / FB / OB) — only if validation passes

Behaviour worth knowing:

  • Validation is the gate. One issue and no XML is produced — you never hand TIA Portal a block that cannot be imported. Fix and retry; the remaining issues come back in full.
  • Deterministic output. The same LadDoc always produces byte-identical SimaticML; UIds and connections are assigned by the generator.
  • Target format: V19 SimaticML documents.
  • Optional cross-check: pass the target project's inventory to catch symbol mismatches before generation.
  • One document per call: to generate several blocks, call once per block (called FC/FBs are submitted as their own documents).

Quick start

Claude Code

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

Cursor / VS Code / any JSON-configured client

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

First calls

jsonc
// free — confirm which LAD-IR bundle this service implements{ "name": "lad_version", "arguments": {} }
// validate, then generate{ "name": "lad_validate", "arguments": { "doc": { "schemaVersion": "1.0", "block": { /* … */ } } } }{ "name": "lad_generate", "arguments": { "doc": { /* same doc */ } } }

Pricing

WeChat login on the dashboard issues a key immediately: 100 calls free. Handshake requests (initialize, tools/list) and lad_version are free.

Notes

  • This service produces text/XML; it does not touch a running TIA Portal. To import the result and compile it, use TIA Portal itself or the on-machine gateway (TiaLink).
  • Free companion: PLC Cloud Sim runs the logic before you import it.
  • 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,提交 a21c4f6

工具

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

版本历史

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

评分

已满足适用检查项的 75%

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

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

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

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

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