Skip to main content
Glama
salab3rt

keepitalive-mcp

by salab3rt

KEEPitALIVE MCP server

Lets an AI agent read and manage your monitoring through the Model Context Protocol — "is anything down?", "why did the nightly backup fail?", "pause the staging monitors while I deploy".

It is a thin adapter over the public v1 API. Everything it can do, your API key could already do; nothing here bypasses a scope.

Install

Add this to your MCP client's config (Claude Desktop: claude_desktop_config.json; Claude Code: .mcp.json):

{
  "mcpServers": {
    "keepitalive": {
      "command": "npx",
      "args": ["-y", "@keepitalive/mcp"],
      "env": {
        "KEEPITALIVE_API_KEY": "kia_live_...",
        "KEEPITALIVE_MCP_MODE": "write",
        "KEEPITALIVE_MCP_TOOLS": "",
        "KEEPITALIVE_MCP_EXCLUDE_TOOLS": ""
      }
    }
  }
}

Only KEEPITALIVE_API_KEY is required; the rest are shown with their defaults so you can see what is adjustable. MODE picks how much the agent may do, and TOOLS/EXCLUDE_TOOLS narrow the surface further — all three are described under Configuration.

Create the key under Settings → API access. Grant it the narrowest set of scopes the work needs — see below.

Related MCP server: uptrack-mcp

What it exposes

One tool per v1 endpoint: monitors, checks, incidents, comments, triggers and their delivery logs, groups, status pages, notification settings, and the account activity feed.

Two endpoints are deliberately absent. /events is an open-ended SSE stream, which does not fit a request/response tool — poll get_status or list_open_incidents instead. Channel setup is app-only, so the notification tools here read channels and set per-monitor routing but cannot add a destination.

Rate limits

The API allows 60 requests/minute per key. A 429 is absorbed here rather than shown to the model: the server sends Retry-After, so the client waits that long and retries once. Only a repeated 429 surfaces, and its message says plainly that this is a client-side throttle rather than a problem with the monitored services — an agent that reads "rate limited" as an outage will report one.

A wait longer than 20 seconds is reported instead of slept through, so a tool call never looks like a hang.

An agent auditing a large fleet can still hit the limit: prefer get_summary and get_status, which answer fleet-wide questions in one request, over get_monitor per monitor.

Retries and idempotency

Every POST goes out with an Idempotency-Key. A key generated per request only covers a retry within that one call — if the model re-invokes a tool after a timeout, that is a new call with a new key, and the server has nothing to match it against. Pass idempotency_key explicitly and reuse the same value across the retry to get real replay: the server returns the first response instead of creating a second monitor or incident. Reusing a key with a changed payload is rejected rather than silently replayed.

Which of those actually appear is decided by four layers, each able only to remove:

  1. Your key's scopes. The server reads them from /api/v1/me at startup and registers only tools the key can use. A read-only key gets a read-only server, whatever else is configured.

    It gates on effective_scopes — the granted scopes plus everything they imply — so a triggers:write key also gets the trigger read tools, matching what the API will actually authorize.

  2. Mode (KEEPITALIVE_MCP_MODE) — read, write (default), or full.

  3. Allowlist (KEEPITALIVE_MCP_TOOLS) — when set, only these tool names.

  4. Denylist (KEEPITALIVE_MCP_EXCLUDE_TOOLS) — removed last.

The effective surface can never exceed what the key already grants, so narrowing here is extra safety rather than the only safety.

Why full is separate from write

write covers everything reversible: creating and editing monitors, pausing and resuming, opening and closing incidents, toggling triggers. The delete_* tools are withheld until you set mode=full.

A key wide enough to delete is not by itself a decision to let an agent delete — those tools remove data with no undo, and an agent reaching for one after misreading a situation is the failure worth designing against. Deleting a monitor also takes its history with it; pausing (set_monitor_active) is almost always what was actually meant.

Configuration

Variable

Default

Purpose

KEEPITALIVE_API_KEY

Required. Your kia_live_… key.

KEEPITALIVE_MCP_MODE

write

read, write, or full.

KEEPITALIVE_MCP_TOOLS

Comma-separated allowlist of tool names.

KEEPITALIVE_MCP_EXCLUDE_TOOLS

Comma-separated denylist.

Read-only example:

{
  "env": {
    "KEEPITALIVE_API_KEY": "kia_live_...",
    "KEEPITALIVE_MCP_MODE": "read"
  }
}

On startup the server writes its resolved plan, scopes, mode, and every withheld tool with the reason to stderr — your MCP client's log shows exactly what the agent can and cannot do.

Troubleshooting

could not reach …/me — the server checks the key before serving anything, so this is a bad or revoked key, or no route to the API. It fails at startup deliberately: a key problem discovered on the first tool call gets reported by the model as a monitoring outage.

A tool you expected is missing — read the stderr banner. It names the reason, usually a scope the key was not granted.

Development

npm install
npm test        # unit + stdio integration tests against a stub API
npm run build

The tests spawn the real server over stdio and talk to it with the MCP client, against a local stub of the API — no KEEPitALIVE instance required.

The contract

The tool schemas are checked against the API's published OpenAPI document, fetched from https://keepitalive.dev/api/openapi.json when the tests run. That is what stops this server offering a field the API would reject — the bugs that check has caught were all of that shape: a field that looked plausible and was accepted by nothing.

Because it is fetched rather than vendored, a field added or removed on the API fails the suite the same day instead of whenever someone remembers to refresh a copy. The cost is that these tests need network access. To check against a pre-release deployment:

KEEPITALIVE_CONTRACT_URL=https://example.com/api/openapi.json npm test
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    MCP server for CronAlert uptime monitoring — manage monitors, check results, and incidents from any MCP-compatible AI client.
    9
    104
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents like Claude, ChatGPT, and Cursor.
    6
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    MCP server for Kaseya VSA — endpoints, patches, procedures, alarms, and tickets. Enables AI assistants to manage and monitor devices via the Kaseya VSA RMM platform.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for AI access to Swagger by SmartBear.

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

View all MCP Connectors

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/salab3rt/keepitalive-mcp'

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