Labsco
MCP SERVER

TiaCommander

by a4webdev

Drive Siemens TIA Portal from an AI client — blocks, tags, hardware, downloads and live PLC data.

IoT, Smart Home & Embedded Hardware
Summary
V17 through V20 are supported; only V19 is fully tested, and the README says so.

The other versions are expected to work because Openness keeps its APIs backward compatible, which is an honest statement of what has and hasn't been exercised. Live values come through a separate S7CommPlus bridge shipped inside the download — that is how the diagnostics tool can report a CPU's actual RUN or STOP state, which the engineering API does not expose at all.

What it is

A Windows MCP server that reaches TIA Portal through the Openness API: 18 tools with 205 actions across PLC programming, project management, library operations, hardware configuration, cross-reference analysis and deployment.

What you get
  • Blocks read and written — `blocks_read` (16 actions) lists, exports and compiles; `blocks_write` (24) creates FBs, FCs and OBs and edits interfaces, networks and rungs
  • `db` (11 actions) for data blocks, including reading and writing start values at any depth in nested multi-instance structures
  • `tag` (13), `udt` (11), `alarm_text` (15) and `watch` (14) for tags, user-defined types, alarm texts and watch or force tables
  • `hardware` (14) and `library` (25) for hardware configuration and library management
  • `diagnostics` (7) and `download_upload` (4) — go online, compare the project against the PLC, scan the network for reachable controllers, download
  • `live_data` (11) reads data blocks, tag tables, watch tables and CPU diagnostics from the running controller
  • `xref` (6) for cross-references, `folders` (5) for the project tree, `session` (16) and `admin` (13) for exports, call statistics and recent errors
Requirements

Windows with .NET Framework 4.8, and TIA Portal V17 to V20 installed — V16 and older are detected and refused with a message. Download the portable release for version 3.15.2 and point your client at `C:\TiaCommander\TiaCommander.exe` over stdio, or add it in one line with `claude mcp add --transport stdio --scope user tiacommander`. Protocol: MCP 2024-11-05.