Healthchecks

v0.3.0
io.github.ni-c/healthchecks-mcp Checked 2 days ago Published 2 months ago

Inspect, create and adjust Healthchecks cron and uptime checks, and read why one failed

Values you need

VariableWhat it is
HEALTHCHECKS_API_KEYrequired secret Project API key, exactly 32 characters, from Project Settings → API Access
HEALTHCHECKS_URLoptional Site root of a self-hosted instance, e.g. https://hc.example.net (default: https://healthchecks.io)
HEALTHCHECKS_READ_ONLYoptional Set to true to register only the read tools (default: false)
HEALTHCHECKS_ALLOW_TOOLSoptional Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
HEALTHCHECKS_DENY_TOOLSoptional Comma-separated tool names or list_* prefixes to remove from whatever the allow list left
HEALTHCHECKS_INSECURE_TLSoptional Set to true to accept a self-signed certificate from a self-hosted instance (default: false)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add healthchecks-mcp -e 'HEALTHCHECKS_API_KEY=<HEALTHCHECKS_API_KEY>' -- npx -y healthchecks-mcp@0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "healthchecks-mcp": {
      "args": [
        "-y",
        "healthchecks-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "HEALTHCHECKS_API_KEY": "<HEALTHCHECKS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "healthchecks-mcp": {
      "args": [
        "-y",
        "healthchecks-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "HEALTHCHECKS_API_KEY": "<HEALTHCHECKS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "HEALTHCHECKS_API_KEY",
      "id": "healthchecks-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "healthchecks-mcp": {
      "args": [
        "-y",
        "healthchecks-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "HEALTHCHECKS_API_KEY": "${input:healthchecks-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.healthchecks-mcp]
command = "npx"
args = ["-y", "healthchecks-mcp@0.3.0"]
env = { "HEALTHCHECKS_API_KEY" = "<HEALTHCHECKS_API_KEY>" }

Docker

Requires Docker

Run in a terminal
claude mcp add healthchecks-mcp -e 'HEALTHCHECKS_API_KEY=<HEALTHCHECKS_API_KEY>' -- docker run -i --rm -e HEALTHCHECKS_API_KEY ghcr.io/ni-c/healthchecks-mcp:0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "healthchecks-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HEALTHCHECKS_API_KEY",
        "ghcr.io/ni-c/healthchecks-mcp:0.3.0"
      ],
      "command": "docker",
      "env": {
        "HEALTHCHECKS_API_KEY": "<HEALTHCHECKS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "healthchecks-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HEALTHCHECKS_API_KEY",
        "ghcr.io/ni-c/healthchecks-mcp:0.3.0"
      ],
      "command": "docker",
      "env": {
        "HEALTHCHECKS_API_KEY": "<HEALTHCHECKS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "HEALTHCHECKS_API_KEY",
      "id": "healthchecks-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "healthchecks-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HEALTHCHECKS_API_KEY",
        "ghcr.io/ni-c/healthchecks-mcp:0.3.0"
      ],
      "command": "docker",
      "env": {
        "HEALTHCHECKS_API_KEY": "${input:healthchecks-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.healthchecks-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "HEALTHCHECKS_API_KEY", "ghcr.io/ni-c/healthchecks-mcp:0.3.0"]
env = { "HEALTHCHECKS_API_KEY" = "<HEALTHCHECKS_API_KEY>" }

For AI agents

  1. Ask the user for: HEALTHCHECKS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_checks, get_check, list_pings, get_ping_body, list_flips, list_integrations, list_badges, get_status, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json