Skip to main content
Glama
awais2o

devops-deploy-guard-mcp-server

by awais2o

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_serverA

Safely inspects the current state of your VPS server via SSH and checks local project runbook existence and deployment history.

analyze_project_structureB

Inspects remote directory and system commands via SSH to detect lockfiles, package managers, Docker, PM2, Nginx, application ports, WebSockets, deployment strategy, and missing dependencies.

generate_secure_env_templateA

Reads .env.example from the VPS project directory dynamically via SSH. If not present, returns a generic environment template prompt.

verify_healthA

Executes curl on remote server via SSH to verify HTTP endpoint status. Returns success only if HTTP 200 is received.

view_app_logsA

Retrieves recent application log lines via PM2 or Docker Compose on remote server.

check_pending_migrationsA

Executes read-only migration status command via SSH to check if database migrations are pending on remote server.

generate_project_runbookA

Gathers server IP, SSH credentials, OS info, build scripts, Nginx/SSL configuration, and remote path to generate a local DEPLOYMENT_RUNBOOK.md markdown file for manual ops and handovers.

cleanup_server_resourcesA

Checks server disk usage with safety threshold (>70% disk usage requirement) and performs non-destructive pruning of dangling Docker images and stale git tracking branches.

prepare_new_serverA

Generates a multi-OS provisioning plan to update system packages and install core build utilities (curl, git, compiler tools, firewall) based on detected OS distribution (Ubuntu, Debian, RHEL, CentOS, Alpine).

install_runtimesA

Generates an idempotent provisioning plan to install Node.js (dynamic version), PM2, Docker Engine, and Docker Compose plugin across Debian, RHEL, and Alpine Linux distributions.

configure_firewallA

Configures UFW firewall rules safely. CRITICAL SAFETY: Always verifies OpenSSH (port 22) is allowed BEFORE enabling firewall to prevent SSH lockout.

setup_nginx_reverse_proxyA

Configures adaptive Nginx reverse proxy or static web server block after verifying domain A-record against the server's public IP address.

setup_ssl_certbotA

Generates a 2-step execution plan to install Certbot and configure Let's Encrypt SSL/HTTPS certificate for Nginx. Uses OS-specific package mapping and tests auto-renewal.

secure_env_writerA

Writes environment variables to a .env file on the remote server via SSH after path normalization.

Security guarantees:

  • Path validation using path.resolve normalization to prevent path traversal

  • Heredoc writing to prevent shell expansion

  • Zero-knowledge output (never returns or echoes secret values back)

  • Blocks write attempts to system paths (/etc, /root, etc.)

plan_dynamic_deploymentB

Analyzes git diffs, dependency changes, schema updates, and pending migrations to generate a production-first conditional deployment plan.

plan_docker_deploymentA

Plans a safe Docker Compose deployment by generating the exact commands. Does NOT execute anything without confirm_execution.

confirm_executionA

Executes a deployment plan step-by-step. If a step fails, pauses execution into PAUSED_AWAITING_FIX state for diagnosis instead of rolling back immediately.

diagnose_and_fixA

Executes a diagnostic fix command via SSH for a paused deployment without breaking deployment state or resetting git commit status.

resume_executionA

Resumes execution of a paused deployment plan, skipping previously completed steps and executing remaining steps to completion.

rollback_executionA

Explicitly aborts a paused or failed deployment plan and triggers automated server rollback (git reset, service reload).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awais2o/devops-deploy-guard-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server