Drive Siemens TIA Portal V20/V21 (STEP 7, WinCC Unified) from any MCP client — create projects, generate PLC & HMI, compile & diagnose. Prebuilt runtime, no Openness coding required.
# Add to your Claude Code skills
git clone https://github.com/bulaofen0036-coder/TIA_Portal_Openness_MCPGuides for using ai agents skills like TIA_Portal_Openness_MCP.
Last scanned: 10/26/2026
{
"issues": [
{
"file": "tools/tiaportal-mcp/skill/SKILL.md",
"line": 151,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-10-26T09:44:47.257Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how TIA_Portal_Openness_MCP compares with popular alternatives.
TIA_Portal_Openness_MCP is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by bulaofen0036-coder. Drive Siemens TIA Portal V20/V21 (STEP 7, WinCC Unified) from any MCP client — create projects, generate PLC & HMI, compile & diagnose. Prebuilt runtime, no Openness coding required. It has 353 GitHub stars.
Yes. TIA_Portal_Openness_MCP passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/bulaofen0036-coder/TIA_Portal_Openness_MCP" and add it to your Claude Code skills directory (see the Installation section above).
TIA_Portal_Openness_MCP is primarily written in C#. It is open-source under bulaofen0036-coder on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh TIA_Portal_Openness_MCP against similar tools.
No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
See comparison
Current version: see the Release badge below and CHANGELOG.md (this README no longer hardcodes a version).
English · 中文
v2.0 — the same exe is also a declarative CLI (
tia). Any AI emits a YAML/JSON spec, any engineer runs one command (tia gen spec.yaml) — no MCP client required. Verbs:gen/patch/compile/describe/export/import/prewarm/schema/version. Exit code 0/1/2. Seedocs/CLI_quickstart.md. The MCP server behaviour is unchanged.
Free & open (MIT). The server runs with no license key — there is no license-enforcement code at all.
🖥️ Don't want to wire up an MCP client yourself? Try TIA 助手 (TIA Assist) — the desktop edition built on this engine: unzip and run, built-in AI assistant, and every write to your project waits for your approval first. 👉 aeenhance.com · 1-minute demo · Trial: bulaofen0036@gmail.com · Comparison ↓
Drive Siemens TIA Portal V20 or V21 from any MCP client (stdio or HTTP): create projects, add hardware, generate PLC objects (Tag / UDT / DB / SCL / LAD), build WinCC Unified screens and events, compile-and-diagnose, and save — all through natural-language tool calls. The bundle ships prebuilt runtimes, a Skill spec, a static tool list, a capability matrix, PLC/HMI templates, one-shot project blueprints, and a manual. No separate source clone required to run.
Works with any MCP-capable client — Cursor, VS Code, Claude Desktop, or your own HTTP client — using the same
TiaMcpServer.exe.
TIA Portal projects are binary, so Git cannot diff them — which is why "version control" in this field has long meant a pile of dated Save As folders. The V21 Version Control Interface maps a project onto an ordinary folder, one text file per block, so it can be diffed, committed and reviewed. This release wraps the whole round-trip into a few commands — you never have to click anything inside the TIA Portal UI.
One sentence to your AI client is enough:
Put the current project under Git, use D:\repos\my-plc as the workspace
It creates the workspace → maps the whole project automatically (hundreds of
blocks in one command, no manual ticking) → exports the text, and you git commit.
Later, to see what changed:
GetVersionControlStatus(changedOnly=true)
→ A3_4_Hoist | Unequal ← per block, not per file
tools/vci-watch/: after each successful compile it auto-exports,
writes the CHANGELOG and runs git commit — the engineer does nothing.📖 Full usage and the three behaviours you must know → docs/version-control-git.md
First time? No MCP client, no code. Once TIA is installed, these 3 steps generate your first project in minutes. (Wiring an AI client like Cursor / Claude Desktop over MCP instead? See Quick Start below.)
Siemens TIA Openness group and log off/on once
(the group is not effective until re-login — the single most common blocker).
Use the exe matching your installed version — the bundle root ships
tia.cmd (V21) / tia-v20.cmd (V20); all other paths are auto-resolved.
tia.cmd doctor (V20: tia-v20.cmd doctor) once after
install — it checks TIA install / exe-version match / Openness group / host
registration and prints the exact fix per problem (--fix auto-adds the group).scripts\预热.bat and leave the
window open. It keeps one headless TIA resident so every later command connects in
~1s (without it, each run cold-starts ~3 min). Press Ctrl+C to close.templates\project-blueprints\scaffold_spec_motor.json (or
scaffold_spec_start_stop.json) onto scripts\生成工程.bat — it creates the
project → adds PLC/HMI → builds blocks → compiles → saves in one shot. Exit code
0 means success.
docs/AI_spec_prompt.md
(YAML or JSON), then drag it onto 生成工程.bat.tia gen <spec> (start with
--dry-run for an offline check).This repository is the engine: you bring your own AI client (Cursor, Claude, VS Code…) and mount it. If you'd rather open an app and start working — or hand it to colleagues and commissioning engineers who have never heard of MCP — the author also ships TIA 助手 (TIA Assist): the same engine inside a Windows desktop app, with the AI assistant, online monitoring and trend recording built into the UI. (The UI and website are currently Chinese-only.)

↑ Real screen capture (demo project): asked to write a duty/standby rotation FB for two pumps, it hit 4 compile warnings on the first build and fixed them itself down to 0 errors / 0 warnings — pausing for a human "Yes" before every write. Watch the full recording →
| Open-source MCP (this repo) | TIA 助手 (desktop edition) | |
|---|---|---|
| Form | MCP server + tia CLI, driven by your own AI client |
Windows desktop app, no install — unzip and run; V20 / V21 engines bundled and picked automatically |
| AI | Bring your own (Cursor / Claude Desktop / VS Code …) | Built-in AI assistant; DeepSeek, Qwen, Kimi, Zhipu or any OpenAI-compatible API — or a local Ollama model, fully offline, project data never leaves the plant |
| Write safety | Up to your client | Every write waits for your approval; irreversible operations (e.g. deleting blocks) are confirmed separately; hash-chained audit log |
| Online values | Read-only (S7 absolute addresses / OPC UA) | No TIA Portal needed — symbolic read/write over S7CommPlus; writes off by default, forced read-back when enabled |
| Trend recording | — | Record, overlay/split, export and replay CSV |
| Environment check | tia.cmd doctor (CLI) |
Graphical per-item check of runtimes / Openness allow-list / user group with the fix for each, one-click diagnostic bundle |
| License | MIT, free | Commercial — free trial available |
Try it: email bulaofen0036@gmail.com with your TIA Portal version (V20 / V21) and what you want to try → get the trial package, run it, send back the machine code and receive a license key. The safest first run: let it explain your own project read-only and check whether it got it right. More: AI assistant · Online debugging · Safety boundaries · Manual · Get started
Both run the same engine: bugs fixed here are fixed there too, and issues reported here help both.
PlcBuildAndImport now returns
CapabilityDecision, CapabilityWarnings, and RecommendedNextActions;
ApplyUnifiedHmiScreenDesignJson(strict=true) fails when any HMI property write
fails; EnsureUnifiedHmiTag(requireVerifiedBinding=true) requires readback as
SymbolicVerified or AbsoluteVerified.Siemens.Engineering.Base/Step7/…),
V20 binds the monolithic Siemens.Engineering.dll.
tools/tiaportal-mcp/src/TiaMcpServer/bin/Release/net48/TiaMcpServer.exetools/tiaportal-mcp/src/TiaMcpServer/bin-v20/Release/net48/TiaMcpServer.exeExportAsDocuments / ExportBlocksAsDocuments /
ImportFromDocuments / ImportBlocksFromDocuments read/write the diff-friendly
SIMATIC SD text format (.s7dcl + .s7res) on V20+ and are flagged PREFERRED on
V21+. The SimaticML XML chain remains for backward compatibility.[L0]/[L1]/[L2] so a nor