Semgrep Server
Ein Model Context Protocol (MCP) Server für die Integration von Semgrep in die Entwicklungsumgebung. Dieser Server ermöglicht die Durchführung von statischen Code-Analysen und die Verwaltung von Semgrep-Regeln direkt über das MCP-Protokoll.
Installation
Verwendung
Der Server kann auf folgende Weise gestartet werden:
Verfügbare Tools
Der Server stellt folgende MCP-Tools zur Verfügung:
scan_directory
: Führt einen Semgrep-Scan in einem Verzeichnis auslist_rules
: Listet verfügbare Semgrep-Regeln aufanalyze_results
: Analysiert die Scan-Ergebnissecreate_rule
: Erstellt eine neue Semgrep-Regelfilter_results
: Filtert Scan-Ergebnisse nach verschiedenen Kriterienexport_results
: Exportiert Scan-Ergebnisse in verschiedene Formatecompare_results
: Vergleicht zwei Scan-Ergebnisse
Entwicklung
Das Projekt ist in TypeScript geschrieben und verwendet das MCP SDK für die Server-Implementierung.
Projektstruktur
Abhängigkeiten
- Node.js & npm
- TypeScript
- MCP SDK
- Axios für HTTP-Anfragen
Lizenz
Dieses Projekt steht unter der ISC-Lizenz. Weitere Details finden Sie in der LICENSE Datei.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables integration of Semgrep in development environments via the MCP protocol, supporting static code analysis, rule management, and scan result operations.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables integration of DeepSeek's language models with MCP-compatible applications, offering features like chat completion, custom model selection, and parameter control for enhancing language-based interactions.Last updated -240261JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol compliant server that integrates Semgrep static analysis tool with AI assistants like Anthropic Claude, enabling advanced code analysis, security vulnerability detection, and code quality improvements through a conversational interface.Last updated -94416JavaScriptMIT License
Semgrep MCP Serverofficial
AsecurityAlicenseAqualityAn MCP server that provides a comprehensive interface to Semgrep, enabling users to scan code for security vulnerabilities, create custom rules, and analyze scan results through the Model Context Protocol.Last updated -6372PythonMIT License- -securityAlicense-qualityA server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.Last updated -11PythonGPL 3.0