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

veylith

v0.1.0-alpha.1

Published

AI-agent security gateway for Model Context Protocol (MCP) clients and servers

Readme

veylith

AI-agent security gateway for Model Context Protocol (MCP)

npm version License MCP Compatible

Veylith sits as a transparent proxy between AI agent clients (Claude Desktop, Cursor, Cline, custom MCP agents) and upstream MCP servers. It enforces deterministic and semantic security inspection across every protocol phase—blocking prompt injection, intercepting hazardous tool arguments, sanitizing malicious schema descriptions, and quarantining suspicious response payloads.


Key Features

  • Triple-Stage Inspection Boundary:
    1. Discovery Inspection (tools/list): Sanitizes tool descriptions and schemas to prevent prompt injection and shadow instructions from reaching the agent context.
    2. Argument Inspection (tools/call outbound): Evaluates agent parameters against deterministic regex patterns and optional semantic models before upstream tools are executed.
    3. Response Inspection (tools/call return): Scans tool execution results for exfiltration payloads, prompt overrides, and system prompt extractors, applying field-level sanitization or full quarantine before delivering data to the agent.
  • Zero Protocol Overhead: Implements standard MCP stdio transport. AI agents connect to Veylith exactly like any native MCP server.
  • Cryptographic Tamper-Evident Audit Chain: Logs every decision (ALLOW, BLOCK, REVIEW, QUARANTINE) with SHA-256 hash chaining for compliance auditing.
  • Zero Config by Default: Operates out of the box with bundled deterministic security rules without requiring external API keys.

Quickstart

1. Instant Execution with npx (No Installation Required)

Wrap any existing stdio MCP server command with veylith using --:

# 1. Create a safe sandbox directory for tools
mkdir -p "$HOME/mcp-sandbox"
echo "Secure workspace notes" > "$HOME/mcp-sandbox/notes.txt"

# 2. Run Veylith wrapping the official filesystem MCP server
npx veylith -- npx -y @modelcontextprotocol/server-filesystem "$HOME/mcp-sandbox"

2. Global Installation

npm install -g veylith

# Run directly
veylith -- npx -y @modelcontextprotocol/server-filesystem "$HOME/mcp-sandbox"

Client Integration

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "filesystem-protected": {
      "command": "npx",
      "args": [
        "-y",
        "veylith",
        "--",
        "npx",
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/yourusername/mcp-sandbox"
      ]
    }
  }
}

Cursor

Add to your project's .cursor/mcp.json:

{
  "mcpServers": {
    "filesystem-protected": {
      "command": "npx",
      "args": [
        "-y",
        "veylith",
        "--",
        "npx",
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/yourusername/mcp-sandbox"
      ]
    }
  }
}

CLI Reference

Usage:
  veylith [OPTIONS] [-- UPSTREAM_COMMAND [UPSTREAM_ARGS...]]
  veylith-stdio [OPTIONS] [-- UPSTREAM_COMMAND [UPSTREAM_ARGS...]]

Modes:
  1. Standalone Subprocess (Recommended)
     Runs Veylith's 3-stage security boundary in-process and wraps an upstream tool command.
     Example: veylith -- npx -y @modelcontextprotocol/server-filesystem /tmp

  2. Gateway Bridge
     Bridges downstream stdio to a running Veylith HTTP Gateway instance.
     Example: veylith --gateway-url http://127.0.0.1:8787/mcp

  3. Standalone HTTP
     Runs Veylith in-process and mediates an upstream MCP HTTP server.
     Example: veylith --upstream-url http://127.0.0.1:8788/mcp

Options:
  --gateway-url <url>      URL of Veylith Gateway (default: http://127.0.0.1:8787/mcp)
  --upstream-url <url>     URL of upstream MCP HTTP server (standalone mode)
  --command <cmd>          Executable command for upstream MCP server (standalone mode)
  --args <args>            Comma-separated arguments for upstream command
  --blocked-tools <list>   Comma-separated list of tool names to block
  --log-level <level>      Log level: debug, info, warn, error (default: info)
  --fail-closed <bool>     Block requests if security evaluation fails (default: true)
  --max-buffer-size <size> Maximum stdio buffer size in bytes (default: 10485760)
  --meta-mode <mode>       Meta AI mode: mock | live (default: mock)
  -h, --help               Show help message

Security Boundary & Responsible Disclosure

Research Alpha Notice
Veylith 0.1.0-alpha.1 is a defense-in-depth security layer. It does not replace OS-level sandboxing, container isolation, or strict process permissions. Always run upstream MCP tools with minimal required operating system privileges.

For technical documentation, benchmark evidence, and architectural specifications, visit the Veylith Repository.