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

@verdicter/mcp

v1.0.2

Published

Verdicter policy enforcement for MCP servers

Readme

@verdicter/mcp

Runtime security for MCP servers. One line wraps any MCP server so every tool call is evaluated against your Verdicter policies before it executes.

npm version license


What is this?

MCP is the standard that powers Claude Desktop and most modern agent frameworks. Every tool your MCP server exposes is now a potential attack surface.

@verdicter/mcp intercepts every tool call before it reaches your handler. DENY stops execution and returns an error to the client. ESCALATE pauses and waits for human approval. ALLOW passes through transparently - the agent never sees the enforcement layer.

MCP client → tool call → withVerdicter() → Verdicter policy engine → ALLOW / DENY / ESCALATE → your handler

Get your free API key at verdicter.dev


Install

npm install @verdicter/mcp

Requires @modelcontextprotocol/sdk >= 1.0.0 as a peer dependency.


Quick start

1. Get an API key at verdicter.dev - free to sign up, 10k evaluations/month on the free plan.

2. Register your agent in the Verdicter dashboard and define your policies.

3. Wrap your MCP server:

import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { withVerdicter } from "@verdicter/mcp";

const server = new Server(
  { name: "my-tools", version: "1.0.0" },
  { capabilities: { tools: {} } },
);

// Register your tools as normal
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [...] }));
server.setRequestHandler(CallToolRequestSchema, async (request) => {
  // Your tool logic - Verdicter runs before this
  return { content: [{ type: "text", text: "done" }] };
});

// One line - works with any transport
const guarded = withVerdicter(server, {
  apiKey: process.env.VERDICTER_API_KEY!,
  agentId: "my_mcp_agent",
});

await guarded.connect(new StdioServerTransport());

Works identically with HTTP/SSE transports - just swap the transport.


Configuration

withVerdicter(server, {
  apiKey:               process.env.VERDICTER_API_KEY!,
  agentId:              "my_mcp_agent",
  escalationTimeoutMs:  10_000,   // auto-deny escalations after this (default: 10s)
  apiUrl:               "https://www.verdicter.dev",  // default
  onEvaluation:         (result) => console.log(result),
});

| Option | Type | Default | Description | |--------|------|---------|-------------| | apiKey | string | required | Your Verdicter API key | | agentId | string | required | Agent ID or name registered in your dashboard | | escalationTimeoutMs | number | 10000 | How long to wait for human approval before auto-denying | | apiUrl | string | https://www.verdicter.dev | Verdicter API base URL | | onEvaluation | function | - | Called after every evaluation with the full result |


Decisions

| Decision | What happens | |----------|-------------| | ALLOW | Tool call passes through to your handler | | DENY | MCP InvalidRequest error returned to the client | | ESCALATE | Polls for human approval, auto-denies after escalationTimeoutMs |


Fail-open behavior

If the Verdicter API is unreachable, the adapter logs a warning and allows the tool call through rather than taking your MCP server down. If you need strict fail-closed behavior, throw inside onEvaluation when result.decision is undefined.


Logging

withVerdicter(server, {
  apiKey: process.env.VERDICTER_API_KEY!,
  agentId: "my_mcp_agent",
  onEvaluation: (result) => {
    console.log(`[${result.decision}] ${result.tool} - risk ${result.riskScore} (${result.latencyMs}ms)`);
  },
});

Links


MIT License © Verdicter