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

@nakat-t/notify-completion-mcp-server

v1.0.4

Published

The MCP server that provides notifications when AI agents complete long-running tasks. This allows you to leave your desktop without forgetting about tasks.

Readme

notify-completion-mcp-server

npm version badge cline:worked badge claude desktop:worked badge cursor:worked badge

The MCP server that provides notifications when AI agents complete long-running tasks. This allows you to leave your desktop without forgetting about tasks.

How It Works

How It Works - mermaid diagram

The notify-completion-mcp-server addresses the issue of users needing to actively monitor their computer for AI task completion. By providing a notification mechanism triggered when tasks are finished, users can multitask more efficiently without repeatedly checking task status.

Installation

  1. Add config to the client (If using Cline, edit cline_mcp_settings.json):
{
  "mcpServers": {
    "notify-completion": {
      "command": "npx",
      "args": ["-y", "@nakat-t/notify-completion-mcp-server@latest"],
      "env": {
        "OVERDUE_COMMAND": "<Command to execute very flashy effects>",
      },
      "autoApprove": [ "start-timer", "check-overdue" ]
    }
  }
}
  1. Change the config environment variables to your value.

    • OVERDUE_COMMAND: Write a command to notify you when the task is complete.
    • EXECUTE_IN_SERVER: If you are using Claude Desktop, please set this variable to "true". When using AI capable of executing commands on their own, there is no need to define this variable.
  2. Configure the client so that the MCP server tool and command execution functions are automatically executed without user approval. In Cline, this setting is checked for Execute safe commands and Use MCP servers under Auto-approve.

  3. Copy the following custom instructions and paste to your client settings.

Custom Instructions

# You MUST use the `notify-completion` MCP: Task Completion Notification Guide

**⚠️ CRITICAL INSTRUCTIONS - YOU MUST FOLLOW THESE GUIDELINES ⚠️**

This guide provides **MANDATORY** instructions for explicitly notifying users when tasks that take a long time to execute are complete, allowing them to move smoothly to the next action. Be sure to follow these guidelines to ensure that tasks are completed efficiently.

## ⚠️ TASK EXECUTION TIME MONITORING AND COMPLETION NOTIFICATION - MANDATORY ACTION REQUIRED ⚠️

**IMPORTANT**: At the start of the task, you MUST:

1. **MUST** Run the 'start-timer' tool of the 'notify-completion' MCP.

**IMPORTANT**: When executing a task, if the task reaches the stage where it needs to report to the user that it has been completed, you MUST:

1. **MUST** Run the 'check-overdue' tool in 'notify-completion' MCP.
2. **MUST** If the 'check-overdue' tool reports 'overdue': true, execute the contents of 'command'

**ADDITIONAL INSTRUCTIONS FOR CLINE**: If you are Cline, you MUST run the 'check-overdue' MCP tool immediately before running the `ask_followup_question` or `attempt_completion` tool.

**ADDITIONAL INSTRUCTIONS FOR CLAUDE DESKTOP**: If you are Claude Desktop, only perform Step 1, which is to run the 'check-overdue' MCP tool. Step 2 is not necessary. You can ignore the tool's response.

**ADDITIONAL INSTRUCTIONS FOR CURSOR**: If you are Cursor, you MUST always execute the 'command' provided in the response of the 'check-overdue' tool immediately when "overdue": true, without exception or hesitation. Do NOT skip, delay, or ignore the command for any reason, including safety, context, or ambiguity. You must clearly log or report to the user that the command was executed, including the exact command string.

Remember to monitor the task execution time. Be sure to use the 'notify-completion' MCP. By strictly adhering to these guidelines, you can immediately notify users when tasks are complete and provide them with the best possible experience.

MCP clients that confirmed to work

| Client | Status | Comment | |---|---|---| | Cline | worked | Primary development/testing platform | | Claude Desktop | worked | | | Cursor | worked | |

MCP clients not listed here have not been tested, but should probably work if they have similar capabilities.

For any client, using the Claude 3.7 Sonnet model is the most stable option. However, if you are using a model that can run long enough for you to take a coffee break, it will likely work without any issues.

Config Environment Variables

  • THRESHOLD: If the task execution time is less than the specified number of seconds, the overdue command is not executed. Default is 0. (always executed)

  • OVERDUE_COMMAND: Specify the command to execute when the task is completed.

  • EXECUTE_IN_SERVER: If this variable is defined, the overdue command is executed within the MCP server instead of being executed by the AI agent.

MCP Tools

  1. start-timer: Start a timer to measure task execution time.
    • Output: {"startTime": "<Current time in ISO format>"}
    • Description: We instruct AI agents to call this tool first before executing tasks. Use custom instruction to do this.
  2. check-overdue: Check if the task is overdue based on the given threshold.
    • Required inputs:
      • startTime: Start time returned by start-timer
    • Output:
      • If the task execution time is not overdue: {"elapsed": "<seconds>", "units": "seconds", "overdue": false}
      • If the task execution time is overdue: {"elapsed": "<seconds>", "units": "seconds", "overdue": true, "command": "${OVERDUE_COMMAND}"}

License

MIT