Security Audit MCP Ver
This server exposes read-only, evidence-led MCP tools for planning and validating source-code security audits; it is not an autonomous audit agent.
Inspect GitHub repository metadata, list bounded repository trees, and read bounded text files without executing code.
Prepare reconnaissance artifacts and canonical coverage ledgers from caller-supplied scout reports and coverage units.
Validate and rank coverage ledgers, plan bounded hunting waves, and defer untouched units deterministically.
Consolidate caller-supplied hunter results and update only assigned ledger units; it does not spawn hunters.
Run initial repository reconnaissance and heuristic source review that produces candidate leads, not confirmed vulnerabilities.
Validate coverage completeness, findings structure/evidence/fingerprints, and separately supplied independent reviewer checks.
Generate JSON and Markdown audit reports, with incomplete reports when coverage or verification gates fail.
It does not clone or execute target code, probe deployed endpoints, spawn agents, run background jobs, persist queues, or cryptographically authenticate evidence.
Provides read-only GitHub repository access via GitHub read APIs, enabling repository metadata inspection, bounded repository tree listing, and reading individual text files for source-code security audits. Supports an optional fine-grained read-only GitHub token for higher API limits or private repositories.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Security Audit MCP Ver run a security audit on github.com/acme/app and generate a report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Security-Audit-MCP-Ver
Language: English (EU) · English (US) · Bahasa Indonesia · Malay (Singapore)
Setup guide: SETUP.md
Read-only, evidence-led source-code security audit tools exposed through the Model Context Protocol (MCP).
Independent implementation inspired by the workflow in Cloudflare Security Audit Skill. This project is not affiliated with or endorsed by Cloudflare. Cloudflare's upstream material remains under its original MIT licence; this project's own code is licensed under AGPL-3.0-or-later. See ATTRIBUTIONS.md.
Status
Version 0.3.1 — RELEASED. See CHANGELOG.md for release notes and SETUP.md for installation and MCP client configuration.
The server exposes 18 MCP tools covering repository reconnaissance, coverage planning, source review, findings validation, independent verification, orchestration contracts and report generation. It provides workflow primitives, not an autonomous audit agent.
Related MCP server: Shield IA
Requirements
Node.js 22 or newer (use a supported LTS release).
An MCP-compatible client.
Optional fine-grained GitHub token for private repositories or higher API limits. Grant only Contents: read-only and Metadata: read-only.
Install from source
git clone https://github.com/Hanzet22/Security-Audit-MCP-Ver.git
cd Security-Audit-MCP-Ver
npm ci
npm run buildTo run the complete local validation suite:
npm run typecheck
npm test
npm run buildThe production STDIO entry point is dist/stdio.js. The server currently supports local STDIO only; it does not provide an HTTP endpoint, remote MCP URL, OAuth flow or hosted service.
Configure an MCP client
Replace /absolute/path/to/Security-Audit-MCP-Ver with the actual path to the cloned repository. Build the project before connecting a client.
Claude Code
Add a user-level server:
claude mcp add --transport stdio --scope user security-audit-mcp-ver -- node /absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js
claude mcp listRun /mcp inside Claude Code to inspect the connection. For project-only configuration, use --scope project instead of --scope user.
OpenAI Codex CLI
codex mcp add security-audit-mcp-ver -- node /absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js
codex mcp listCodex stores the entry in ~/.codex/config.toml. You can also configure it there:
[mcp_servers.security-audit-mcp-ver]
command = "node"
args = ["/absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js"]Cursor
Create .cursor/mcp.json in your project, or use the global Cursor MCP configuration:
{
"mcpServers": {
"security-audit-mcp-ver": {
"command": "node",
"args": ["/absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js"]
}
}
}Visual Studio Code
For clients that use the VS Code MCP configuration format, create .vscode/mcp.json:
{
"servers": {
"security-audit-mcp-ver": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js"]
}
}
}Client configuration formats can differ. Consult the client's current MCP documentation if its schema changes.
Optional GitHub token
Public repositories can be read without a token, subject to GitHub's unauthenticated API rate limits. If required, set GITHUB_TOKEN in the MCP client's server environment. Use a fine-grained token limited to the repositories needed, with Contents: read-only and Metadata: read-only permissions. Never commit tokens or paste them into tool arguments.
Example for a client configuration that supports environment variables:
{
"mcpServers": {
"security-audit-mcp-ver": {
"command": "node",
"args": ["/absolute/path/to/Security-Audit-MCP-Ver/dist/stdio.js"],
"env": {
"GITHUB_TOKEN": "YOUR_READ_ONLY_TOKEN"
}
}
}
}Prefer your operating system's secret manager or the client's secure environment-variable mechanism over storing a token in a shared project file.
What the server does
Reads GitHub repository metadata, bounded trees and text files.
Prepares reconnaissance reports and canonical coverage ledgers.
Plans bounded hunting waves and validates caller-supplied results.
Validates findings, evidence structure and unique fingerprints.
Checks separately supplied reviewer records.
Generates JSON and Markdown audit reports.
Safety model and limitations
GitHub access is read-only.
The server does not clone or execute target repository code.
It does not probe deployed endpoints or third-party infrastructure.
Heuristic matches are candidate leads, not proof of vulnerabilities.
Caller-supplied refs, line ranges, worker results and orchestration state are not cryptographically attested.
Workflow gates check record consistency; they do not prove that independent work occurred.
The server does not spawn agents, run background jobs, persist queues or independently authenticate evidence.
Reports remain incomplete unless the required coverage and verification gates pass.
Important resource limits include a 15-second GitHub API timeout, a 5 MB response-body cap, up to 500 returned tree entries, a 300 KB individual-file limit and 100,000 characters of source text per review operation. Truncated or rejected inputs must not be treated as fully reviewed.
Development and contribution
npm ci
npm run typecheck
npm test
npm run buildSee CONTRIBUTING.md, SECURITY.md, CHANGELOG.md and RELEASE_CHECKLIST.md.
Licence
Project code: GNU Affero General Public License v3.0 or later. See LICENSE.
Third-party upstream material: see ATTRIBUTIONS.md and the preserved notices in vendor/cloudflare-security-audit-skill/.
Available Tools
14 toolsaudit_coverage_validateC
Phase 2: validate that every in-scope path has exactly one coverage-ledger entry.
Inputs: ledger (required), scope_paths (required).
audit_findings_validateB
Phase 4: validate finding structure, evidence fields and unique fingerprints. Needs-validation records cannot carry severity.
Inputs: findings (required).
audit_independent_verifyB
Phase 5: compare findings against separately supplied reviewer checks. This tool does not spawn reviewers or claim independence by itself.
Inputs: checks (required), findings (required).
audit_reconnaissanceC
Phase 1: map repository metadata and paths, classify files, and create an initial not-yet-reviewed inventory.
Inputs: repository (required), ref.
audit_report_generateC
Phase 6: validate coverage and separate reviewer checks, then generate target-neutral Markdown reports.
Inputs: scope (required), findings (required), repository (required), scope_paths (required), +4 more.
cloudflare_coverage_ledger_validateC
Validate a canonical coverage-ledger.json document with Cloudflare Security Audit Skill's upstream validator.
Inputs: ledger (required).
cloudflare_findings_validateC
Validate findings.json against Cloudflare Security Audit Skill's upstream report-schema.json and semantic checks.
Inputs: findings (required).
cloudflare_hunter_results_consolidateB
Cloudflare Skill Phase 2 parent-side consolidator: validate structured hunter unit results, ownership, source/local checks and parent-promoted artifact paths, then update only assigned ledger units. Does not execute targets or promote artifacts.
Inputs: ledger (required), results (required), assigned_coverage_ids (required), promoted_artifacts.
cloudflare_hunting_wave_prepareA
Cloudflare Skill Phase 2 parent-side planner: validate a canonical ledger, rank planned units deterministically, assign a bounded wave, and explicitly defer untouched units. Does not spawn hunters.
Inputs: ledger (required), max_hunters (required), changed_paths, prior_gap_ids.
cloudflare_reconnaissance_prepareB
Cloudflare Skill Phase 1 adapter: synthesize four caller-supplied read-only scout reports into run-metadata.json, architecture.md, and a canonical coverage-ledger.json validated by the upstream validator. Does not spawn agents or execute target code.
Inputs: run_id (required), target (required), repository (required), source_ref (required), +7 more.
repository_inspectB
Read GitHub repository metadata. Read-only; no code is executed.
Inputs: repository (required).
repository_read_fileB
Read one bounded text file from a GitHub repository. No code is executed.
Inputs: path (required), repository (required), ref.
repository_treeC
List bounded repository paths from GitHub's Git tree API.
Inputs: repository (required), ref.
source_security_reviewB
Phase 2/3: generate heuristic source-review candidates. Results are leads only and never confirmed automatically.
Inputs: source (required), filename.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Several tools have overlapping or near-duplicate purposes: cloudflare_coverage_ledger_validate vs. audit_coverage_validate, and cloudflare_findings_validate vs. audit_findings_validate. An agent could easily pick the wrong validator or confuse the Cloudflare-specific adapter with the generic audit phase tool, even though descriptions provide some distinction.
Most names follow a verb_noun or resource_action pattern, but the set mixes four prefix families: cloudflare_, audit_, repository_, and a standalone source_security_review. The naming is readable but not predictable across the whole server.
Fourteen tools is reasonable for a multi-phase security audit workflow spanning reconnaissance, validation, review, verification, and reporting. The count is slightly inflated by parallel Cloudflare-specific and generic audit validators.
The surface covers the audit lifecycle from repository reconnaissance through findings validation, independent verification, and report generation. Minor gaps exist around remediation or code-diff inspection, but core workflows are covered.
Related MCP Connectors
Audit GitHub repos for malicious and supply-chain code before you depend on them.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
GitHub security scanning, code audit, and workflow automation for repositories.
security code review for GitHub that proves each exploit before it reports
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceScans GitHub repositories for security vulnerabilities by cloning, performing static analysis, secret detection, build verification, and AI-powered OWASP-aligned code review, producing a scored SECURITY.md report.-
- FlicenseNot gradedqualityDmaintenanceAutomated security audit assistant for GitHub repositories that detects static vulnerabilities (leaked credentials, vulnerable dependencies, bad Docker practices, excessive GitHub Actions permissions), calculates a security score, and provides risk explanations and mitigation recommendations via Cohere.-

repo-doctorofficial
AlicenseNot gradedqualityDmaintenanceMCP server that produces scored, evidence-cited audits of public GitHub repos via tools for fetching metadata, reading files, scanning git history, and checking hygiene.MIT- AlicenseNot gradedqualityCmaintenanceEnables auditing public GitHub repositories over MCP Streamable HTTP, including classifying URLs, cloning repositories, scanning manifests, CI workflows, and credential signals, and producing findings, file trees, summaries, and PDF reports.MIT