Semgrep MCP Server
Enables cloning repositories for code analysis and scanning with Semgrep.
Supports working with Semgrep rules defined in YAML format, allowing for rule creation and management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Semgrep MCP Serverscan the current directory for security issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildRelated MCP server: ACE-MCP
Verwendung
Der Server kann auf folgende Weise gestartet werden:
# Produktionsmodus
npm start
# Entwicklungsmodus
npm run devVerfü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-RegelAbhä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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseBqualityFmaintenanceAn 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 updated6682MIT- Alicense-qualityCmaintenanceEnables AI clients to perform local code search, indexing, and analysis across Java, JavaScript/TypeScript, .NET/C#, and Python projects through the MCP protocol.Last updated2Apache 2.0
- AlicenseAqualityCmaintenanceA production-grade security auditing MCP server that wraps semgrep (SAST) and gitleaks (secret detection) to enable one-click code security scanning via MCP stdio protocol.Last updated111MIT
- Alicense-qualityDmaintenanceEnables AI assistants to interact with VS Code's language server protocol features (definitions, references, diagnostics) and debugger (breakpoints, stepping, variable inspection) via an MCP server.Last updated271MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanskiasan/semgrep-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server