# Semgrep Mcp Server

> MCP server from stefanskiasan/semgrep-mcp-server.

- **Type:** MCP server
- **Install:** `agentstack add mcp-stefanskiasan-semgrep-mcp-server`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [stefanskiasan](https://agentstack.voostack.com/s/stefanskiasan)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [stefanskiasan](https://github.com/stefanskiasan)
- **Source:** https://github.com/stefanskiasan/semgrep-mcp-server

## Install

```sh
agentstack add mcp-stefanskiasan-semgrep-mcp-server
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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

```bash
# 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:

```bash
# 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 aus
- `list_rules`: Listet verfügbare Semgrep-Regeln auf
- `analyze_results`: Analysiert die Scan-Ergebnisse
- `create_rule`: Erstellt eine neue Semgrep-Regel
- `filter_results`: Filtert Scan-Ergebnisse nach verschiedenen Kriterien
- `export_results`: Exportiert Scan-Ergebnisse in verschiedene Formate
- `compare_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](LICENSE) Datei.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [stefanskiasan](https://github.com/stefanskiasan)
- **Source:** [stefanskiasan/semgrep-mcp-server](https://github.com/stefanskiasan/semgrep-mcp-server)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-stefanskiasan-semgrep-mcp-server
- Seller: https://agentstack.voostack.com/s/stefanskiasan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
