llm-code-security-review-mcp
LLM Code Security Review MCP Server
このMCPサーバーは、
llm-code-security-review
メソッドのコンパニオンツールです。LLMがレビュープランを一度に一ステップずつ進めるのを支援します。LLMは
セキュリティレビューを実行します。サーバーは進捗を追跡し、LLMが各サブシステムに割り当てられたすべてのソースコードを実際に読むことを確認し、すべてのプランステップが完了するまでレビューを完了として受け入れません。
短いバージョン
レビュープランを読み込みます。
Codexは一度に1つのサブシステムと1つのセキュリティ領域を受け取ります。
サーバーは、結果を受け入れる前に、割り当てられたソースが読まれたことを確認します。
進捗は自動的に保存されます。Codexを再起動したり、レビューを一時停止したり、後で最初からやり直さずに続行したりできます。
発見事項は別途レビューする必要があります。サーバーは作業を整理しますが、報告された問題が本物かどうかを判断するわけではありません。
それがすべての仕事です。
Related MCP server: DevFlow MCP Server
必要なもの
Linux、macOS、またはその他のPOSIXシステム上のCodex;
Python 3.11以降;
コンパニオンメソッドで作成されたレビュープラン。
サーバーにはサードパーティのPython依存関係はありません。
インストール
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 .サーバーを ~/.codex/config.toml に追加します。例のパスを、あなたのクローンの絶対パスに置き換えてください:
[mcp_servers.llm-code-security-review-mcp]
command = "/absolute/path/to/llm-code-security-review-mcp/.venv/bin/llm-code-security-review-mcp-server"設定を変更した後、新しいCodexセッションを開始してください。
レビューの実行
まず、コンパニオンメソッドを使用してプロジェクトのプランを作成します。次に、新しいCodexセッションを開始して、次のように言います:
llm-code-security-review-mcpサーバーを使用して
<path-to-plan.json>を読み込み、レビューを実行してください。
サーバーは最初のタスクを提供し、プランが完了するまでレビューを進め続けます。
開発
テストスイートを実行するには:
python3 -m unittest discover -s testsリリースされた変更は CHANGELOG.md にあります。セキュリティの問題は SECURITY.md に記載されているように非公開で報告してください。
ライセンス
Copyright 2026 Andrew Rukin (drewrukin). Apache License 2.0 の下でライセンスされています。
Available Tools
4 toolsget_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.
statusARead-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
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- FlicenseDqualityDmaintenanceAn MCP server that implements a structured workflow for LLM-based coding, guiding development through feature clarification, documentation generation, phased implementation, and progress tracking.1018-
- AlicenseBqualityBmaintenanceMCP server that integrates DevFlow with AI code assistants to enforce structured development workflows including planning, task tracking, and code review gates.6533 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that securely reviews AI-generated code for vulnerabilities such as SQL injection, command injection, and hardcoded credentials.12Apache 2.0
- AlicenseNot gradedqualityBmaintenanceA lightweight MCP server for security reviews that injects security requirements before code generation, scans dependencies for CVEs, and verifies generated code without disrupting workflow.74MIT