Skip to content

ktmcp-cli/alertersystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."

Peter Steinberger, Founder of OpenClaw Watch on YouTube (~2:39:00) | Lex Fridman Podcast #491

Alerter System CLI

Production-ready CLI for the Alerter System Monitoring API. Manage alerts, monitors, and notifications directly from your terminal.

Disclaimer: This is an unofficial CLI tool and is not affiliated with, endorsed by, or supported by Alerter System.

Installation

npm install -g @ktmcp-cli/alertersystem

Configuration

alertersystem config set --token YOUR_BEARER_TOKEN

Get your API token at alertersystem.com.

Usage

Configuration

# Set bearer token
alertersystem config set --token YOUR_BEARER_TOKEN

# Show configuration
alertersystem config list

# Get a specific config value
alertersystem config get token

Alerts

# List all alerts
alertersystem alerts list

# Filter by status
alertersystem alerts list --status open
alertersystem alerts list --status acknowledged
alertersystem alerts list --status resolved

# Get a specific alert
alertersystem alerts get ALERT_ID

# Acknowledge an alert
alertersystem alerts acknowledge ALERT_ID

# Resolve an alert
alertersystem alerts resolve ALERT_ID

Monitors

# List all monitors
alertersystem monitors list

# Get a specific monitor
alertersystem monitors get MONITOR_ID

# Create a new monitor
alertersystem monitors create \
  --name "My Website" \
  --url https://example.com \
  --interval 60 \
  --type https

# Delete a monitor
alertersystem monitors delete MONITOR_ID

Notifications

# List all notifications
alertersystem notifications list

# Get a specific notification
alertersystem notifications get NOTIFICATION_ID

JSON Output

All commands support --json for machine-readable output:

# List open alerts as JSON
alertersystem alerts list --status open --json

# Pipe to jq
alertersystem alerts list --json | jq '.[] | select(.severity == "critical") | {id, name}'

# Get monitor status
alertersystem monitors list --json | jq '.[] | {name, status, uptime}'

Examples

# Morning ops check: see all open alerts
alertersystem alerts list --status open

# Acknowledge all critical alerts
alertersystem alerts list --json | jq -r '.[] | select(.severity == "critical") | .id' | \
  xargs -I{} alertersystem alerts acknowledge {}

# Create a monitor for your API
alertersystem monitors create --name "Production API" --url https://api.example.com/health --interval 30

# Check monitor uptime
alertersystem monitors list --json | jq '.[] | {name, uptime: .uptime}'

# Count unread notifications
alertersystem notifications list --json | jq '[.[] | select(.read == false)] | length'

License

MIT


Part of the KTMCP CLI project — replacing MCPs with simple, composable CLIs.


Support KTMCP

If you find this CLI useful, we'd greatly appreciate your support! Share your experience on:

  • Reddit
  • Twitter/X
  • Hacker News

Incentive: Users who can demonstrate that their support/advocacy helped advance KTMCP will have their feature requests and issues prioritized.

Just be mindful - these are real accounts and real communities. Authentic mentions and genuine recommendations go a long way!

Support This Project

If you find this CLI useful, we'd appreciate support across Reddit, Twitter, Hacker News, or Moltbook. Please be mindful - these are real community accounts. Contributors who can demonstrate their support helped advance KTMCP will have their PRs and feature requests prioritized.

About

CLI for Alerter System Monitoring - Kill The MCP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors