MCP Catalogs
Homemcp-server-semgrep screenshot

mcp-server-semgrep

by vetcoders·28·Score 44

MCP Server Semgrep integrates Semgrep static analysis with AI assistants for code scanning, security detection, and quality improvements.

developer-toolssecurityai-llm
11
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

MCP Server Semgrep is a Model Context Protocol compliant server that bridges the powerful Semgrep static analysis tool with AI assistants like Claude. It enables developers to perform advanced code analysis, detect security vulnerabilities, and improve code quality directly through conversational interfaces. The server offers comprehensive tools including directory scanning, rule listing, result analysis, and custom rule creation, making it an essential tool for development teams focused on security and code quality.

Try asking AI

After installing, here are 4 things you can ask your AI assistant:

you:Security vulnerability scanning before deployment
you:Code quality improvement and refactoring assistance
you:Enforcing coding standards and style consistency in teams
you:Educating developers about secure practices

When to choose this

Choose this server for teams already using Semgrep who want to integrate static analysis directly into their AI workflow for code quality and security auditing.

When NOT to choose this

Not suitable for environments where you can't install Semgrep CLI or need scanning capabilities without external dependencies.

Tools this server exposes

7 tools extracted from the README
  • scan_directory

    Scanning source code for potential issues

  • list_rules

    Displaying available rules and languages supported by Semgrep

  • analyze_results

    Detailed analysis of scan results

  • create_rule

    Creating custom Semgrep rules

  • filter_results

    Filtering results by various criteria

  • export_results

    Exporting results in various formats

  • compare_results

    Comparing two sets of scan results

Comparable tools

shell-mcpgithub-mcpsnyk-mcp

Installation

Installation

Option 1: Install from Smithery.ai (Recommended)

  1. Visit [MCP Server Semgrep on Smithery.ai](https://smithery.ai/server/@VetCoders/mcp-server-semgrep)
  2. Follow the installation instructions to add it to your MCP-compatible clients

Option 2: Install from NPM

npm install -g mcp-server-semgrep

Integration with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "semgrep": {
      "command": "node",
      "args": [
        "/your_path/mcp-server-semgrep/build/index.js"
      ],
      "env": {
        "SEMGREP_APP_TOKEN": "your_semgrep_app_token",
        "MCP_SERVER_SEMGREP_ALLOWED_ROOTS": "/Users/you/projects"
      }
    }
  }
}

Compare mcp-server-semgrep with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.