MCP server for AI-assisted security code review: prompts, checklists, quick scans and persistent security reports
pip install security-review==11.2.0 Copy PIP instructions
📖 Full documentation: https://cyr-ius.github.io/security-review/
Details: how a review works (rules, checklists, standards, AGENTS.md), prompts and tools, whole codebase analysis, dependencies, gate, SARIF, trends.
The product runs as two services sharing one database: the MCP server (security-review-mcp), used by the agents and the CI, and the Controller server (security-review-controller), used by people: web interface, REST API, tokens and accounts. See two services, two roles.
uv venv && source .venv/bin/activate uv pip install security-review # Python ≥ 3.14; [postgres] extra for PostgreSQL # from the same directory (shared SQLite file) security-review-controller db upgrade # schema (Alembic) security-review-controller user create admin --role admin --all-projects # web interface account security-review-controller token create --label alice # token of the agent security-review-controller serve --port 8080 # /ui interface and REST API security-review-mcp serve --port 8000 # /mcp endpoint (streamable HTTP) security-review-ci gate --url http://localhost:8080 --project portal # block a pipeline (ci token: SECREVIEW_CI_TOKEN) Host configuration (VS Code with a token, .vscode/mcp.json; Claude and .mcp.json: see connecting the host):
{ "servers": { "security-review": { "type": "http", "url": "http://127.0.0.1:8000/mcp", "headers": { "Authorization": "Bearer ${input:secreview-token}" } } }, "inputs": [ { "id": "secreview-token", "type": "promptString", "description": "Token", "password": true } ] } Step by step: deploying the server, connecting the host (VS Code, Claude, enrollment). Other cases: offline installation, local mode (stdio), Bearer tokens, TLS, Docker images (ghcr.io/cyr-ius/security-review, docker.io/cyrius44/security-review) and Docker Compose with PostgreSQL, architecture and Kubernetes, SECREVIEW_* variables.
The scan produces leads, with false positives. It replaces neither a full SAST or SCA analysis, nor a human review. See security and limits.
uv sync --extra dev && uv run pytest && uv run ruff check . Development happens on dev, and a version is released by pushing a vX.Y.Z tag on master. See the contribution guide and AGENTS.md (instructions for AI agents).
Report a vulnerability privately, as described in SECURITY.md. The project is distributed under the Apache 2.0 license.
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Oct 25, 2026 2 release files Change of provenance




