zyta-expedientes-mcp

zyta-expedientes-mcp

MCP server for managing Argentine judicial cases (expedientes) from portals like PJN, MEV, CABA, and custom cases, supporting CRUD operations, synchronization, and management of tasks, fees, and alerts.

Category
Visit Server

README

zyta-expedientes-mcp (Clio)

Servidor MCP (stdio) para Clio (Expedientes): portales judiciales (PJN, MEV, CABA) y causas sin portal.

Arquitectura

Componente Rol
Zyta-be Login JWT, device flow OAuth, perfil usuario
expedientes-api Portales, listado, sync, CRUD causas sin portal, actuaciones cursor
Zyta-expedientes (web) Página /mcp-device para autorizar el agente

El MCP autentica contra Zyta-be y consulta expedientes-api con el mismo Bearer JWT.

Configuración en Cursor

{
  "mcpServers": {
    "zyta-expedientes": {
      "command": "npx",
      "args": ["-y", "zyta-expedientes-mcp@latest"],
      "env": {
        "ZYTA_API_BASE_URL": "http://localhost:3333",
        "EXPEDIENTES_API_BASE_URL": "http://localhost:8788",
        "ZYTA_EXPEDIENTES_APP_URL": "http://localhost:8892"
      }
    }
  }
}

En producción:

ZYTA_API_BASE_URL=https://zyta-be-production.up.railway.app
EXPEDIENTES_API_BASE_URL=https://zyta-expedientes-api-production.up.railway.app
ZYTA_EXPEDIENTES_APP_URL=https://dashboard.zyta.app

Opcional en Railway (Zyta-be): MCP_DEVICE_VERIFICATION_BASE_URL=https://dashboard.zyta.app

Herramientas

Tool Descripción
zyta_expedientes_login Device flow / email / token manual
zyta_expedientes_disconnect Cierra sesión del agente
zyta_expedientes_whoami Usuario actual
zyta_expedientes_auth_status Estado + URLs
zyta_expedientes_portales_status PJN / MEV / CABA / INPI conectados
zyta_expedientes_list Listar expedientes (filtro por portal)
zyta_expedientes_get Leer detalle + actuaciones
zyta_expedientes_create Crear causa sin portal
zyta_expedientes_update Editar causa sin portal (+ seguimiento opcional)
zyta_expedientes_delete Borrar causa sin portal
zyta_expedientes_sync Sincronizar portales (sin credenciales)
zyta_expedientes_registrar_actuacion Actuación en causa sin portal
zyta_expedientes_honorarios_list Honorarios del expediente
zyta_expedientes_honorarios_create Alta de honorarios
zyta_expedientes_honorarios_update Actualizar honorario
zyta_expedientes_honorarios_delete Borrar honorario
zyta_expedientes_tareas_list Vencimientos/tareas
zyta_expedientes_tareas_create Nueva tarea
zyta_expedientes_tareas_update Actualizar tarea
zyta_expedientes_tareas_delete Borrar tarea
zyta_expedientes_alertas_list Alarmas
zyta_expedientes_alertas_create Nueva alarma
zyta_expedientes_alertas_update Actualizar alarma
zyta_expedientes_alertas_delete Borrar alarma

Token persistido en ~/.zyta-expedientes-mcp/token.

Desarrollo local

cd Zyta/zyta-expedientes-mcp
npm install
npm run build
npm run dev

Smoke test:

  1. Levantá Zyta-be, expedientes-api y Zyta-expedientes
  2. En Cursor: zyta_expedientes_login → autorizá en http://localhost:8892/mcp-device
  3. zyta_expedientes_auth_statushasToken: true
  4. zyta_expedientes_portales_status

Probar el stack completo

Sí, hay que probar los tres servicios juntos:

# Terminal 1 — monolito (auth)
cd BE/Zyta-be && npm run start:dev

# Terminal 2 — microservicio expedientes
cd Zyta/expedientes-api && npm run dev

# Terminal 3 — front
cd Zyta/Zyta-expedientes && npm run dev

# Terminal 4 — MCP (via Cursor o)
cd Zyta/zyta-expedientes-mcp && npm run dev

Sin proxy en Zyta-be todavía, el front y el MCP apuntan directo a cada API por URL.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured