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

@mcpup/cli

v0.2.0

Published

One-shot semantic health check for MCP servers: catches silent failures and schema drift.

Readme

mcpup

One-shot semantic health check for MCP servers. Catches what an uptime monitor misses: silent failures and schema drift.

An HTTP ping tells you the port responds. mcpup tells you whether your MCP server is actually healthy for an agent: full handshake, usable tools/list, and — the classic trap — no JSON-RPC error hidden under a 200 OK.

$ mcpup https://mcp.example.com/mcp
mcpup  https://mcp.example.com/mcp
  ● SILENT FAILURE   20ms
  server acme-mcp v1.2.0  ·  protocol 2025-11-25
  error [jsonrpc-error] MCP error -32603: internal explosion masked by a 200 OK

  checks
    ✓ handshake     protocol 2025-11-25
    ✗ tools-list    MCP error -32603: …
    ✗ payload-parse 200 OK but broken payload (jsonrpc-error)

The handshake succeeds — a Pingdom would see "green". The agent, however, breaks. mcpup says so, and exits with code 2.

What it checks

  • Full initialize handshake (not just "the port responds").
  • tools/list parsed strictly: a 200 OK containing a JSON-RPC error or an unreadable payload is a silent failure, not a success.
  • Schema drift: captures a snapshot of tool schemas and compares it to a baseline (--baseline) to detect that an inputSchema/outputSchema has changed under your feet.
  • Safe tool call (--call): calls a tool you designate and validates the shape of its response (not the HTTP code) — detects an isError, an output that does not respect the declared outputSchema, or a hidden JSON-RPC error. Arguments synthesized from the schema, or provided via --call-args.

Installation

Published as @mcpup/cli; the installed command is mcpup.

# run without installing (Node ≥ 20)
npx @mcpup/cli <url>

# or install globally → provides the `mcpup` command
npm i -g @mcpup/cli
mcpup <url>

# Bun users
bunx @mcpup/cli <url>

Usage

mcpup <url> [options]

  -t, --token <token>     Bearer token (→ Authorization: Bearer <token>)
  -H, --header <k:v>      Additional HTTP header (repeatable)
      --timeout <ms>      Timeout per JSON-RPC request (default 10000)
      --call <tool>       Call a safe tool and validate the shape of its response
      --call-args <json>  JSON arguments for --call (otherwise synthesized from the schema)
      --save-snapshot <f> Write the current schema snapshot to <f>
      --baseline <f>      Compare the current schema to <f> and report the drift
      --json              Machine-readable output (JSON) for CI
  -h, --help · -V, --version

Examples

# Simple health check
mcpup https://mcp.example.com/mcp

# With auth
mcpup https://mcp.example.com/mcp -t "$MCP_TOKEN" -H "X-Tenant: acme"

# Capture a schema baseline, then detect drift later
mcpup https://mcp.example.com/mcp --save-snapshot mcp.baseline.json
mcpup https://mcp.example.com/mcp --baseline mcp.baseline.json

# Call a safe tool and validate the shape of its response
mcpup https://mcp.example.com/mcp --call ping
mcpup https://mcp.example.com/mcp --call search --call-args '{"q":"test"}'

⚠️ --call actually executes the tool. Only point it at a side-effect-free tool (read-only) — you are the one asserting it is "safe". With synthetic arguments, an input validation rejection (InvalidParams) is considered inconclusive (exit 0); with --call-args, it fails the run.

Exit codes (designed for CI)

| Code | Meaning | |------|---------------| | 0 | healthy or degraded — reachable and usable | | 1 | unreachable — transport / handshake failed, timeout | | 2 | silent failure200 OK hiding a JSON-RPC error or an unreadable payload | | 3 | drift — the schema changed vs --baseline | | 4 | tool call failed (--call) — isError, output outside outputSchema, or explicit args rejected | | 64 | CLI misuse |

Precedence: 1 > 2 > 4 > 3 > 0.

Put mcpup --baseline mcp.baseline.json in your pipeline: the build fails (exit 3) as soon as a tool changes its schema without warning.


The mcpup CLI is the open-source probe of the mcpup platform — continuous monitoring (scheduling, history, alerting, status page) for MCP servers.