Skip to main content
Glama
llm-code-security-review-mcp

llm-code-security-review-mcp

by drewrukin

LLM Code Security Review MCP Server

Dieser MCP-Server ist ein Begleitwerkzeug für die llm-code-security-review-Methodik. Er hilft einem LLM, den Review-Plan Schritt für Schritt zu befolgen. Das LLM führt das Security-Review durch; der Server verfolgt den Fortschritt, stellt sicher, dass das LLM tatsächlich den gesamten Quellcode liest, der jedem Subsystem zugewiesen ist, und akzeptiert das Review erst als abgeschlossen, wenn jeder Planschritt erledigt ist.

Die Kurzfassung

  1. Lade einen Review-Plan.

  2. Codex erhält jeweils ein Subsystem und einen Sicherheitsbereich.

  3. Der Server prüft, dass der zugewiesene Quellcode gelesen wurde, bevor er das Ergebnis akzeptiert.

  4. Der Fortschritt wird automatisch gespeichert. Du kannst Codex neu starten, das Review unterbrechen oder später fortfahren, ohne von vorn zu beginnen.

  5. Befunde müssen separat geprüft werden. Der Server organisiert die Arbeit; er entscheidet nicht, ob ein gemeldetes Problem tatsächlich besteht.

Das ist die ganze Aufgabe.

Related MCP server: DevFlow MCP Server

Was du benötigst

  • Codex unter Linux, macOS oder einem anderen POSIX-System;

  • Python 3.11 oder neuer;

  • einen mit der Begleitmethodik erstellten Review-Plan.

Der Server hat keine Python-Abhängigkeiten von Drittanbietern.

Installation

git clone https://github.com/drewrukin/llm-code-security-review-mcp.git
cd llm-code-security-review-mcp
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install .

Füge den Server zu ~/.codex/config.toml hinzu. Ersetze den Beispielpfad durch den absoluten Pfad zu deinem Klon:

[mcp_servers.llm-code-security-review-mcp]
command = "/absolute/path/to/llm-code-security-review-mcp/.venv/bin/llm-code-security-review-mcp-server"

Starte nach der Änderung der Konfiguration eine neue Codex-Sitzung.

Ein Review durchführen

Erstelle zunächst mit der Begleitmethodik einen Plan für dein Projekt. Starte dann eine neue Codex-Sitzung und sage:

Verwende den Server llm-code-security-review-mcp, um <path-to-plan.json> zu laden und das Review durchzuführen.

Der Server liefert die erste Aufgabe und hält das Review in Gang, bis der Plan vollständig abgearbeitet ist.

Entwicklung

Führe die Testsuite wie folgt aus:

python3 -m unittest discover -s tests

Veröffentlichte Änderungen findest du in CHANGELOG.md. Bitte melde Sicherheitsprobleme vertraulich, wie in SECURITY.md beschrieben.

Lizenz

Copyright 2026 Andrew Rukin (drewrukin). Lizenziert unter der Apache License 2.0.

Available Tools

4 tools
get_taskA

Issue or repeat the one current security-review task. Obey its execution_instruction: read source serially in one-file or <=300-line calls, submit report_done for mechanical coverage verification, then immediately call get_task {} again.

Inputs: no named parameters.

load_planA

Load the supplied security-review plan before execution.

Inputs: path (required).

report_doneA

Submit the structured result. This call mechanically verifies source coverage and returns the exact missing read when incomplete. For NO FINDINGS, finding_ids, evidence, and artifacts must all be empty. For FINDING or CORROBORATION, include only concise source ranges needed to prove the security effect. After an accepted result, immediately call get_task {} and continue until COMPLETE; after COMPLETE, call status {} and use only its diagnostics for final totals.

Inputs: outcome (required), step_id (required), summary (required), evidence (required), +2 more.

statusA
Read-onlyIdempotent

Return read-only authoritative review progress and diagnostics. After the server reports COMPLETE, call status {} and use only its diagnostics for final totals.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct role: load_plan initializes the review, get_task fetches the active task, status reports progress, and report_done submits results. Despite verbose instructions, the boundaries are clear and an agent should not confuse them.

    Naming Consistency4/5

    load_plan and get_task follow a clean verb_noun pattern, and all names use lowercase snake_case. status is a bare noun and report_done uses an adjective complement rather than a noun object, so the pattern is not perfect but remains readable and predictable.

    Tool Count5/5

    Four tools is well-scoped for a focused security-review orchestration server. Each tool maps to an essential phase of the workflow and none feels redundant or missing.

    Completeness5/5

    The tool surface covers the full intended lifecycle: load the plan, retrieve tasks, submit results, and check final status. There are no obvious dead ends or missing operations within the server's clearly defined orchestration purpose.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      D
      quality
      D
      maintenance
      An MCP server that implements a structured workflow for LLM-based coding, guiding development through feature clarification, documentation generation, phased implementation, and progress tracking.
      10
      18
      -
    • A
      license
      B
      quality
      B
      maintenance
      MCP server that integrates DevFlow with AI code assistants to enforce structured development workflows including planning, task tracking, and code review gates.
      65
      33 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that securely reviews AI-generated code for vulnerabilities such as SQL injection, command injection, and hardcoded credentials.
      12
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      A lightweight MCP server for security reviews that injects security requirements before code generation, scans dependencies for CVEs, and verifies generated code without disrupting workflow.
      74
      MIT