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

@letsping/mcp

v0.3.3

Published

LetsPing Behavioral Shield MCP Server for Claude and Cursor

Readme

@letsping/mcp

MCP server that lets Claude Desktop, Cursor, and other MCP clients route risky tool calls through LetsPing for human approval.

Usage

Zero-Config (via npx)

You can run the server directly without installing it, as long as you have your API Key.

Claude Desktop Config (claude_desktop_config.json):

{
  "mcpServers": {
    "letsping": {
      "command": "npx",
      "args": ["-y", "@letsping/mcp"],
      "env": {
        "LETSPING_API_KEY": "lp_sk_..."
      }
    }
  }
}

What this looks like in practice

After you add the server, your agent gets a tool named ask_human.

  • Call it with { service, action, payload } and a request appears in the LetsPing dashboard.
  • The human can approve, reject, or patch fields.
  • The tool returns JSON text with a status field and the executed_payload that should run.

Tools Provided

ask_human

Request approval or input from a human operator.

Arguments:

  • service (string): The name of your agent (e.g. "billing-bot").
  • action (string): What you are trying to do (e.g. "refund-user").
  • payload (object): The data needing review (e.g. { "amount": 50, "user_id": "123" }).
  • priority (string, optional): "low" | "medium" | "high" | "critical". Defaults to "medium".
  • role (string, optional): Who should approve this? (e.g. "finance", "devops").
  • timeout (number, optional): Max wait time in milliseconds (default ~24h).

Return shape (content text JSON):

// APPROVED, no modifications
{
  "status": "APPROVED",
  "executed_payload": { /* final payload */ }
}

// APPROVED, with human modifications
{
  "status": "APPROVED_WITH_MODIFICATIONS",
  "message": "The human reviewer authorized this action but modified your original payload. Please review the diff_summary to learn from this correction.",
  "diff_summary": { "changes": { /* field-level diff */ } },
  "original_payload": { /* as requested by the agent */ },
  "executed_payload": { /* what will actually run */ }
}

// REJECTED
{
  "status": "REJECTED",
  "message": "The human operator rejected this action. Do not proceed with the plan.",
  "metadata": { /* optional audit fields */ }
}

How an MCP agent should behave:

  • Never proceed with the risky action if status === "REJECTED".
  • If status === "APPROVED_WITH_MODIFICATIONS", prefer executed_payload over the original; optionally learn from diff_summary.
  • If status === "APPROVED", proceed using executed_payload.

When you should not use this

  • You already have direct SDK integration and do not use MCP. In that case prefer @letsping/sdk or the framework adapters.
  • You need arbitrary tools exposed over MCP. This server only exposes ask_human for approvals, not a general tool registry.
  • You want to stream full token logs. The focus here is governing tool calls and payloads, not transcript capture.

Development

  1. Clone the repo.
  2. Run pnpm install.
  3. Run pnpm build.