TAIPilot
by TAIPortal
README.md
<p align="center">
<img src="docs/banner.png" alt="TAIPilot — MCP server for Siemens TIA Portal" width="720">
</p>
# TAIPilot — MCP server for Siemens TIA Portal
TAIPilot connects **Claude, Cursor, GitHub Copilot and other MCP clients** to **Siemens TIA Portal V17–V21**.
The AI works in your real TIA Portal project — PLC code, tags, hardware, WinCC Unified HMI, PLCSIM tests and
documentation — through the official Openness API, on your own engineering PC, under rules it cannot change.
**Website:** https://taipilot.com · **Download:** https://taipilot.com/en/download · **Docs:** https://taipilot.com/en/docs
> This repository holds the public documentation, configuration examples and issue tracker for TAIPilot.
> TAIPilot itself is closed-source commercial software with a free edition — see [License](#license).
---
## What it does
- **PLC programming** — create, import, export and edit blocks (SCL, LAD, FBD, S7-GRAPH), tags, UDTs and DBs; compile and
let the AI fix the compiler messages; cross-references, code search, code checks.
- **Hardware and networks** — devices, modules, addresses, PROFINET, topology.
- **WinCC Unified** — HMI tags, alarms, screens and scripts.
- **Testing and virtual commissioning** — logic tests in S7-PLCSIM Advanced with virtual time, plant models,
test suites linked to requirements from your specification, and FAT reports (HTML, Excel, Markdown) with signal charts
and a traceability matrix. See [automated PLC testing](https://taipilot.com/en/plcsim-testing) and the
[BPS-1 case study](https://taipilot.com/en/case-study).
- **Safety, OPC UA, libraries, documentation** and more — 172 tools in total, grouped into profiles so the AI only sees
what a task needs.
## You stay in control
AI in an engineering project needs guard rails, not promises. They are part of every edition, including Free:
| Guard rail | What it means |
|---|---|
| **Policies the AI cannot change** | Read-only mode, allowed tool groups, denied tools, protected objects (`block:F_*`, `folder:Safety/*`). The AI can read the policy, never relax it. A `taipilot-policy.json` next to a project can only make it stricter. |
| **PLCSIM by default** | Downloads go to S7-PLCSIM; a real PLC is refused unless you change the policy (`deny_real_plc_download`). |
| **Human approval** | Delete, download, safety and license calls wait for your click in a separate TAIPilot window that ignores programmatic clicks — the AI cannot approve itself. |
| **Change sets with rollback** | Every write is recorded with a before/after snapshot and a readable diff, and can be rolled back. |
| **Tamper-evident audit log** | Every call is logged, changes also before they run; each record carries the SHA-256 hash of the previous one. |
| **Passwords never reach the AI** | Know-how protection, PLC and web-server passwords are typed into TAIPilot's own dialog. |
Details: [Security & trust](https://taipilot.com/en/security).
## Requirements
- Windows 10 or 11, 64-bit, on the PC where TIA Portal runs
- Siemens **TIA Portal V17–V21** with TIA Openness; your Windows user in the group **Siemens TIA Openness**
- .NET Framework 4.8 (part of every TIA Portal installation)
- Optional: **S7-PLCSIM Advanced** for tests, FAT reports and plant models; **WinCC Unified** for the HMI tools
- An MCP client: Claude Desktop, Claude Code, Cursor, VS Code with GitHub Copilot, Windsurf, Continue, …
TAIPilot does not include an AI model; you use your AI client's own subscription. Nothing runs on the PLC.
## Install
1. Download the installer from **https://taipilot.com/en/download**.
2. Run it and tick the AI clients you use — the installer registers TAIPilot in Claude Desktop, Claude Code, Cursor and
VS Code and keeps a backup of every file it changes.
3. Restart your AI client and ask: *“Show the TAIPilot status.”*
Step-by-step guide: [Getting started](https://taipilot.com/en/docs).
## Configure your AI client by hand
The server entry is named `tia-v21` — keep this name, the installer and the control panel look for it.
`TAIPILOT_PROFILE` is optional and chooses a [tool profile](#tool-profiles). Ready-made files are in [`examples/`](examples/).
**Claude Code**
```powershell
claude mcp add --scope user tia-v21 -- "C:\Program Files\TAIPilot\TAIPilot.exe"
```
**Claude Desktop** — `%APPDATA%\Claude\claude_desktop_config.json`
```json
{
"mcpServers": {
"tia-v21": {
"command": "C:\\Program Files\\TAIPilot\\TAIPilot.exe",
"args": [],
"env": { "TAIPILOT_PROFILE": "plc" }
}
}
}
```
**Cursor** — `%USERPROFILE%\.cursor\mcp.json` (use the chat in Agent mode)
```json
{
"mcpServers": {
"tia-v21": {
"command": "C:\\Program Files\\TAIPilot\\TAIPilot.exe",
"args": [],
"env": { "TAIPILOT_PROFILE": "plc" }
}
}
}
```
**VS Code with GitHub Copilot** — *MCP: Open User Configuration* or `.vscode\mcp.json` (note the key `servers`)
```json
{
"servers": {
"tia-v21": {
"type": "stdio",
"command": "C:\\Program Files\\TAIPilot\\TAIPilot.exe",
"args": [],
"env": { "TAIPILOT_PROFILE": "plc" }
}
}
}
```
Guides: [Claude](https://taipilot.com/en/connect/claude) · [Cursor](https://taipilot.com/en/connect/cursor) ·
[GitHub Copilot](https://taipilot.com/en/connect/github-copilot). A local HTTP endpoint with API keys is available
for clients that cannot start a local program — see the docs.
## Tool profiles
Fewer tools mean less context in every request and better tool choices by the model. Hidden tools stay callable by name.
| Profile | Groups | Use it for |
|---|---|---|
| `all` (default) | everything your license allows | exploring, mixed work |
| `plc` | core, program, analysis, alarms, project | PLC programming |
| `hmi_work` | core, hmi, analysis | WinCC Unified |
| `hw` | core, hardware, safety, online | hardware, network, download, PLCSIM tests |
| `review` | core, analysis, security | code review and audits |
| `core` | core | the smallest set |
## First prompts
- *“Connect to TIA Portal, list the blocks of PLC_1 and compile.”*
- *“Create an FB ‘Motor’ in SCL with start/stop, feedback monitoring and a fault output; generate an instance DB.”*
- *“Show the cross-references of DB_Station and tell me which blocks write to it.”*
- *“Test the dry-run protection in PLCSIM: the pumps stop below 10 % and restart only above 20 %.”*
Changes are not saved until you, or the AI on your request, save the project.
## Editions
| Edition | Tools | For |
|---|---|---|
| **Free** | 34 | try it out: connect, blocks, compile, tags — no time limit |
| **Standard** | 103 | PLC programming: code, analysis, alarms, libraries, documentation |
| **Pro** | 167 | adds hardware, WinCC Unified, PLCSIM logic tests, Safety, OPC UA |
| **Ultra** | 172 | adds HMI screen editing, web apps on the PLC, virtual commissioning with FAT reports |
A **72-hour demo trial** unlocks every feature on the TAIPilot demo projects. Prices: https://taipilot.com/en/pricing.
Older TIA Portal versions offer fewer tools because their Openness API has fewer functions.
How TAIPilot compares with other AI tools for TIA Portal: https://taipilot.com/en/compare.
## Support
- Questions and bug reports: [open an issue](../../issues) in this repository, or ask the AI to run
`tia_report_bug`, which sends the failing call and the error text to the TAIPilot developers (secrets are masked).
- Licensing, pilots, partnership: https://taipilot.com/en/contact
## License
TAIPilot is proprietary software. Use is governed by the
[Terms of service and EULA](https://taipilot.com/en/legal/terms). The documentation and examples in this repository may
be copied and adapted freely.
Siemens, SIMATIC, TIA Portal, STEP 7, WinCC and S7-PLCSIM are trademarks of Siemens AG. Claude is a trademark of
Anthropic, PBC. Other product names are trademarks of their respective owners. TAIPilot is an independent product and
is not affiliated with, endorsed or sponsored by Siemens AG or Anthropic.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues