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

@mcp-guard/mcp-server

v1.1.0

Published

MCP server exposing mcp-guard scanners to Claude Desktop and other MCP clients via the Model Context Protocol.

Readme

MCP-Guard Server

A Model Context Protocol (MCP) server that provides real-time security scanning and monitoring capabilities for MCP configurations.

Features

  • 🔍 Real-time Security Scanning - Comprehensive vulnerability detection
  • 🛡️ 11 Security Scanners - API keys, authentication, injection attacks, and more
  • 📊 Traffic Monitoring - Real-time anomaly detection
  • 📄 Multi-format Reports - JSON, Markdown, HTML, SARIF, PDF
  • 🔧 Multiple Transports - Stdio and WebSocket support

Installation

For Claude Desktop

Run the installation script:

./install-mcp.sh

Or manually configure by adding to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-guard": {
      "command": "node",
      "args": ["/path/to/mcp-guard/packages/mcp-server/dist/server.js"],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

For Other MCP Clients

  1. Build the server:
pnpm install
pnpm build
  1. Run with stdio transport:
node dist/server.js
  1. Or run with WebSocket transport:
node dist/server.js --websocket --port 8080

Available Tools

1. scan_config

Performs comprehensive security scanning of MCP configurations.

Parameters:

  • config (object, required): MCP server configuration to scan
  • depth (string): Scan depth - quick, standard, comprehensive, paranoid

Example:

{
  "name": "scan_config",
  "arguments": {
    "config": {
      "name": "my-server",
      "tools": [...]
    },
    "depth": "comprehensive"
  }
}

2. check_vulnerabilities

Checks for specific vulnerability types.

Parameters:

  • config (object, required): Configuration to check
  • types (array): Vulnerability types to check
    • api-keys
    • authentication
    • command-injection
    • tool-poisoning
    • data-exfiltration
    • prompt-injection
    • oauth-security
    • confused-deputy
    • rate-limiting
    • ssrf
    • compliance

3. monitor_traffic

Monitors real-time traffic and detects anomalies.

Parameters:

  • config (object, required): Configuration to monitor
  • interval (number): Monitoring interval in milliseconds (default: 5000)
  • metrics (array): Metrics to track (default: ["all"])

4. generate_report

Generates security reports in various formats.

Parameters:

  • config (object, required): Configuration to analyze
  • format (string): Report format - json, markdown, html, sarif, pdf
  • includeRemediation (boolean): Include remediation steps (default: true)
  • includeCompliance (boolean): Include compliance checks (default: false)

Transport Options

Stdio Transport (Default)

Used by Claude Desktop and CLI tools:

node dist/server.js

WebSocket Transport

For web applications and remote connections:

node dist/server.js --websocket --port 8080

Configuration

Environment Variables

  • NODE_ENV: Set to production for production use
  • MCP_GUARD_LOG_LEVEL: Logging level (debug, info, warn, error)

MCP Configuration (mcp.json)

{
  "mcpServers": {
    "mcp-guard": {
      "command": "node",
      "args": ["./dist/server.js"],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

Security Scanners

The server includes 11 specialized security scanners:

  1. API Keys Scanner - Detects exposed API keys and secrets
  2. Authentication Scanner - Identifies authentication vulnerabilities
  3. Command Injection Scanner - Detects command injection risks
  4. Tool Poisoning Scanner - Identifies malicious tool configurations
  5. Data Exfiltration Scanner - Detects potential data leaks
  6. Prompt Injection Scanner - Identifies prompt manipulation attempts
  7. OAuth Security Scanner - Checks OAuth implementation security
  8. Confused Deputy Scanner - Detects privilege escalation risks
  9. Rate Limiting Scanner - Identifies missing rate limits
  10. SSRF Scanner - Detects server-side request forgery vulnerabilities
  11. Compliance Scanner - Checks regulatory compliance (GDPR, HIPAA, etc.)

Development

Building from Source

# Install dependencies
pnpm install

# Build the server
pnpm build

# Run in development mode
pnpm dev

Testing

# Run simple test
node test-simple.js

# Run MCP protocol test
node test-mcp.js

License

MIT