LadDoc Cloud — LadDoc to SimaticML over MCP

السجل الرسمي أخرى

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

ماذا يمكنك أن تفعل مع LadDoc Cloud — LadDoc to SimaticML over MCP؟

  • Validation is the gate. One issue and no XML is produced — you never hand TIA Portal a block
  • Deterministic output. The same LadDoc always produces byte-identical SimaticML; UIds and
  • Target format: V19 SimaticML documents.
  • Optional cross-check: pass the target project's inventory to catch symbol mismatches before
  • One document per call: to generate several blocks, call once per block (called FC/FBs are

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http laddoc-cloud-laddoc-to-simaticml-over-mc 'https://tia.hubwiz.com/lad/mcp' --header 'Authorization: <Bearer API key from https://tia.hubwiz.com/lad, format '\''Bearer lad_live_...'\''. WeChat login issues a free key with 100 calls.>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "laddoc-cloud-laddoc-to-simaticml-over-mc": {
            "type": "http",
            "url": "https://tia.hubwiz.com/lad/mcp",
            "headers": {
                "Authorization": "<Bearer API key from https://tia.hubwiz.com/lad, format 'Bearer lad_live_...'. WeChat login issues a free key with 100 calls.>"
            }
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. LadDoc Cloud — LadDoc → SimaticML over MCP
  2. What it does
  3. Quick start
  4. Pricing
  5. Notes

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
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
{
  "mcpServers": {
    "lad-cloud": {
      "url": "https://tia.hubwiz.com/lad/mcp",
      "headers": { "Authorization": "Bearer lad_live_YOUR_KEY" }
    }
  }
}
First calls
// 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.

الأسئلة الشائعة

ما هو LadDoc Cloud — LadDoc to SimaticML over MCP؟

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

كيف أثبّت LadDoc Cloud — LadDoc to SimaticML over MCP؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http laddoc-cloud-laddoc-to-simaticml-over-mc 'https://tia.hubwiz.com/lad/mcp' --header 'Authorization: <Bearer API key from https://tia.hubwiz.com/lad, format '\''Bearer lad_live_...'\''. WeChat login issues a free key with 100 calls.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج LadDoc Cloud — LadDoc to SimaticML over MCP إلى مفتاح API؟

نعم. يتطلب Authorization، وتضبطها في إعداداته.

هل LadDoc Cloud — LadDoc to SimaticML over MCP مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون LadDoc Cloud — LadDoc to SimaticML over MCP؟

ينشره tia-forge. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.