TIA Openness MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TIA Openness MCPattach to TIA Portal and list the PLC blocks in PLC_1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TIA Openness MCP
A local MCP server and JSON CLI for Siemens TIA Portal V20.
tiacli.exe lets agents and scripts work with an installed TIA Portal through
the Openness API. It provides 65 tools for projects, PLC programs, tags,
hardware, networks, HMI and libraries, plus an object bridge for discovering
and invoking supported public API operations.
Windows x64 · C# · .NET Framework 4.8 · MCP over stdio · v0.2.0
Česky · Setup · Tool reference · Examples · Coverage and limitations
Quick start
Install TIA Portal V20 with Openness, the .NET Framework 4.8 Developer Pack, and a .NET SDK capable of building this SDK-style project. Build on Windows:
./scripts/Build.ps1
$exe = (Resolve-Path ./artifacts/tiacli-v0.2.0/tiacli.exe).Path
& $exe doctor
& $exe instances
& $exe plcs
& $exe blocks --plc PLC_1Your Windows account must have active membership in Siemens TIA Openness.
TIA can request application authorization on first attachment and after a
rebuild. See setup for both steps.
Keep Newtonsoft.Json.dll and tiacli.exe.config beside the executable.
Siemens assemblies are resolved from your own TIA installation; they are
not included in this repository. Node.js is needed only for development
checks, documentation generation and tests.
Related MCP server: tiacommander-mcp
Connect an MCP client
Launch the executable with mcp as its only argument. For Codex, copy
examples/codex-config.toml into the project's
local .codex/config.toml and replace the example executable path.
The local file is ignored by Git. This repository does not register a
global MCP server.
For clients using JSON mcpServers configuration, start from
examples/mcp-config.json. Configuration formats
vary; the server itself uses standard stdio.
Begin with tia_doctor, tia_list_instances and tia_attach. Attach once
and reuse the session. Select exact paths returned by list tools.
Capabilities
Area | Examples |
Sessions and projects | Attach/start TIA, create/open/save/SaveAs/close, archive/retrieve |
PLC programs | SCL/STL/UDT/DB generation, XML import/export, rename/delete, groups, compilation |
PLC data | UDT operations, tag tables and tag CRUD, addresses and properties |
Hardware and networks | Catalog search, station/module operations, subnets and node connections |
HMI | Classic/Unified discovery, supported creation, properties, native import/export |
Libraries | Project/global libraries, master copies and instantiation |
API bridge | Type/signature discovery, handles, properties, attributes, services and method calls |
This is not a claim of complete implementation or testing of every Siemens
API operation. Delegates/events, ref/out parameters and arbitrary CLR
construction are unsupported. Products and licenses also determine which
operations work. See coverage.
CLI
All 65 tools can also be called from a short-lived CLI process:
& $exe tools
& $exe call tia_list_tag_tables --json-file ./examples/list-tag-tables.jsonCLI results are JSON. Object handles belong to one process/session; use MCP for workflows sharing handles. See CLI and MCP.
Development
npm ci --ignore-scripts
npm run check
npm test
npm run docs:checknpm run check needs no TIA. npm test requires the built EXE and installed
V20 API, but does not attach to an open project. Live suites are separate
and perform real operations; read testing first.
Documentation
License and dependencies
Original code and documentation are released under the Unlicense: you may use, modify, sell and redistribute them, including in closed-source applications. Dependencies keep their own licenses; see third-party notices.
This is an independent community project, not affiliated with or endorsed by Siemens. TIA Portal, SIMATIC and WinCC are Siemens product names. You need your own installed and appropriately licensed Siemens products.
Operations can change engineering projects and, through supported generic API methods, interact with online devices. Use project copies for experiments. The project provides no safety certification or warranty.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP facade over the Nebelus Construction API. ~48 tools give full agent build parity: create/update/probe agents, edit graphs, attach knowledge and vector stores, wire connectors, set governance policies and locked guardrails, enable grounding-trace, and read deployment wiring. Purpose-built for regulated industries: data residency is enforced per region (EU / GCC-KSA), with PII controls and an audit trail. Agents are created as drafts — no deploy tool is exposed over MCP by design; publishing happens in the Nebelus console.
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
327 dev tools via REST API and MCP. Generate Dockerfiles, schemas, K8s, APIs, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIndustrial-grade MCP server for Siemens TIA Portal (V17–V21). 120+ tools for PLC programming: create blocks (FB/FC/OB/DB), manage tags, compile, download, and simulate with PLCSim Advanced. On-premise, sovereign-AI compatible.17MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that connects AI assistants to Siemens TIA Portal via the Openness API. AI-assisted PLC programming, project management, hardware configuration, cross-reference analysis, and deployment. 19 tools, 230 actions.48-
- FlicenseNot gradedqualityBmaintenanceAn MCP server that lets AI agents interact with Siemens TIA Portal via its Openness API.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server for controlling Siemens TIA Portal, enabling AI agents to connect, read PLC tags, list blocks, inspect project structure, and compile projects. This community edition provides 5 read-only tools under the MIT license.MIT