Security Scanner MCP Server

Security Scanner MCP Server

security-scanner•byrupeebw

An MCP server that scans code repositories for exposed secrets, vulnerabilities, dependency issues, and configuration problems.

License: MIT•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Performs comprehensive security scans on repositories across secrets, vulnerabilities, dependencies, gitignore, and git history categories with summary, detailed, or JSON output.
  • •Checks content for potential secrets or sensitive information such as API keys, passwords, and tokens.
  • •Analyzes .gitignore files for missing security patterns.
  • •Provides security best-practice tips on topics such as secrets, gitignore, dependencies, docker, and CI/CD.

BEST FOR

  • •Developers scanning a code repository for security issues before release.
  • •Checking configuration content for secrets before committing.
  • •Identifying missing security patterns in a project's .gitignore.

ABOUT SECURITY-SCANNER

Security Scanner MCP Server is cataloged as an MCP server attributed to rupeebw. An MCP server that scans code repositories for exposed secrets, vulnerabilities, dependency issues, and configuration problems. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Security Scanner MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What severity output formats does the server offer?

It supports summary, detailed, and JSON output formats.

Does the tool provide remediation guidance for findings?

The detailed format lists each finding's description, location, severity, and remediation recommendations.

Upstream README

View this exact version on GitHub

README.md · bf2926c3d6c1 · Fetched 2026-11-13 08:41:57 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Security Scanner MCP Server

A comprehensive security scanning tool for code repositories, exposed as an MCP (Model Context Protocol) server. This tool helps developers identify security vulnerabilities, exposed secrets, dependency issues, and configuration problems in their codebases.

Features

  • Secret Detection: Scans for exposed API keys, passwords, tokens, and other sensitive information
  • Vulnerability Analysis: Identifies common security vulnerabilities in code
  • Dependency Auditing: Checks for outdated or vulnerable dependencies
  • Git Security: Analyzes .gitignore files and git history for security issues
  • Real-time Scanning: Check content for secrets before committing
  • Security Best Practices: Provides actionable security recommendations

Installation

npm install -g @rupeshpanwar/security-scanner-mcp

Or use with npx:

npx @rupeshpanwar/security-scanner-mcp

CLI Usage (NEW in v1.1.0)

The package now includes a standalone CLI tool for direct command-line scanning:

# Scan a directory with summary output
security-scan scan /path/to/project

# Scan with detailed output
security-scan scan /path/to/project --format detailed

# Scan specific categories
security-scan scan /path/to/project --categories secrets vulnerabilities

# Output as JSON
security-scan scan /path/to/project --format json

# Save report to file
security-scan scan /path/to/project --format detailed > security-report.txt

CLI Options:

  • --format <format>: Output format (summary|detailed|json), default: summary
  • --categories <categories...>: Specific categories to scan (secrets|vulnerabilities|dependencies|gitignore|git-history), default: all

Usage with Claude Desktop

Add the server to your Claude Desktop configuration:

macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "security-scanner": {
      "command": "npx",
      "args": ["@rupeshpanwar/security-scanner-mcp"]
    }
  }
}

Windows

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "security-scanner": {
      "command": "npx",
      "args": ["@rupeshpanwar/security-scanner-mcp"]
    }
  }
}

Available Tools

1. scan_repository

Performs a comprehensive security scan on a repository.

Parameters:

  • path (required): Path to the repository to scan
  • outputFormat (optional): Output format - "summary", "detailed", or "json" (default: "summary")
  • categories (optional): Specific categories to scan (default: all)
    • "secrets": API keys, passwords, tokens
    • "vulnerabilities": Code vulnerabilities
    • "dependencies": Dependency issues
    • "gitignore": .gitignore analysis
    • "git-history": Git history scanning

Example:

Scan the repository at /path/to/repo for all security issues

2. check_secret

Checks if a piece of content contains potential secrets or sensitive information.

Parameters:

  • content (required): Content to check for secrets
  • fileType (optional): File type/extension for context-aware scanning

Example:

Check this content for secrets: AWS_ACCESS_KEY=AKIA1234567890ABCDEF

3. check_gitignore

Analyzes .gitignore file for missing security patterns.

Parameters:

  • path (required): Path to the repository
  • patterns (optional): Additional patterns to check for

Example:

Check if the .gitignore in /path/to/repo has all recommended security patterns

4. get_security_tips

Get security best practices and tips for a specific topic.

Parameters:

  • topic (required): Security topic
    • "secrets": Secret management best practices
    • "gitignore": .gitignore recommendations
    • "dependencies": Dependency security
    • "docker": Docker security
    • "ci-cd": CI/CD security
    • "general": General security tips

Example:

Give me security tips about secrets management

Security Patterns Detected

Secrets

  • AWS Access Keys and Secret Keys
  • API Keys (OpenAI, Google, GitHub, etc.)
  • Private Keys (SSH, SSL certificates)
  • Database connection strings
  • OAuth tokens
  • JWT tokens
  • And many more...

Vulnerabilities

  • SQL injection risks
  • Command injection risks
  • Hardcoded IPs and credentials
  • Weak cryptography usage
  • Insecure deserialization
  • Debug code in production
  • Insecure random number generation

Configuration Issues

  • Missing .gitignore patterns
  • Exposed configuration files
  • Temporary file usage
  • HTTP without TLS

Example Workflow

  1. Initial Repository Scan

    Scan the repository at ./my-project and show me a detailed report
    
  2. Check Code Before Committing

    Check this config file for any secrets:
    [paste your config content]
    
  3. Fix .gitignore Issues

    Check my .gitignore file and tell me what security patterns I'm missing
    
  4. Get Security Recommendations

    Give me best practices for managing secrets in my codebase
    

Output Formats

Summary Format

Quick overview showing count of issues by severity level.

Detailed Format

Complete listing of all findings with:

  • Issue description
  • File location and line number
  • Severity level
  • Remediation recommendations

JSON Format

Machine-readable format for integration with other tools.

Best Practices

  1. Run Regular Scans: Integrate into your CI/CD pipeline
  2. Fix Critical Issues First: Address high and critical severity findings immediately
  3. Update .gitignore: Ensure all sensitive file patterns are excluded
  4. Rotate Exposed Secrets: If any secrets are found, rotate them immediately
  5. Keep Dependencies Updated: Regular dependency updates reduce vulnerabilities

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Acknowledgments

This tool was created after discovering exposed credentials in production code. It aims to help developers prevent similar security incidents by providing proactive scanning and education about security best practices.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Security Scanner MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/security-scanner)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets