npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kai-notify

v1.0.0

Published

A multi-channel notification hub for AI task completion alerts

Downloads

9

Readme

kai-notify

A stdio-based MCP (Managed Compute Platform) server that serves as a centralized notification system. It receives notifications from AI services via stdio communication and distributes them across multiple channels, currently supporting Slack and LINE Official Account (OA). The server operates without requiring network ports, making it suitable for local execution with multiple instances running simultaneously.

Features

  • Stdio Protocol: Communicates via stdin/stdout using JSON-RPC 2.0 protocol for MCP compliance
  • Multiple Modes: Operates in both MCP Server Mode and CLI Mode
  • Multi-Channel Support: Send notifications to Slack and LINE
  • Flexible Configuration: Supports multiple configuration file locations
  • npx Support: Can be run directly with npx without installation

Installation

You don't need to install kai-notify. It can be run directly with npx:

npx kai-notify

Configuration Priority

The system looks for configuration in this order:

  1. .kai-notify.json in the current working directory
  2. ~/.kai/notify.json in the user's home directory
  3. config/config.json in the project directory (fallback)

Configuration File Format

Create a .kai-notify.json file in your working directory:

{
  "channels": {
    "slack": {
      "enabled": true,
      "botToken": "xoxb-your-token",
      "webhookUrl": "https://hooks.slack.com/services/your/webhook",
      "defaultChannel": "#general"
    },
    "line": {
      "enabled": true,
      "channelAccessToken": "your-channel-access-token",
      "channelSecret": "your-channel-secret",
      "defaultUserId": "user-id-to-send-to"
    }
  }
}

Usage

MCP Server Mode (when stdin is piped)

echo '{"jsonrpc":"2.0","method":"notify","params":{"message":"Test"},"id":1}' | npx kai-notify

CLI Mode

# Send a notification
npx kai-notify --cli notify --message "Hello World" --channel line

# Check health
npx kai-notify --cli health

# View configuration
npx kai-notify --cli config

CLI Options

  • --cli: Run in CLI mode
  • --message: Notification message (for notify command)
  • --title: Notification title (for notify command)
  • --channel: Notification channel (for notify command)

Examples

# Send a notification to LINE
npx kai-notify --cli notify --message "Task completed successfully" --title "Notification" --channel line

# Send a notification to Slack
npx kai-notify --cli notify --message "Build finished" --channel slack

# Send notification without specifying channel (sends to all enabled channels)
npx kai-notify --cli notify --message "System alert"

Benefits of Stdio Protocol

  • No Network Ports Required: The server operates without occupying network ports, allowing multiple instances to run simultaneously
  • Enhanced Security: Communication happens via stdio, eliminating network-based vulnerabilities
  • MCP Compliance: Fully compatible with MCP standards using JSON-RPC protocol
  • Resource Efficient: Lower overhead compared to HTTP-based servers
  • Local Execution: Optimized for local execution environments