Skip to content
secure-mcp
Esc
navigateopen⌘Jpreview

Defensive security review for coding agents

Find the weaknesses.
Fix the right ones.

secure-mcp inventories your repository, detects its stack, and turns likely weaknesses into structured, remediation-focused findings — without ever executing your code.

Open source under Apache-2.0. Local by design, with no telemetry.

  • Read-only tools — never executes your code
  • Runs locally over stdio — no network
  • Remediation-first — no exploit guidance

See it in action

One server, four honest outputs.

Real tool output from a live audit of the bundled fixture app, shown the way it appears when pi expands a secure-mcp tool call — inventory, guidance, findings, and the final report.

  • InventoryA bounded scan: stacks, paths, caps — and exactly what was covered.
  • GuidanceStack-aware checklists on demand — five packs, eight items, fixes included.
  • FindingsA structured finding — severity, confidence, redacted evidence, remediation.
  • ReportThe final remediation report — priorities first, verification with every fix.

What you get

Everything a serious review needs, in one local server.

Built for the practical moments — scoping the work, guiding the agent, and handing a fix plan to a human.

  • Bounded

    Reviews that stay in scope

    File, depth, and size caps with structured coverage — scans are finite, and what was not covered is said out loud.

  • Stack-aware

    Guidance for your actual stack

    Knowledge packs for TypeScript, Next.js, Swift, and Expo load only what the detected stack needs — never a generic checklist dump.

  • Structured

    Findings built to act on

    Every finding carries evidence, severity and confidence, category and CWE, remediation, residual risk, and a verification step.

  • Honest

    Coverage you can trust

    “Not observed” never means “not scanned”: coverage records reviewed, ignored, excluded, and truncated scope, and candidates stay unconfirmed until proven.

  • Portable

    Works in every agent

    A plain stdio MCP server — the same tools connect to Claude, Codex, Cursor, pi, and any MCP client.

  • Remediation-first

    Defensive, by mandate

    Findings recommend rotation, hardening, and verification. No exploit guidance, no attack code, no misuse of discovered secrets.

Finding clarity

Structured underneath. Actionable on top.

Every finding carries the fields a developer needs to act — and the honesty to say what is not yet proven.

  • Severity and confidence on every finding
  • CWE classification with stable instance IDs
  • Evidence redacted where sensitive
  • Remediation with a verification step

Built in public

Security tooling should be inspectable.

The implementation, tests, review methodology, and contribution process are open for scrutiny and improvement.

  • Inspect every boundary

    Read the filesystem containment, redaction, tool schemas, knowledge packs, and tests in the public repository.

    Browse the source
  • Shape the roadmap

    Report false positives, propose stack coverage, and bring real defensive-review workflows to the issue tracker.

    Open an issue
  • Contribute safely

    Add tests, detectors, and remediation guidance while preserving the read-only and evidence-first trust model.

    Read the contributor guide

Apache-2.0

Free to use. Open to improve.

Use, modify, and distribute secure-mcp under a permissive license with an explicit patent grant.

secure-mcp

$0

All nine tools, stack-aware packs, and remediation reports.

  • Nine tools in one server: inventory, architecture, packs, guidance, and category reviews
  • Stack-aware knowledge packs for TypeScript, Next.js, Swift, and Expo
  • Structured findings with remediation and verification steps
  • Runs locally — read-only, no network, no telemetry
Get the source

Apache-2.0 terms apply. Contributions are welcome.

FAQ

Common questions, straight answers.

Short answers about what the server does — and what it deliberately does not do.

What is secure-mcp?

A local MCP server that gives coding agents a structured, defensive toolkit for code review: bounded inventory, stack-aware guidance, category checks, and a final remediation report — all over stdio, on your machine.

Does it run my code?

No. Every tool is read-only: files under the project root are read within size and count caps, and project code, build scripts, and binaries are never executed.

Does my code leave my machine?

No. secure-mcp is a local process with no network calls. Logs go to stderr only, stdout stays reserved for MCP messages, and filesystem tools are limited to explicitly allowed roots.

Which stacks does it support?

In v1: TypeScript and Next.js (App Router, Server Actions, middleware) and Swift and SwiftUI, with Expo and React Native detection. More surfaces are planned.

Is this an offensive tool?

No. It is remediation-focused by mandate: findings recommend rotation, hardening, and verification — never exploit guidance or attack code.

Looking for something specific? Browse the Getting Started guide. Or read the full documentation.

Local by default

Your code never leaves your machine.

secure-mcp runs entirely on your machine: read-only tools, stdio transport, no network, no telemetry — and findings that tell you what to fix and how to verify it.