
semgrep mcp server
未知
Repository Info
About This Server
未知
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
# Repository klonen
git clone [repository-url]
cd semgrep-server
# Abhängigkeiten installieren
npm install
# Server bauen
npm run build
Verwendung
Der Server kann auf folgende Weise gestartet werden:
# Produktionsmodus
npm start
# Entwicklungsmodus
npm run dev
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
semgrep-server/
├── src/ # Quellcode
├── build/ # Kompilierte JavaScript-Dateien
├── test.js # Testdateien
└── test-rule.yaml # Beispiel Semgrep-Regel
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.
Quick Start
Clone the repository
git clone https://github.com/stefanskiasan/semgrep-mcp-serverInstall dependencies
cd semgrep-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.