CloudKeepAlive MCP
Generates ready-to-paste Cloudflare Worker configuration (target URL list plus cron trigger) that pings the user's deployments every 10 minutes, giving 24/7 keep-alive pinging even when the user's PC is off.
Watches a Fly.io deployment and pings it every 8 minutes (against its 10-minute auto-stop threshold) to prevent cold starts, with status, latency and warmup reporting.
Exports a ready-to-use GitHub Actions keep-alive workflow plus repo secret / sites.txt configuration so watched URLs are pinged every 5 minutes 24/7, even when the local machine is off.
Watches a Glitch project and pings it every 4 minutes (against its 5-minute sleep threshold) to keep the app awake and report status, latency and cold-start detections.
Watches a Koyeb service and pings it every 10 minutes to prevent it from being paused, exposing live status, HTTP codes and latency.
Supports keeping Railway deployments alive as one of the recognized cloud hosting targets, pinging them on a safe interval with status and cold-start tracking.
Watches a Render backend and pings it every 10 minutes (against its 15-minute idle sleep) to prevent cold starts, with live status, latency, cold-start counters and countdown timers.
Keeps a Vercel deployment warm by pinging it every 5 minutes to avoid serverless cold starts, and reports status, latency and cold-start detections.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CloudKeepAlive MCP keep my Render backend at https://my-api.onrender.com awake for 3 hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π‘οΈ CloudKeepAlive MCP
Universal Anti-Cold-Start & Keep-Alive Guard for Render, Fly.io, Glitch, Koyeb, Railway, Vercel, and custom cloud deployments β straight from your AI editor, terminal, or 24/7 in the cloud.
(One-click buttons open VS Code, VS Code Insiders, or Cursor if installed on your device. If you use another editor like Antigravity, Claude, or Windsurf, use the one-line commands or JSON configs below.)
β‘ One-Line Install (No Repo Clone Needed)
Prerequisite: uv installed (powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" on Windows, or curl -LsSf https://astral.sh/uv/install.sh | sh on macOS/Linux).
Claude Code:
claude mcp add cloud-keepalive -- uvx cloud-keepalive-mcpVS Code CLI:
code --add-mcp '{"name":"cloud-keepalive","command":"uvx","args":["cloud-keepalive-mcp"]}'Run MCP Server directly via
uvx:uvx cloud-keepalive-mcpNormal Python (
pip):pip install cloud-keepalive-mcp
Related MCP server: Sentinel Monitoring MCP Server
β¨ Features & Tools
keepalive_watch: Keep any URL awake with automatic platform detection (10m for Render, 4m for Glitch, 8m for Fly.io), optionalduration_hoursquota protection, and automatic PC idle-sleep prevention (prevent_pc_sleep).keepalive_status: Live status, HTTP codes, latency (ms), cold-start detections, and countdown timers.keepalive_warmup: Immediately pre-warm one or all watched deployments before demos or testing.keepalive_unwatch: Stop monitoring a deployment URL.detect_platform: Inspect any URL to detect its hosting provider, sleep threshold, and recommended interval.keepalive_cloud_config: Export ready-to-pastesites.txt, GitHub Secrets, and Cloudflare Worker configuration for 24/7 PC-off pinging.
π§ Configuration (Per AI Client)
VS Code (Copilot Agent Mode)
.vscode/mcp.json (workspace) or Command Palette β MCP: Add Server:
{
"servers": {
"cloud-keepalive": {
"type": "stdio",
"command": "uvx",
"args": ["cloud-keepalive-mcp"]
}
}
}Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"cloud-keepalive": {
"command": "uvx",
"args": ["cloud-keepalive-mcp"]
}
}
}Claude Desktop
claude_desktop_config.json (Settings β Developer β Edit Config):
{
"mcpServers": {
"cloud-keepalive": {
"command": "uvx",
"args": ["cloud-keepalive-mcp"]
}
}
}Google Antigravity / Windsurf
~/.gemini/config/mcp_config.json (Antigravity) or ~/.codeium/windsurf/mcp_config.json (Windsurf):
{
"mcpServers": {
"cloud-keepalive": {
"command": "uvx",
"args": ["cloud-keepalive-mcp"]
}
}
}Continue
.continue/mcpServers/cloudkeepalive.yaml:
name: CloudKeepAlive
version: 1.0.0
schema: v1
mcpServers:
- name: CloudKeepAlive
command: uvx
args:
- cloud-keepalive-mcpThen ask your AI in chat:
"Keep my Render backend
https://my-api.onrender.comawake for the next 3 hours.""Pre-warm my deployment before I demo it."
"Generate my 24/7 cloud config so it stays awake when my PC is off."
π» Standalone Mode (No AI Needed)
Don't use an AI assistant? Run CloudKeepAlive directly from your terminal or double-click run.bat:
pip install cloud-keepalive-mcp
cloud-keepalive https://my-backend.onrender.com --duration 4(Or clone the repo and double-click run.bat on Windows, or run python server.py https://my-backend.onrender.com --duration 0.5.)
Auto PC Idle-Sleep Lock: While running locally, CloudKeepAlive automatically prevents Windows, macOS, and Linux from entering idle sleep so pings never stop when you step away (your display can still dim/turn off). Pass
--allow-sleepto disable.
βοΈ 24/7 Cloud Mode (Runs Even When Your PC Is OFF)
Local stdio/CLI mode stops if your PC shuts down or closes your editor. For 24/7 PC-off pinging:
Option A: GitHub Actions (Included)
Fork this repo.
Add your URL(s) to
sites.txt(or set GitHub Repo SecretCLOUDKEEPALIVE_URLS).Enable
.github/workflows/keep_alive.ymlin the Actions tab (pings every 5 minutes).
Option B: Cloudflare Worker (Zero Cron Jitter, Free)
Paste
cloudflare-worker.jsinto a free Cloudflare Worker.Set
TARGET_URLS(orDEFAULT_URLS) and add a Cron Trigger*/10 * * * *.
π Supported Platforms & Sleep Limits
Platform | Idle Sleep Threshold | Cold-Start Delay | CloudKeepAlive Safe Ping |
Render | 15 minutes | 30s β 75s | Every 10 mins |
Glitch | 5 minutes | 10s β 25s | Every 4 mins |
Fly.io | 10 minutes (Auto-stop) | 5s β 15s | Every 8 mins |
Koyeb | 15 minutes (Pause) | 20s β 40s | Every 10 mins |
Vercel | Serverless Cold-Start | 1s β 5s | Every 5 mins |
β οΈ Limitations & Responsible Use
Local stdio / CLI mode: Pings only run while your computer and editor/terminal are powered on (auto wake-lock prevents idle sleep, not manual shutdown or lid-close). Use Cloud Mode (GitHub Actions / Cloudflare Worker) for 24/7 uptime when your PC is off.
Responsible use: Only monitor your own or authorized deployments, and respect your hosting provider's monthly free-tier compute limits (e.g., Render's 750 free hours/month) using
--duration/duration_hours.
π License
Available Tools
6 toolsdetect_platformA
Inspect any URL to detect its hosting platform (Render, Fly.io, Glitch, etc.), determine its idle sleep threshold, and recommend the safest keep-alive settings.
Inputs: url (required).
keepalive_cloud_configB
Generate ready-to-use 24/7 cloud configuration (GitHub Actions sites.txt, Repo Secret, and Cloudflare Worker snippet) so deployments stay awake even when the user's PC is turned off.
Inputs: urls.
keepalive_statusA
Check real-time health, quota expiration timers, and keep-alive status of all watched deployments, including response times, cold-start metrics, and next scheduled ping.
Inputs: no named parameters.
keepalive_unwatchB
Stop keep-alive monitoring for a specific deployment URL.
Inputs: url (required).
keepalive_warmupA
Immediately send an instant warmup ping to one or all watched deployments before user presentations, testing, or visits to eliminate cold-start delay.
Inputs: url.
keepalive_watchA
Start background keep-alive monitoring for any deployment URL (Render, Fly.io, Glitch, Koyeb, Railway, Vercel, or custom API). Prevents the 15-minute inactivity spin-down while respecting free-tier compute quota rules.
Inputs: url (required), label, duration_hours, interval_minutes, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 6 tools
Each tool maps to a clearly distinct action: start monitoring (watch), stop (unwatch), read state (status), force an immediate ping (warmup), inspect a URL (detect_platform), and emit cloud config (keepalive_cloud_config). The watch/warmup pair comes closest, but the descriptions make the background-vs-instant distinction explicit.
Five of six tools use a consistent keepalive_<verb> prefix plus a snake_case noun (watch, status, warmup, unwatch, cloud_config). detect_platform breaks the prefix convention, though it still follows a readable verb_noun shape.
Six tools is tightly scoped to a single problemβkeeping free-tier deployments awakeβand each one earns its place as a distinct lifecycle step. No redundant or filler tools.
The surface covers the full keep-alive lifecycle: detect, watch, unwatch, check status, force warmup, and deploy cloud config for 24/7 operation. The only gap is the inability to modify settings on an existing watch (e.g. interval/threshold) without unwatching and re-adding.
Maintenance
Related MCP Connectors
Manage scheduled requests, uptime monitors and heartbeats from your AI assistant.
Dead-man switch monitors for cron & AI agents with dependency-cascade alerts. No account needed.
Uptime checks for sites and APIs, status pages, cron heartbeats, Lighthouse and SEO audits.
Create, test, and manage uptime monitors for websites and APIs from your AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMonitor website health, uptime, SEO, security and performance via your AI assistant.MIT
- FlicenseNot gradedqualityCmaintenanceUptime, SSL, DNS and domain monitoring you can talk to: check, create and manage monitors for all your client sites from Claude, ChatGPT, or any MCP client.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and monitor service status, latency, and performance through configurable checks (HTTP, TCP, SSL, keyword, JSON-path) and exposes tools for listing services, retrieving metrics, and running on-demand checks.Apache 2.0
- AlicenseAqualityBmaintenanceUptime monitoring your AI agent can set up: create HTTP, SSL, ping, TCP and DNS monitors checked from multiple regions, run checks on demand, read and acknowledge incidents, manage cron heartbeats, maintenance windows and status page updates.5712,803 npmMIT