Deploy Guardian
Supports managing an NGINX service on a configured VPS over SSH, including checking status, retrieving logs, and restarting the service through declared commands.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-plugin-deploy-guardian — revisión y despliegue de VPS para DeepSeek Harness
Plugin MCP local para revisar y desplegar un VPS por SSH sin comandos inventados: el modelo elige entre acciones declaradas en tu configuración (restart, deploy, rollback), con confirmación explícita, auditoría y modo read-only.
English · Cómo funciona · MIT
Herramientas (3)
Tool | Qué hace |
| Conectividad SSH + checks declarados (servicios, disco) por host. |
| Últimos logs de un servicio permitido (journalctl o comando configurado). |
|
|
Related MCP server: VPS Docker MCP (Advanced)
Configuración
Archivo: <DSH_HOME>\deploy-guardian\config.json (el postinstall crea uno base;
hay un ejemplo completo en config.example.json).
{
"sshCommand": "ssh",
"sshArgs": ["-o", "BatchMode=yes", "-o", "ConnectTimeout=10"],
"hosts": [{
"name": "wendigo-vps",
"host": "root@203.0.113.10",
"port": 22,
"identityFile": "C:\\Users\\tu-usuario\\.ssh\\id_ed25519",
"checks": [
{ "name": "nginx", "command": "systemctl is-active nginx" },
{ "name": "bot", "command": "systemctl is-active wendigo-bot" },
{ "name": "disco", "command": "df -h / | tail -1" }
],
"services": ["nginx", "wendigo-bot"],
"logsCommand": "journalctl -u {service} -n {lines} --no-pager",
"restartCommand": "sudo systemctl restart {service}",
"deployCommand": "cd /opt/wendigo && ./deploy.sh",
"rollbackCommand": "cd /opt/wendigo && ./rollback.sh"
}]
}El plugin solo ejecuta los comandos de esta config; el modelo no puede inyectar comandos ni servicios fuera de la lista.
sshCommand/sshArgspermiten usarssh.exede Windows (OpenSSH) u otro cliente; las claves viven en tu máquina, nunca en el repo.
Instalación
Desde DSH → Settings → Plugins instala
github:thegabopacheco-sudo/dsh-plugin-deploy-guardian y permite el script de
instalación. El postinstall copia el runtime a
<DSH_HOME>\plugins\deploy-guardian y crea la config base.
CLI (perfiles no administrados por la app):
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-deploy-guardianRequisitos: Windows 10/11 con cliente OpenSSH (ssh.exe), Node ≥ 20 (lo
aporta el harness) y acceso SSH por clave al VPS.
Seguridad
Read-only por defecto en espíritu:
status/logssolo leen.Acciones con confirmación (
confirm:true+ pedido explícito del usuario).Comandos declarados: nada de comandos arbitrarios del modelo.
Lista de servicios por host para logs/restart.
Rate limit de 6 acciones por minuto.
Auditoría en
<DSH_HOME>\cache\deploy-guardian\audit.jsonl.Modo read-only:
DSH_DEPLOY_MODE=read-onlydesactiva las acciones.Sin contraseñas SSH ni claves en el repo: solo
identityFile(ruta local).
Variables de entorno
Variable | Uso |
|
|
|
|
Solución de problemas
“falta la configuración”: copia
config.example.jsona<DSH_HOME>\deploy-guardian\config.jsony completa tus hosts.SSH falla: prueba
ssh -i <clave> usuario@host 'echo ok'a mano; revisaBatchMode=yesyknown_hosts.Servicio no permitido: agrégalo a
servicesdel host.Permiso de scripts en la instalación: aprueba el
postinstall; si el cartel se repite,allowBuilds: trueenpnpm-workspace.yamldel perfil.
Desarrollo
npm install
npm run build:bundle
cd test; npm install; node connect-test.mjs # SSH mock localLicencia
MIT © thegabopacheco-sudo
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage remote servers, SSH terminals, files, databases and proxies with scoped access and approvals.
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Deploy services, add databases, run agents, read logs, check vulnerabilities and publish pages.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables secure, read-only inspection of a VPS over SSH through approved operations such as system health, disk usage, container logs, and service status, without giving the AI unrestricted shell access.81MIT
- FlicenseBqualityBmaintenanceEnables safe VPS diagnostics and Docker/Docker Compose management over SSH, providing predefined read-only and mutating tools for system monitoring, container inspection, and Compose orchestration without exposing arbitrary shell execution.26-
- AlicenseNot gradedqualityBmaintenanceEnables read-only inspection and confirmed mutation operations on a single VPS over SSH, including host health, Docker, Compose, Swarm, firewall, and system debugging tools.40 npm1MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI clients to operate remote VPS hosts through a jump-host gateway with a fixed whitelist of tools, allowing them to read logs, inspect and edit configuration files, manage services, and deploy or roll back versions. Production writes require a per-client time-limited lease, and all actions are audited, verified, and automatically reverted on failure.MIT