drewrukin

LLM Code Security Review MCP Server

Community drewrukin
Updated

MCP server for running source code security reviews with an LLM

LLM Code Security Review MCP Server

This MCP server is a companion tool for thellm-code-security-reviewmethodology. It helps an LLM follow the review plan one step at a time. The LLMperforms the security review; the server tracks progress, makes sure the LLMactually reads all source code assigned to each subsystem, and does not acceptthe review as complete until every plan step is finished.

The Short Version

  1. Load a review plan.

  2. Codex receives one subsystem and one security area at a time.

  3. The server checks that the assigned source was read before accepting theresult.

  4. Progress is saved automatically. You can restart Codex, pause the review, orcontinue later without starting over.

  5. Findings must be reviewed separately. The server organizes the work; it doesnot decide whether a reported issue is real.

That is the whole job.

What You Need

  • Codex on Linux, macOS, or another POSIX system;
  • Python 3.11 or newer;
  • a review plan created with the companion methodology.

The server has no third-party Python dependencies.

Install It

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 .

Add the server to ~/.codex/config.toml. Replace the example path with theabsolute path to your clone:

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

Start a new Codex session after changing the configuration.

Run a Review

First, use the companion methodology to create a plan for your project. Thenstart a new Codex session and say:

Use the llm-code-security-review-mcp server to load <path-to-plan.json> and execute the review.

The server will provide the first task and keep the review moving until the planis complete.

Development

Run the test suite with:

python3 -m unittest discover -s tests

Released changes are in CHANGELOG.md. Please report securityproblems privately as described in SECURITY.md.

License

Copyright 2026 Andrew Rukin (drewrukin). Licensed under theApache License 2.0.

MCP Server ยท Populars

MCP Server ยท New

    frankchu91

    MindBase โ€” Karpathy's LLM Wiki, as a product

    Karpathy's LLM Wiki idea as a product โ€” an AI that builds and maintains a markdown wiki from your notes and sources. MCP server + web UI, runs on free local models (Ollama), no API key needed. MIT.

    Community frankchu91
    aakarim

    ๐Ÿ“œ OpenLore

    A minimal, extensible, agent-native knowledge base that keeps shared context current and inspectable

    Community aakarim
    sv-grid

    @svgrid/mcp

    Native Svelte 5 data grid. Headless-first engine + drop-in render component. Row + column virtualization (1M rows), Excel-style filters, inline editing, grouping, pivot, server-side data. MIT core (@svgrid/grid), MCP server for Claude / Cursor. https://svgrid.com

    Community sv-grid
    cinderline

    NorthCinder

    Buyer-run, ad-neutral shopping-agent MCP software with deterministic ranking, signed purchase mandates, and a local audit trail.

    Community cinderline
    amanhij

    Zikkaron

    Biologically-inspired persistent memory engine for Claude Code. 26 cognitive subsystems, Hopfield networks, predictive coding, causal discovery, successor representations, all running locally over SQLite.

    Community amanhij