About
Overview
The Semgrep MCP Server enables AI agents to perform static application security testing (SAST) using Semgrep. It provides tools for scanning code for security vulnerabilities, enforcing coding standards, and detecting code patterns.
Capabilities
Tools & Capabilities
⚡scan
Run a Semgrep scan on code
⚡list_rules
List available scanning rules
⚡get_findings
Get findings from a scan
⚡scan_file
Scan a specific file
Setup
Installation
bash
Install
pip install mcp-server-semgrepExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"semgrep": {
"command": "python",
"args": ["-m", "mcp_server_semgrep"]
}
}
}Quick Info
Authorsemgrep
LanguagePython
StatusStable
Stars★ 85
Last UpdatedFeb 12, 2026