Skip to content
Tresca

TIA Portal MCP server (TiaMcpServer)

MCP serverCommunity

A .NET tool that reads and edits a running TIA Portal V21 project through Openness, with dry-run previews for every write. By Czarnak.

113 starsUpdated 4 days agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
TIA Portal
How it connects
Drives a running copy of the tool
Access
Read-only or read-write (configurable)
Tool versions
TIA Portal V21 only
Operating systems
Windows
Needs a TIA Portal licence
Yes
Transport
Local (stdio)
AI clients documented
Claude Code, Codex, OpenCode, MiMoCode
Licence
MIT
Language
C#

What it can do

  • Reads PLC blocks, PLC data types and tag tables (as SimaticML XML, or as source text for SCL blocks, global DBs and UDTs) and the cross-references of any block, tag or folder.
  • Writes PLC software in batches of up to 50 operations: block and type content, blocks, groups, tag tables, tags and user constants, with a content hash that rejects edits to a block changed since it was read.
  • Reads hardware configuration with I/O addresses matched to PLC tags, searches the hardware catalogue, adds devices and edits subnets and PROFINET settings.
  • Inspects and edits WinCC Unified HMI tag tables, tags and alarms, works with Version Control Interface workspaces, and compiles a PLC or block and returns compiler messages.
  • Three access modes: read-only (8 tools), read-write (19 tools, one confirmation per project lifecycle call) and full; every write is logged to an audit file.

Limitations

  • Windows only, TIA Portal V21 only, and your Windows user must be in the Siemens TIA Openness group.
  • Batch writes stop at the first failure without rolling back earlier items, so re-read before retrying.
  • No PLC run/stop or download; Classic WinCC devices are listed but not read.

Install

dotnet tool install -g TiaMcpServer
tia-mcp doctor
tia-mcp install claude-code

Source: github.com/Czarnak/tia-portal-mcp#quick-start

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.