1. Install
Run TAIPilot-<version>-setup.exe on the engineering PC where TIA Portal V21 is installed. The installer puts TAIPilot.exe and the control panel TAIPilot.Control.exe into C:\Program Files\TAIPilot (administrator rights once, no reboot). Prefer no installer? Unpack the portable ZIP anywhere.
TAIPilot finds the Openness assemblies of your TIA installation automatically (registry). If you use a non-standard location, set the environment variable TIA_PUBLICAPI_DIR.
2. Openness access
TIA Portal only allows programs that run as a member of the Windows group Siemens TIA Openness to use its API. An administrator adds your user once:
net localgroup "Siemens TIA Openness" %USERNAME% /add
Sign out and back in. The first time TAIPilot attaches, TIA Portal asks whether to allow access — confirm it (you can choose "Yes to all").
3. Connect Claude
The easiest way: open the control panel, tab Claude profile, pick a profile and click Write profile to checked configs. It writes the entry into Claude Desktop and Claude Code (with a backup of each file). Restart Claude.
By hand, for Claude Code (all projects of your user):
claude mcp add --scope user tia-v21 -- "C:\Program Files\TAIPilot\TAIPilot.exe"
For Claude Desktop, add to claude_desktop_config.json:
"mcpServers": {
"tia-v21": { "type": "stdio", "command": "C:\\Program Files\\TAIPilot\\TAIPilot.exe", "args": [] }
}
4. Your first session
- Open your project in TIA Portal (or let the AI open it: "Open C:\Projects\Line3\Line3.ap21").
- Ask: "Connect to TIA Portal, list the blocks of PLC_1 and compile." The AI calls
tia_connect,tia_list_blocksandtia_compile. - Ask for a change: "Create an FB 'Motor' in SCL with start/stop, feedback monitoring and a fault output; generate an instance DB."
- Review the result in TIA Portal. Changes are not saved until you (or the AI, on your request) call
tia_save_project.
Tip: before larger changes, ask the AI to create a restore point withtia_archive_project, or to export the program to git withtia_export_program.
Tool profiles
167 tools are a lot of context. Profiles show the AI only what a task needs; tools outside the profile stay callable by name.
| Preset | Groups |
|---|---|
plc | core, program, analysis, alarms, project |
hmi_work | core, hmi, analysis |
hw | core, hardware, safety, online |
review | core, analysis, security |
all | everything your license allows (default) |
Set the start profile with the environment variable TAIPILOT_PROFILE (the control panel does this for you), or let the AI switch at runtime with tia_profile.
License & trial
- To see Pro at work, start the 72-hour demo trial (your account → Demo trial, the control panel → License → Start demo trial, or
tia_license action=trial): full Pro on the TAIPilot demo projects, Free plus read-only analysis on your own projects, once per PC and e-mail. Otherwise TAIPilot runs as Free (32 core tools). - Buy online, then activate: control panel → License → Activate key, or
tia_license action=activate key=TAIP-…. - A key works on 2 PCs at the same time. Moving to a new PC: Unlink this PC on the old one (or in your account), then activate on the new one.
- No internet on the engineering PC? Send us the machine ID shown in the License tab and import the license file you receive (Import license file…).
Policies & audit
Every tool call is written to the audit log (%LOCALAPPDATA%\TAIPilot\audit), protected by a hash chain. Open the Audit tab of the control panel to filter, verify the chain and export.
The machine policy lives in %LOCALAPPDATA%\TAIPilot\policy.json; edit it in the Policies tab. A taipilot-policy.json next to a project's .ap21 file can only make the rules stricter.
{
"read_only": false,
"deny_real_plc_download": true,
"protected_objects": ["block:F_*", "folder:Safety/*", "tag_table:IO_*"],
"require_approval": ["delete", "download", "safety", "hardware"]
}
The AI can read the policy (tia_policy) to understand a refusal — it can never change it.
HTTP transport (optional)
Claude starts TAIPilot over stdio; nothing else is needed. For clients that cannot start a local process, TAIPilot can serve MCP Streamable HTTP on 127.0.0.1. Create an API key in the control panel (API keys) and start the server in the HTTP server tab.
claude mcp add --transport http tia-v21-http http://127.0.0.1:8765/mcp --header "Authorization: Bearer tmcp_..."
Troubleshooting
- "TIA Portal did not answer within N s" — TIA Portal is probably showing a dialog. Answer it in TIA; TAIPilot resumes automatically.
- "Openness access denied" — your user is not in the
Siemens TIA Opennessgroup yet, or you have not signed out and in after adding it. - A tool is missing — check the profile (
tia_profile) and the license tier (tia_license). - Logs —
%LOCALAPPDATA%\TAIPilot\logs; the control panel shows the tail of today's log.