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

@iflow-mcp/robertodure-mcp-vulnerability-scanner

v1.0.0

Published

An MCP server for scanning vulnerabilities on IP addresses

Readme

MCP Vulnerability Scanner

A Model Context Protocol (MCP) server for scanning IP addresses for vulnerabilities. This server provides tools to perform security scanning on individual IPs or multiple IPs at once.

Features

  • Scan IP addresses for vulnerabilities using multiple methods:
    • Nmap vulnerability scanning
    • API-based vulnerability checks
  • Supports single IP scanning or batch scanning of multiple IPs
  • Returns detailed reports with vulnerability severity, descriptions, and remediation steps
  • Implements the Model Context Protocol for easy integration with MCP clients

Prerequisites

  • Node.js (v14.x or higher)
  • npm (v7.x or higher)
  • Nmap (optional, for enhanced scanning capabilities)

Installation

  1. Clone this repository:

    git clone <repository-url>
    cd mcp-vulnerability-scanner
  2. Install dependencies:

    npm install
  3. Install Nmap (optional but recommended):

    # For Ubuntu/Debian
    sudo apt-get update
    sudo apt-get install nmap
       
    # For CentOS/RHEL
    sudo yum install nmap
       
    # For macOS
    brew install nmap

Configuration

The MCP Vulnerability Scanner is configured through the following files:

1. .mcp.json

This is the main MCP configuration file:

{
  "name": "vulnerability-scanner",
  "version": "1.0.0",
  "description": "An MCP server for scanning vulnerabilities on IP addresses",
  "command": "npm",
  "args": ["run", "dev"],
  "capabilities": {
    "contextItemTypes": ["ip"]
  }
}

2. Integration with VS Code

For VS Code integration, the configuration is in .vscode/mcp.json:

{
  "mcpServers": {
    "mcp_vuln": {
      "command": "npm",
      "args": [
        "run",
        "dev",
        "mcp-vulnerability-scanner",
        "--prefix",
        "/path/to/mcp-vulnerability-scanner"
      ],
      "env": {
        "MCP_SERVER_PORT": "3000"
      }
    }
  }
}

Update the --prefix path to point to your installation location.

Usage Example

Below is a example showing the vulnerability scanner in action:

  • Single Ip Addess scan

Vulnerability Scanner Screenshot

  • Multiple Ip Addess scan

Vulnerability Scanner Screenshot

Available Tools

This MCP server provides the following tools:

1. scan-ip

Scans a single IP address for vulnerabilities.

Parameters:

  • ip: The IP address to scan (string)

Example usage:

scan-ip 192.168.1.1

2. scan-multiple-ips

Scans multiple IP addresses for vulnerabilities.

Parameters:

  • ips: Array of IP addresses to scan (string[])

Example usage:

scan-multiple-ips ["192.168.1.1", "192.168.1.2", "192.168.1.3"]

Deployment Options

1. Local Development

Run the server in development mode:

npm run dev

2. Build and Run in Production

npm run build
npm start

3. Docker Deployment

Create a Dockerfile in the project root:

FROM node:18-alpine

# Install Nmap
RUN apk add --no-cache nmap

WORKDIR /app

COPY package*.json ./
RUN npm ci

COPY . .
RUN npm run build

EXPOSE 3000

CMD ["npm", "start"]

Build and run the Docker container:

docker build -t mcp-vulnerability-scanner .
docker run -p 3000:3000 mcp-vulnerability-scanner

4. VS Code Extension Integration

To use this server in VS Code:

  1. Configure the .vscode/mcp.json file as shown above
  2. Ensure the path to the server is correctly set
  3. The server will be available to MCP-enabled extensions

Security Considerations

  • This scanner requires administrative/root permissions to run comprehensive Nmap scans
  • Only scan IP addresses that you have permission to scan
  • Be aware that vulnerability scanning might trigger security systems or IDS alerts
  • The scan results are provided for informational purposes only

License

MIT