semgrep-mcp-server

semgrep-mcp-server

1

Semgrep Server is a Model Context Protocol server designed for integrating static code analysis into development environments using Semgrep. It allows managing Semgrep rules and analyzing code through the MCP protocol, supporting various tools for scanning, listing, and exporting results.

scan_directory

Perform a Semgrep scan in the specified directory

list_rules

List all available Semgrep rules

analyze_results

Analyze the scan results

create_rule

Create a new Semgrep rule

filter_results

Filter scan results by condition

export_results

Export scan results to different formats

compare_results

Compare the results of two scans