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.
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:
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 READMEscan_directoryScanning source code for potential issues
list_rulesDisplaying available rules and languages supported by Semgrep
analyze_resultsDetailed analysis of scan results
create_ruleCreating custom Semgrep rules
filter_resultsFiltering results by various criteria
export_resultsExporting results in various formats
compare_resultsComparing two sets of scan results
Comparable tools
Installation
Installation
Option 1: Install from Smithery.ai (Recommended)
- Visit [MCP Server Semgrep on Smithery.ai](https://smithery.ai/server/@VetCoders/mcp-server-semgrep)
- Follow the installation instructions to add it to your MCP-compatible clients
Option 2: Install from NPM
npm install -g mcp-server-semgrepIntegration 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
Last updated · Auto-generated from public README + GitHub signals.