TIA_MCP_V17
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIA_MAX_RESULTS | No | Maximum number of results to return per query | 50 |
| TIA_PROJECT_PATH | No | Path to the TIA Portal project file to open (e.g. /path/to/project.ap17 or project.ap17) | |
| TIA_RECURSIVE_SCAN | No | Set to 'true' to enable recursive scanning of subdirectories for block XML files | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Servidor para programar Siemens TIA Portal V17 (S7-1200/1500) mediante Openness. Flujo: tia_sesion(conectar) → tia_proyecto(abrir/crear, solo COPIAS) → leer/programar → tia_compilar.
Antes de programar en un proyecto nuevo, revisa tia_conocimiento(listar/perfil) para seguir el estilo del equipo.
KOP: tia_programar(ayuda_kop) y luego crear_kop. SCL: importar_scl (PID, cálculos, UDT con TYPE).
Toda escritura compila sola; si hay errores, corrígelos y vuelve a importar.
Diagnóstico: tia_analisis(diagnostico/referencias/arbol). Red PROFINET: tia_red.
No existe descarga al PLC ni conexión online: la descarga la hace el usuario desde TIA. Responde al usuario en español.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tia_sesionA | Conexión con TIA Portal V17. EMPIEZA AQUÍ.
|
| tia_proyectoA | Proyecto TIA (solo COPIAS dentro de las rutas permitidas).
|
| tia_hardwareC | Dispositivos del proyecto.
|
| tia_redA | Red PROFINET/Ethernet del proyecto (configuración OFFLINE; no toca equipos reales).
|
| tia_bloquesA | Leer el programa del PLC (
|
| tia_programarA | Escribir programa. Cada escritura valida, respalda el bloque si existía, importa y COMPILA; si no compila y el bloque existía, lo restaura. Devuelve los errores para corregirlos.
|
| tia_udtB | Tipos de datos de usuario (UDT / PLC data types).
|
| tia_compilarA | Compilar y obtener errores/advertencias con su ubicación (bloque › red).
|
| tia_tagsA | Variables PLC (tablas de tags).
|
| tia_tecnologiaA | Objetos tecnológicos (regulación PID).
|
| tia_analisisB | Diagnóstico del programa (lee todos los bloques; KOP/FUP por XML y SCL por su fuente).
|
| tia_conocimientoA | Aprender el estilo del equipo a partir de proyectos V17 anteriores (copias).
|
| tia_hmiA | Paneles HMI WinCC Basic/Comfort (p. ej. KTP400 Basic).
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
The 13 top-level tools are grouped by distinct TIA Portal domains (session, project, hardware, HMI, network, blocks, programming, UDT, compile, tags, technology, analysis, knowledge), so an agent can generally pick the right tool. Minor overlaps exist: tia_hmi.compilar vs tia_compilar, and tia_hardware.agregar_plc vs tia_red.agregar_dispositivo could cause occasional misselection, but descriptions clarify scope.
All tools use a consistent tia_ prefix followed by a lowercase Spanish identifier, which is highly predictable. Minor deviation: some suffixes are nouns (proyecto, bloques, tags) while others are verbs (programar, compilar), and 'hardware' is an English word in an otherwise Spanish set.
13 tools is squarely within the ideal 3-15 range for a domain-specific server, and each top-level tool has a clear, non-trivial domain responsibility. Sub-actions are filed under their domain tool, preventing tool sprawl.
Coverage is broad: session lifecycle, project CRUD/archive, hardware, HMI screens/tags/export/preview, network config, block read/write, UDTs, compilation, tags, technology objects, static analysis, and style learning. Gaps include no delete for hardware devices/panels, no PLC-to-HMI disconnect, and no download/simulation operations (possibly intentional offline design).