zyta-expedientes-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZYTA_API_BASE_URL | Yes | Base URL for Zyta-be API | |
| EXPEDIENTES_API_BASE_URL | Yes | Base URL for Expedientes API | |
| ZYTA_EXPEDIENTES_APP_URL | Yes | Base URL for the Zyta Expedientes web app | |
| MCP_DEVICE_VERIFICATION_BASE_URL | No | Optional: base URL for MCP device verification |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| zyta_expedientes_loginA | Obligatorio antes de otras herramientas si no hay sesión. Device flow (prod: dashboard.zyta.app/mcp-device; local: :8892/mcp-device), email+password, o access_token manual. |
| zyta_expedientes_disconnectA | Cierra sesión del agente (~/.zyta-expedientes-mcp/token). |
| zyta_expedientes_whoamiB | Usuario del token JWT (GET /users en Zyta-be). |
| zyta_expedientes_auth_statusA | Estado de sesión: token, URLs de Zyta-be y expedientes-api. No muestra el token. |
| zyta_expedientes_portales_statusA | Estado de conexión PJN, MEV (scba), CABA e INPI. GET /portales/status en expedientes-api. |
| zyta_expedientes_listB | Lista expedientes del usuario. Filtro opcional por portal(s). GET /judicial/expedientes |
| zyta_expedientes_getA | Lee un expediente con actuaciones. GET /judicial/expedientes/:id (cualquier portal). |
| zyta_expedientes_createA | Crea una causa sin portal (fichero propio). POST /judicial/expedientes. Cuenta para el cupo del plan. No aplica a causas PJN/MEV/CABA. |
| zyta_expedientes_updateC | Edita una causa sin portal. PATCH /judicial/expedientes/:id. Solo portal sin_portal. Opcional enSeguimiento → PATCH …/seguimiento. |
| zyta_expedientes_deleteA | Elimina una causa sin portal y sus actuaciones (cascada). DELETE /judicial/expedientes/:id. No borra causas sincronizadas desde PJN/MEV/CABA. |
| zyta_expedientes_syncA | Sincroniza expedientes desde portales conectados. POST /portales/sync o /portales/sync/:portal. No expone credenciales — solo dispara sync con sesión ya conectada en la app. |
| zyta_expedientes_registrar_actuacionB | Registra actuación en causa sin portal (IA elige causa si no hay expedienteId). POST /judicial/cursor/registrar-actuacion |
| zyta_expedientes_honorarios_listC | Lista honorarios de un expediente. GET …/honorarios |
| zyta_expedientes_honorarios_createC | Registra honorarios en un expediente. POST …/honorarios |
| zyta_expedientes_honorarios_updateC | Actualiza un honorario (ej. marcar cobrado). PATCH …/honorarios/:id |
| zyta_expedientes_honorarios_deleteC | Elimina un honorario. DELETE …/honorarios/:id |
| zyta_expedientes_tareas_listC | Lista vencimientos/tareas de un expediente. GET …/tareas |
| zyta_expedientes_tareas_createC | Crea vencimiento/tarea en un expediente. POST …/tareas |
| zyta_expedientes_tareas_updateC | Actualiza tarea (ej. completada). PATCH …/tareas/:id |
| zyta_expedientes_tareas_deleteC | Elimina una tarea. DELETE …/tareas/:id |
| zyta_expedientes_alertas_listB | Lista alarmas de un expediente. GET …/alertas |
| zyta_expedientes_alertas_createC | Crea alarma/recordatorio en un expediente. POST …/alertas |
| zyta_expedientes_alertas_updateC | Actualiza alarma (ej. resuelta). PATCH …/alertas/:id |
| zyta_expedientes_alertas_deleteC | Elimina una alarma. DELETE …/alertas/:id |
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 24 tools
Each tool targets a distinct resource-action pair (e.g., alertas_create vs. alertas_delete). The CRUD groups for expedientes, alertas, honorarios, and tareas are clearly separated, and authentication and status tools are unique.
All tool names follow the pattern zyta_expedientes_<resource>_<action>, with consistent use of snake_case and verb_noun ordering. The only minor variation is registrar_actuacion, which still fits the overall convention.
24 tools is slightly above the typical 3-15 range but still reasonable for a comprehensive legal case management system covering CRUD for multiple sub-resources plus authentication and synchronization. Each tool has a clear purpose.
The tool set covers full CRUD for expedientes, alertas, honorarios, and tareas, plus authentication, portal status, and sync. Minor gaps like document attachment might exist, but core workflows are well-covered.