About Tia Portal MCP Server
Tia Portal MCP Server is an MCP server published by gangsterke in the Files category: tIA portal mcp server in C#.
The repository has 10 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/gangsterke/Tia-Portal-MCP-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Tia Portal MCP Server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
MCP-server-for-Tia-Portal
Made a MCP server for Tia Portal. Was looking for a way to export OPC UA nodeset files using Tia Portal Openness.
Available Actions
- Open Project. Opens a TIA Portal project file.
- Close Project. Closes the currently open project.
- List PLCs: Lists all PLC devices in the open project.
- List Blocks: Lists program blocks for a specific PLC.
- Get Block Code: Retrieves information about a specific block.
- Export Block: Exports a block to XML format.
- Get Tag Table: Retrieves the PLC tag table (global variables).
- Search Tag: Searches for tags by name across the project.
- Get Hardware Config:Retrieves hardware configuration and device topology.
- Get Project Info: Gets general information about the currently open project.
- Export OPC UA Interface: Exports the OPC UA server interface configuration to XML.
- Get OPC UA Interface Info: Gets information about the OPC UA server interface configuration.
Limitations
Only one project can be open at a time The server runs in "WithoutUserInterface" mode, so no TIA Portal GUI is shown Some operations may require specific TIA Portal versions or licenses OPC UA functionality requires the PLC to have OPC UA configured
Claude Desktop settings for MCP server
Security Considerations
This server provides full access to TIA Portal projects Ensure proper access controls are in place Do not expose this server to untrusted networks Validate all file paths to prevent directory traversal attacks Consider running in a sandboxed environment
Troubleshooting
"No project is open" error Make sure to call OpenProject before attempting other operations.
"PLC not found" error Verify the PLC name matches exactly (case-sensitive). Use ListPLCs to see available PLCs.
OPC UA errors Ensure OPC UA is configured in the TIA Portal project Check that the correct TIA Portal Openness assemblies are referenced Verify the PLC supports OPC UA functionality
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.