npm package: @ktmcp-cli/alertersystem
Description: Production-ready CLI for Alerter System Monitoring API - Kill The MCP
Author: KTMCP
Latest version: 1.0.0

> "Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."
>
> — [Peter Steinberger](https://twitter.com/steipete), Founder of OpenClaw
> [Watch on YouTube (~2:39:00)](https://www.youtube.com/@lexfridman) | [Lex Fridman Podcast #491](https://lexfridman.com/peter-steinberger/)

# Alerter System CLI

Production-ready CLI for the [Alerter System](https://alertersystem.com) 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

```bash
npm install -g @ktmcp-cli/alertersystem
```

## Configuration

```bash
alertersystem config set --token YOUR_BEARER_TOKEN
```

Get your API token at [alertersystem.com](https://alertersystem.com).

## Usage

### Configuration

```bash
# 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

```bash
# 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

```bash
# 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

```bash
# 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:

```bash
# 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

```bash
# 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](https://killthemcp.com) project — replacing MCPs with simple, composable CLIs.