PLCWare — TIA Portal MCP server for Claude Code
PLCWare - TIA Portal (tia) is an MCP server for automating Siemens TIA Portal V21 from Claude Code, Cursor, Copilot, and other AI editors. It creates devices, compiles code, and deploys projects from prompts.
no license ★ 9 updated 2026-10-29
claude mcp add --env TIA_API_BASE=<TIA_API_BASE> --env TIA_MCP_MODE=<TIA_MCP_MODE> --transport stdio plcware-tia-portal-tia -- npx -y @renanlido/tia-openness-mcpWhat PLCWare - TIA Portal (tia) does
PLCWare runs a local HTTP/JSON API that wraps Siemens Openness, the official automation interface for TIA Portal V21. The MCP server @renanlido/tia-openness-mcp connects this API to your AI editor, enabling it to create devices and networks, author and import SCL/SimaticML blocks, manage tags and types, compile, and download projects to target hardware.
The application runs on Windows and requires .NET Framework 4.8 plus a local TIA Portal V21 installation with the Openness component. Download is free; usage requires an activation license (a 30-day trial is available without a card). The MCP client is MIT-licensed.
For advanced workflows, install the tia-harness Claude Code plugin—a set of skills and subagents that convert a structured project spec into a verified TIA file.
What it helps with
- generate and import PLC blocks (LAD, FBD, SCL) without opening TIA Portal manually
- compile projects and deploy them to controllers through an API
- create devices, networks, and CPUs from text specifications
- manage tags, types, and block properties programmatically
- integrate TIA Portal into CI/CD pipelines and code generation workflows
Example prompts for the agent
- "Create a CPU 1200 device in TIA Portal with IP 192.168.1.100"
- "Import an SCL block from this code and compile the project"
- "Export PLC blocks to SimaticML and download them to the controller"
How to install PLCWare - TIA Portal (tia)
Platform CLI
claude mcp add --env TIA_API_BASE=<TIA_API_BASE> --env TIA_MCP_MODE=<TIA_MCP_MODE> --transport stdio plcware-tia-portal-tia -- npx -y @renanlido/tia-openness-mcpReplace <…> with your own values
Platform CLI
codex mcp add plcware-tia-portal-tia --env TIA_API_BASE=<TIA_API_BASE> --env TIA_MCP_MODE=<TIA_MCP_MODE> -- npx -y @renanlido/tia-openness-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"plcware-tia-portal-tia": {
"command": "npx",
"args": [
"-y",
"@renanlido/tia-openness-mcp"
],
"env": {
"TIA_API_BASE": "<TIA_API_BASE>",
"TIA_MCP_MODE": "<TIA_MCP_MODE>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"plcware-tia-portal-tia": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@renanlido/tia-openness-mcp"
],
"env": {
"TIA_API_BASE": "<TIA_API_BASE>",
"TIA_MCP_MODE": "<TIA_MCP_MODE>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e TIA_API_BASE=<TIA_API_BASE> -e TIA_MCP_MODE=<TIA_MCP_MODE> plcware-tia-portal-tia npx -y @renanlido/tia-openness-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PLCWare - TIA Portal (tia)
How do I install PLCWare — TIA Portal in Claude Code?
Download the installer from the [releases page](https://github.com/renanlido/tia-openness/releases/latest) and install it on Windows 10/11. Ensure .NET Framework 4.8 and TIA Portal V21 are installed. Then add the MCP server: claude mcp add tia-openness -- npx -y @renanlido/tia-openness-mcp.
What does PLCWare do?
It exposes an HTTP API to Siemens TIA Portal V21 via the official Openness interface, running on your local Windows machine. AI editors and scripts connect to this API to build and manage PLC projects—creating devices, authoring blocks, compiling, and deploying code.
What do I need to run PLCWare?
Windows 10/11 (x64), .NET Framework 4.8, and Siemens TIA Portal V21 with the Openness component installed locally. PLCWare loads Siemens assemblies from your machine; they are not bundled separately.