MCP
Model Context Protocol para agentes (Cursor y otros).
Qué es
El endpoint MCP del gateway expone tools list/get por módulo Comunidesk. Autentica con OAuth + JWT de usuario, igual que REST.
https://gateway.comunidesk.com/mcp
Conectar en Cursor
Añade el servidor MCP en la configuración del IDE
{
"mcpServers": {
"comunidesk": {
"url": "https://gateway.comunidesk.com/mcp",
"headers": {
"Authorization": "Bearer <oauth_access_token>",
"x-comunidesk-user-authorization": "Bearer <users_app_jwt>"
}
}
}
}Tools por módulo
list_* y get_* derivados de los EntitySets publicados
list_edificiosList Edificios (Edificios)get_edificiosGet Edificios by idlist_departamentosList Departamentos / Unidades (Departamentos)get_departamentosGet Departamentos / Unidades by idlist_egresosList Egresos (Egresos)get_egresosGet Egresos by idlist_gastos_comunesList Gastos comunes (GastosComunes)get_gastos_comunesGet Gastos comunes by idlist_pagosList Pagos (gasto común) (Pagos)get_pagosGet Pagos (gasto común) by idlist_ingresosList Ingresos (tesorería) (Ingresos)get_ingresosGet Ingresos (tesorería) by idlist_empleadosList Empleados (Empleados)get_empleadosGet Empleados by idlist_proveedoresList Proveedores (Proveedores)get_proveedoresGet Proveedores by idlist_consumosList Consumos (Consumos)get_consumosGet Consumos by idlist_mantencionesList Mantenciones (Mantenciones)get_mantencionesGet Mantenciones by idlist_multasList Multas (Multas)get_multasGet Multas by idlist_visitasList Visitas / Encomiendas (Visitas)get_visitasGet Visitas / Encomiendas by idlist_areas_comunesList Áreas comunes (AreasComunes)get_areas_comunesGet Áreas comunes by idlist_reservasList Reservas (Reservas)get_reservasGet Reservas by idlist_reglamentosList Reglamentos (Reglamentos)get_reglamentosGet Reglamentos by idlist_documentos_legalesList Documentos legales (DocumentosLegales)get_documentos_legalesGet Documentos legales by idlist_anunciosList Diario mural (Anuncios)get_anunciosGet Diario mural by idlist_comunicacionesList Comunicaciones (Comunicaciones)get_comunicacionesGet Comunicaciones by idlist_ticketsList Tickets (Tickets)get_ticketsGet Tickets by idlist_votacionesList Votaciones (Votaciones)get_votacionesGet Votaciones by idlist_conveniosList Convenios de pago (Convenios)get_conveniosGet Convenios de pago by idlist_cotizacionesList Cotizaciones (Cotizaciones)get_cotizacionesGet Cotizaciones by idlist_grupos_unidadesList Grupos de unidades (GruposUnidades)get_grupos_unidadesGet Grupos de unidades by idlist_inventarioList Inventario (Inventario)get_inventarioGet Inventario by idlist_aprobacionesList Aprobaciones (Aprobaciones)get_aprobacionesGet Aprobaciones by idlist_segurosList Seguros (Seguros)get_segurosGet Seguros by idlist_siniestrosList Siniestros (Siniestros)get_siniestrosGet Siniestros by idlist_plan_emergenciaList Plan de emergencia (PlanEmergencia)get_plan_emergenciaGet Plan de emergencia by idlist_procedimientosList Procedimientos (Procedimientos)get_procedimientosGet Procedimientos by idlist_pagos_tesoreriaList Pagos tesorería (PagosTesoreria)get_pagos_tesoreriaGet Pagos tesorería by idlist_fondos_reservaList Fondos de reserva (FondosReserva)get_fondos_reservaGet Fondos de reserva by id
