Skip to main content

MCP server for Dead Man's Snitch monitoring service

Project description

MCP Dead Man's Snitch

PyPI version Python License: MIT CI codecov FlakeHub Nix Flake

A Model Context Protocol (MCP) server for Dead Man's Snitch monitoring service. This server enables AI assistants like Claude to interact with Dead Man's Snitch to monitor scheduled tasks and cron jobs.

What it does

This MCP server provides tools to:

  • List and search your monitoring snitches
  • Check in (ping) snitches to confirm tasks are running
  • Create new monitors for your scheduled jobs
  • Update, pause, or delete existing monitors
  • Manage tags for organizing your snitches

Installation & Setup

  1. Get your API key from Dead Man's Snitch account settings

  2. Configure your MCP client by adding this to your settings:

{
  "mcpServers": {
    "deadmansnitch": {
      "command": "uvx",
      "args": ["mcp-deadmansnitch"],
      "env": {
        "DEADMANSNITCH_API_KEY": "your_api_key_here"
      }
    }
  }
}

Nix / NixOS

For Nix users, this project provides a flake with packages, overlays, and a development shell:

# Run directly
nix run github:jamesbrink/mcp-deadmansnitch

# Build the package
nix build github:jamesbrink/mcp-deadmansnitch

See NIX.md for detailed NixOS configuration and declarative usage.

Docker

A Docker image can be built from the Nix flake:

# Build and load the image
nix build github:jamesbrink/mcp-deadmansnitch#docker
docker load < result

# Run the server
docker run --rm -e DEADMANSNITCH_API_KEY="your_api_key" mcp-deadmansnitch:latest

Configure your MCP client to use Docker:

{
  "mcpServers": {
    "deadmansnitch": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "-e", "DEADMANSNITCH_API_KEY", "mcp-deadmansnitch:latest"],
      "env": {
        "DEADMANSNITCH_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools

This MCP server exposes a single unified snitch tool with an action parameter to reduce context usage when connecting to LLMs.

snitch

Manage Dead Man's Snitch monitors with the following actions:

Action Description Required Params Optional Params
list List all snitches - tags (filter)
get Get snitch details token -
create Create new snitch name, interval notes, tags, alert_type, alert_email
update Update snitch token name, interval, notes, tags, alert_type, alert_email
delete Delete snitch token -
pause Pause monitoring token until (ISO 8601)
unpause Resume monitoring token -
check_in Send check-in token message
add_tags Add tags token, tags -
remove_tag Remove a tag token, tag -

Valid intervals: 15_minute, hourly, daily, weekly, monthly

Valid alert_types: basic, smart

Example Usage in Claude

Once configured, you can ask Claude:

  • "List all my Dead Man's Snitch monitors"
  • "Create a daily monitor called 'Database Backup'"
  • "Check in the backup-job snitch"
  • "Pause the deployment monitor for 2 hours"
  • "Show me all snitches tagged with 'production'"

Support

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_deadmansnitch-1.0.1.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_deadmansnitch-1.0.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_deadmansnitch-1.0.1.tar.gz.

File metadata

  • Download URL: mcp_deadmansnitch-1.0.1.tar.gz
  • Upload date:
  • Size: 128.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_deadmansnitch-1.0.1.tar.gz
Algorithm Hash digest
SHA256 03d51cd76820e0c8f636986e041dabaa29f7f43b67b23abe066623ce4df3bd3b
MD5 10e7ac15a6ac4fbd8805b72c11267ff9
BLAKE2b-256 5ecb306427f02b3ebfc6a6a8b8131036c8228050962104e4869e25b0509278ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_deadmansnitch-1.0.1.tar.gz:

Publisher: publish.yml on jamesbrink/mcp-deadmansnitch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_deadmansnitch-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_deadmansnitch-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee5084450aaa773681cff1be928a3f0534762f16eb670be69380e961868835d
MD5 caa2704a9bf278196bb932b395610f8e
BLAKE2b-256 f03d10bd31550311f06e80f356e79b18fafab161bbb844af758781ac473d8ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_deadmansnitch-1.0.1-py3-none-any.whl:

Publisher: publish.yml on jamesbrink/mcp-deadmansnitch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page