TIA-Portal MCP-Server
A VS Code extension to connect and interact with Siemens TIA Portal projects directly from the editor.
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
Do the following steps:
- Connect to tia portal and open project from 'D:/Temp/TestProject1.als20'
- Export all blocks from plc software 'PC-System_1/Software PLC_1' to 'workspacefolder/Export'
- Export all types from plc software 'PC-System_1/Software PLC_1' to 'workspacefolder/Export'
- Close the project
- Disconnect from tia portal
Do the following steps:
- Connect to tia portal and open project from 'D:/Temp/TestProject1.als20'
- Give me the structure of the project as markdown with the exact words
- Close the project
- Disconnect from tia portal
Do the following steps:
- Connect to tia portal and open project from 'D:/Temp/TestProject1.als20'
- Compile plc software 'PLC_1'
- Close the project
- Disconnect from tia portal
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.Resolver - User 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 Tools - Start 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:
{
"mcpServers": {
"vscode-tiaportal-mcp": {
"command": "c:\\Users\\<user>\\.vscode\\extensions\\jheilingbrunner.vscode-tiaportal-mcp-<version>\\srv\\net48\\TiaMcpServer.exe",
"args": [],
"env": {}
}
}
}
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Azure DevOps
Provides comprehensive integration with Azure DevOps services.
DeepSeek-Claude MCP Server
Enhance Claude's reasoning capabilities by integrating DeepSeek's advanced engine.
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
MCP OAuth Sample
A sample MCP OAuth server implementation using Next.js, providing OAuth 2.1 authentication with Google and PostgreSQL.
nREPL MCP Server
Interact with a running Clojure nREPL instance for code evaluation, namespace inspection, and other utilities.
Arduino MCP Server
Control an Arduino board from your computer using AI commands.
MasterMCP
A demonstration tool showcasing potential security attack vectors against the Model Control Protocol (MCP).
Ping MCP Server
An MCP server providing on-chain AI tools for seamless interaction with the Solana blockchain.
Unified MCP & A2A Server
A Google Apps Script server that unifies Model Context Protocol (MCP) and Agent2Agent (A2A) for Google Workspace users.
XcodeProj MCP Server
An MCP server for manipulating Xcode project files (.xcodeproj) using Swift. Requires Docker and macOS.