
TiaLink
io.github.tia-forge由 GitHub 帳號 tia-forge 發布v0.1.1更新於 Oct 26, 2026
TIA Portal MCP gateway: let any AI agent create blocks, write SCL, compile and simulate.
概覽
TiaLink 是付費閘道,讓支援 MCP 的 AI 代理直接操作西門子 TIA Portal 專案:建立區塊、撰寫 SCL、編譯與模擬。
- 可以做什麼
- 設定硬體與網路:新增裝置與模組、指派 IP 位址、建立子網路與 IO 系統
- 處理程式與資料:建立 FB、FC、DB、UDT 區塊,撰寫 SCL,匯入含 LAD 的 SimaticML 區塊
- 建置專案:編譯、儲存、匯出與封存
- 模擬與驗證:下載到 S7-PLCSIM Advanced、讀寫變數、執行測試情境
- 回讀專案模型、區塊介面與硬體樹以進行核對
- 適用情境
- 適合希望讓代理在真實 TIA Portal 專案中作業、而不只是回傳程式碼片段的 PLC 工程師與自動化開發者,例如產生區塊、編譯並在模擬中核對結果。
- 執行需求
- Windows 電腦,安裝已授權的 TIA Portal V19、V20 或 V21,且 Windows 帳戶屬於 Siemens TIA Openness 群組;同一台電腦上執行已授權的 TiaLink 閘道(付費,中國區 ¥99/月);npm 轉接器需要 Node 18 以上,透過 TIALINK_URL(預設 TIALINK_TOKEN 設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 TiaLink,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
TiaLink — TIA Portal MCP Gateway
TiaLink is a TIA Portal MCP gateway by 汇智网 (hubwiz.com). It lets any MCP-capable AI agent operate Siemens TIA Portal projects directly.
📄 Product page: https://tia.hubwiz.com/tia-link
What it does
TiaLink exposes Siemens TIA Portal capabilities as MCP tools, so an AI agent can:
- Configure hardware & networks — add devices and modules, assign IP addresses, create subnets and IO systems
- Work with programs & data — create FB / FC / DB / UDT blocks, write SCL, import SimaticML (including LAD) blocks
- Build — compile, save, export, and archive projects
- Simulate & verify — download to S7-PLCSIM Advanced, read/write variables, run test scenarios
- Read back — project model, block interfaces, and hardware tree for verification
In short: instead of getting a code snippet in a chat window, the agent operates a real TIA Portal project and reads the result back.
How it works
- Protocol: MCP (Model Context Protocol), Streamable HTTP, endpoint
/mcp - Underlying: Siemens TIA Portal Openness
- Agent-agnostic: TiaLink does not bind to any specific model or vendor. Any MCP client that supports Streamable HTTP and can send a Bearer header can connect.
Getting started
- Check the machine — Windows, a licensed TIA Portal V19, V20 or V21 (V21 requires TiaLink 1.5.0 or later, verified on real hardware), and the Windows account in the local Siemens TIA Openness group. Full checklist: install.md.
- Buy and download — TiaLink is paid software: ¥99/month (China). Buy on the product page; the download link and the setup steps appear immediately after the WeChat Pay payment. Keep the order number — the licence request needs it.
- Point your MCP client at the gateway — ready-made configurations for Claude Code, Cursor, VS Code and Claude Desktop are in examples/.
- Verify — list the tools, read a scratch project, then create one block and require the compile result. If step three fails, see the troubleshooting table in install.md.
If your client only speaks stdio
TiaLink serves Streamable HTTP. Most clients handle that directly, but some
desktop hosts and one-click bundles can only launch stdio servers. For those
there is a small adapter in this repository, server/index.js —
it forwards JSON-RPC between stdio and the gateway and adds no functionality of
its own.
⚠️ The adapter is not the product. It needs a licensed TiaLink gateway already running. Without one it fails on the first request — by design.
Configuration is by environment variable: TIALINK_URL (default
http://127.0.0.1:8080/mcp), TIALINK_TOKEN, TIALINK_TIMEOUT_MS (default
600000 — compile and download calls are slow on purpose).
Deployment
- TiaLink runs on the same Windows machine as TIA Portal (Openness only runs where TIA Portal is installed).
- The MCP client can run on another machine and connect over the LAN — for example,
http://<gateway-host>:8080/mcp. - Project data never leaves the local network. Suitable for offline and on-premises environments.
- Recommended: configure an API token; the MCP client sends it as a
Bearerheader.
Supported clients
Any MCP client that supports Streamable HTTP and can send a Bearer header, for example:
- Claude Code
- Cursor
- VS Code
TiaLink is not tied to a specific vendor — the same gateway works with different agents (including Tencent WorkBuddy and other MCP clients).
Example MCP configuration
Replace 192.168.1.78 with the IP or hostname of the machine running TiaLink, and <YOUR_API_TOKEN> with your configured token. Configurations for specific clients — including one that reads the token from an environment variable instead of the file — are in examples/.
Related tools in the TIA Forge suite
TiaLink is part of TIA Forge, a TIA Portal engineering agent suite by 汇智网:
- reverse-docs — reverse engineering documentation for existing PLC projects
- lad2scl / txt2scl / txt2lad — LAD / SCL / text conversion
- block-sim — block-level simulation
Where else to find us
- Awesome PLC AI — a curated list of AI tools, agents and MCP bridges for PLC engineering (Siemens TIA Portal, CODESYS, TwinCAT, Studio 5000, GX Works), maintained by 汇智网. TiaLink is listed there alongside the alternatives, with a disclosure.
- SkillHub — the gateway packaged as an Agent Skill (
skillhub install tialink-tia-portal): prerequisites, connection snippet, first-session verification and safety rules, written for the agent that reads it rather than for a human skimming a README. The same publisher also ships three companion skills: LadDoc → SimaticML, cloud simulation and TIA Portal docs search.
FAQ
What is TiaLink? TiaLink is a TIA Portal MCP gateway by 汇智网 (hubwiz.com). It lets any AI agent operate Siemens TIA Portal projects through the MCP protocol.
Does TiaLink require internet access? No. TiaLink runs on the same machine as TIA Portal, all operations happen locally, and project data stays on-prem.
Does the MCP gateway have to be on the same computer as TIA Portal? The gateway itself must run on the same machine as TIA Portal (Openness requires it). The MCP client, however, can run on a different machine and connect over the LAN.
Is TiaLink tied to one AI vendor? No. TiaLink is agent-agnostic — any MCP client that supports Streamable HTTP with a Bearer header can use it.
Can AI-generated PLC code be used directly? AI handles the verifiable software part, but safety functions must be implemented in hardware (safety relay / safety PLC), hard interlocks must be pneumatic or electrical, and time/sensor tuning must be done on the real machine. TiaLink does not replace safety responsibility.
What does it cost? ¥99/month (China). Multi-seat, floating and air-gapped enterprise deployments are quoted on request — write to [email protected].
Is TiaLink open source?
No. TiaLink is commercial, closed-source software — the gateway and its engine are not open source. What is MIT-licensed is the stdio↔HTTP transport bridge in server/, a thin adapter that does nothing without a licensed, running gateway. Documentation in this repository is CC BY 4.0.
How do I buy it and get a licence?
Buy on the product page: after the WeChat Pay payment, the page immediately shows the download link and the setup steps — no account or form required. Install TiaLink as a normal user, open http://localhost:8080/, and send the machine code plus the generated .tlreq request file to [email protected]. The machine-bound .lic is issued for that machine and works fully offline.
Links
- Product page / buy: https://tia.hubwiz.com/tia-link (WeChat Pay; the download link appears after payment)
- Publisher: 汇智网 — https://www.hubwiz.com/
License
TiaLink is commercial, closed-source software. The gateway and its engine are not open source, and no part of them is distributed in this repository. All rights reserved.
- This repository (documentation, examples) is licensed under CC BY 4.0 — see LICENSE.
- The stdio bridge in
server/— plus itspackage.json,manifest.jsonandDockerfile— is MIT licensed — see LICENSE-BRIDGE. It is a thin transport adapter with no gateway logic: fork it, vendor it, ship it in your own agent tooling. A licensed TiaLink gateway is still required at runtime.
來源:README.md,提交 eaab6ec
工具
0版本歷史
1- v0.1.1最新Oct 22, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。