Enables connection to Siemens TIA Portal instances to browse project structures, export PLC software blocks and types, and perform project operations such as compilation directly through the MCP interface.
Click on "Install 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-Portal MCP-ServerOpen 'D:/Temp/Project1.als20' and compile the PLC software for '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-Portal MCP-Server

A Visual Studio Code extension to connect to Siemens TIA Portal and interact with TIA Portal projects directly from VS Code with GitHub Copilot.
Requirements
Siemens TIA Portal V20 installed and running on your machine
Siemens.Openness installed
net Framework 4.8 installed
Visual Studio Code installed
GitHub Copilot in Visual Studio Code installed and configured (check:
Chat > Mcp: Enabled)
Chat Examples
MCP-Server
Refer to tiaportal-mcp
Features
Connect to a TIA Portal instance
Browse and interact with TIA Portal projects
Perform basic project operations from within VS Code
Requirements
.net Framework 4.8 installed
Siemens TIA Portal V20 installed and running on your machine
Check if under
Environment Variables/User variable for user <name>the variableTiaPortalLocationis set toC:\Program Files\Siemens\Automation\Portal V20. Details on nuget.org - Siemens.Collaboration.Net.TiaPortal.Openness.ResolverUser must be in Windows User Group
Siemens TIA Openness. Details on TIA Portal Openness - Adding Users to the Siemens TIA Openness User Group
Usage
Visaul Studio Code
Add server to mcp.json
After installation restart VS Code.
Run the command
TIA Portal: Add MCP Server Configurationto add mcp server entry to `mcp.json.Check
.vscode\mcp.jsonfor the correct TIA Portal path.<user>: Your Windows username<version>: The version of the extension you have installed.
{ "servers": { "vscode-tiaportal-mcp": { "command": "c:\\Users\\<user>\\.vscode\\extensions\\jheilingbrunner.vscode-tiaportal-mcp-<version>\\srv\\net48\\TiaMcpServer.exe", "args": [], "env": {} } } }Open GitHub Copilot.
Switch to
Agentmode.Check tools by
Select ToolsStart to chat with TIA Portal.
Remove server from mcp.json
Run the command
TIA Portal: Remove MCP Server Configurationto remove mcp server entry frommcp.json.
Claude Desktop
Create/Edit to add/remove server to C:\Users\<user>\AppData\Roaming\Claude\claude_desktop_config.json:
License
MIT