OpenTIA-MCP
Allows interaction with Siemens TIA Portal via its Openness API, enabling AI agents to manage PLC projects, blocks, HMI tags, diagnostics, simulation, download to PLC, and documentation generation.
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., "@OpenTIA-MCPopen the project 'Conveyor' and compile it"
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.
OpenTIA-MCP
An MCP (Model Context Protocol) server that lets AI agents interact with Siemens TIA Portal via its Openness API.
Requirements
Windows (TIA Portal is Windows-only)
Python 3.11+
TIA Portal V17, V18, or V19 with Openness API installed
pip (Python package installer)
Related MCP server: T-IA Connect (Siemens TIA Portal)
Installation
# Create a virtual environment (recommended)
python -m venv .venv
.venv\Scripts\activate
# Install the package in editable mode
pip install -e .Configuration
Copy or create an opentia.toml file (see opentia.toml for the template).
The server searches for it in this order:
Path specified by the
OPENTIA_CONFIGenvironment variable./opentia.tomlin the current working directory%APPDATA%\opentia-mcp\opentia.toml
Usage
# Start the MCP server
python -m opentia_mcpOr use the installed entry point:
opentia-mcpProject Structure
src/opentia_mcp/
├── __init__.py
├── __main__.py # Entry point
├── server.py # MCP server and tool registration
├── models.py # Pydantic models
├── errors.py # Exception hierarchy
├── config.py # Configuration loading
├── logging.py # Logging to stderr
└── tia/ # Openness API abstraction layer
├── __init__.py
├── portal.py # Connection lifecycle
├── project.py # Project management
├── block.py # PLC block CRUD
├── compilation.py # Compilation
├── reference.py # Cross-references
├── hmi.py # HMI tags
├── watch.py # Watch tables
├── diagnostic.py # Diagnostics
├── simulation.py # PLCSIM Advanced
├── download.py # Download to PLC
└── documentation.py # Documentation generationThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/omirko00/OpenTIA-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server