Guide · Claude Desktop and Claude Code

Connect Claude to Siemens TIA Portal

Let Claude read, write, compile and test your TIA Portal V17–V21 project through the TAIPilot MCP server — on your PC, under your rules.

What you get

On its own, Claude can write SCL as text. Connected through TAIPilot, it works in your TIA Portal project: it reads blocks and tags, imports sources, compiles, reads the compiler messages, fixes them and tests the result in PLCSIM. TAIPilot is an MCP server — Claude sees TIA Portal as a set of well-described tools and calls them step by step, through the official Siemens Openness interface.

Setup

  1. Download and install TAIPilot on the PC where TIA Portal runs. An administrator adds your Windows user to the group Siemens TIA Openness once.
  2. In the installer, tick Claude Desktop and Claude Code. The installer writes the configuration and keeps a backup of each file it changes.
  3. Restart Claude.

By hand, for Claude Code:

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": [] }
}

First prompts to try

  • “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 Claude on your request, save the project.

You stay in control

  • Policies Claude cannot change: read-only mode, protected blocks and folders, no download to a real PLC.
  • Approval window: risky steps such as a download or a deletion wait for your click in a separate TAIPilot window.
  • Change sets: every write is recorded with a diff and can be rolled back.
  • Passwords are typed into a TAIPilot dialog and never reach Claude.

Keep in mind: what Claude reads through the tools — for example the source of a block — is sent to Anthropic as part of the conversation. Details: Security & trust.

Good to know

  • You need your own Claude subscription; TAIPilot is tested most with Claude.
  • TAIPilot runs on Windows next to TIA Portal V17–V21. The free edition has 34 core tools; the paid plans add the rest.
  • The AI makes mistakes. Review its changes and test in simulation before any download.

Other clients: Cursor, GitHub Copilot in VS Code. Full guide: Getting started.