# Scanner officiel de vulnérabilité de code SAST Semgrep MCP (uvx) (`semgrep-sast-audit-mcp`)

> Le serveur officiel Semgrep MCP analyse en temps réel les différences de code générées par l'IA pour l'injection SQL, SSRF, XSS, la désérialisation non sécurisée et les fuites de secrets.

- **Canonical URL:** https://syndipath.com/fr/mcp/semgrep-sast-audit-mcp
- **Runtime:** `pypi` | **Transport:** STDIO | **License:** LGPL-2.1 | **Package:** `semgrep-mcp`
- **Upvotes:** 682 | **GitHub Stars:** 5140 | **Weekly Installs:** 41200
- **Security Note:** HTTP-200 vérifié sur PyPI (semgrep-mcp) ; exécuté dans un environnement virtuel éphémère Astral uvx isolé.

## Quick CLI Setup
```bash
# Run isolated Python tool via Astral uvx
uvx semgrep-mcp

# Alternative: run via pipx
pipx run semgrep-mcp

# Add to Claude Code CLI
claude mcp add semgrep-sast-audit-mcp -- uvx semgrep-mcp
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "semgrep-sast-audit-mcp": {
      "command": "uvx",
      "args": [
        "semgrep-mcp"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `semgrep_sast_audit_mcp_audit_scan(target: string, severity?: string)`: Official Semgrep MCP server scanning AI-generated code diffs in real time for SQL injection, SSRF, XSS, insecure deserialization, and l.
- `semgrep_sast_audit_mcp_get_telemetry(window_minutes?: number)`: Summarizes high-priority alerts, stacktraces, or security policy findings.
