MCP Security Audit is a security auditor provided as a CLI tool and as an MCP server for auditing other MCP servers.

MCP Security Audit is a security auditor provided as a CLI tool and as an MCP server for auditing other MCP servers.

mcp-security-audit-luciferforge•byluciferforge

Provides a security audit server that lets AI assistants scan MCP servers for injection patterns, classify tool risk, and produce a scored 0-100 report.

License: Not specified•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Exposes four MCP tools for auditing: full audit scan, quick scan, tool risk classification, and text injection checking.
  • •Classifies each tool as SHELL, FILE, DATABASE, NETWORK, or SAFE and scans tool and prompt descriptions for injection patterns.
  • •Scores audits starting from 100 with severity deductions and letter grades from A to F.
  • •Flags sensitive resource paths, high-risk tool ratios, undocumented tools, and large attack surfaces.

BEST FOR

  • •Having an AI assistant audit other MCP servers for injection and tool-risk issues.
  • •Checking a single tool's risk level or scanning text for injection patterns.
  • •Running security audits with live injection tests against string-parameter tools.

ABOUT MCP-SECURITY-AUDIT-LUCIFERFORGE

MCP Security Audit is a security auditor provided as a CLI tool and as an MCP server for auditing other MCP servers. is cataloged as an MCP server attributed to luciferforge. Provides a security audit server that lets AI assistants scan MCP servers for injection patterns, classify tool risk, and produce a scored 0-100 report. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Security Audit is a security auditor provided as a CLI tool and as an MCP server for auditing other MCP servers. are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

Upstream README

View this exact version on GitHub

README.md · 7e023ca8270c · Fetched 2026-11-13 12:47:09 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-security-audit

PyPI version License: MIT Python 3.10+

Security auditor for MCP servers. Connects to any MCP server, enumerates its tools/resources/prompts, scans for injection patterns, classifies risk levels, and produces a scored report (0-100, grades A-F).

Works as a CLI tool (mcp-audit) or as an MCP server itself (mcp-security-audit).

Why it matters: there are now 16,000+ MCP servers in the public ecosystem — and almost none have been security-audited. Each one runs with tool access to a shell, filesystem, or network, and a single injection-laden tool description can hijack the agent that loads it. This finds the holes before an attacker does.

Want a professional audit report? We found 20 vulnerabilities in Microsoft's MCP servers. Get the same analysis for your server — $29 single audit.


Install

pip install mcp-security-audit

CLI Usage

Text report

mcp-audit scan --server "python -m my_mcp_server"

JSON report

mcp-audit scan-json --server "python -m my_mcp_server" --output report.json

With live injection tests

mcp-audit scan --server "python -m my_mcp_server" --live-tests

CI/CD

Exit code 0 for grade A/B, 1 for C/D/F:

mcp-audit scan --server "uvx some-server" || echo "Security audit failed"

MCP Server Mode

Use as an MCP server so AI assistants can audit other servers:

Claude Code

claude mcp add mcp-security-audit -- uvx mcp-security-audit

Manual

{
  "mcpServers": {
    "mcp-security-audit": {
      "command": "uvx",
      "args": ["mcp-security-audit"]
    }
  }
}

Tools exposed

ToolWhat it does
audit_scanFull security audit with text report
audit_quick_scanQuick scan — score, grade, top findings
audit_classifyClassify a single tool's risk level
audit_check_textScan text for injection patterns

What It Checks

  1. Tool risk classification — categorizes every tool as SHELL / FILE / DATABASE / NETWORK / SAFE
  2. Injection pattern scanning — scans tool and prompt descriptions for 75 injection patterns across 9 categories
  3. Resource URI analysis — flags sensitive paths (.env, .ssh, credentials, etc.)
  4. High-risk ratio — warns if >50% of tools are FILE or SHELL level
  5. Undocumented tools — flags tools missing descriptions
  6. Attack surface — warns on 20+ tools (large) or 50+ (very large)
  7. Live injection tests (opt-in) — sends payloads to string-parameter tools

Scoring

Starts at 100, deducts per finding:

SeverityDeduction
CRITICAL-25
HIGH-15
MEDIUM-8
LOW-3

Bonus: +1 per documented tool (max +5).

Grades: A (90+), B (75+), C (60+), D (40+), F (<40)


Example Output

============================================================
  MCP SECURITY AUDIT REPORT
============================================================

  Server:  python -m agent_safety_mcp.server
  Tools:   13
  Score:   92/100  (Grade A)

------------------------------------------------------------
  TOOL CLASSIFICATION
------------------------------------------------------------
  Tool                           Risk       Matched
  cost_guard_configure           SAFE       -
  cost_guard_status              SAFE       -
  injection_scan                 SAFE       -
  trace_save                     FILE       !!save, file
  ...

Dependencies

  • mcp — MCP protocol SDK
  • ai-injection-guard — 75 prompt injection detection patterns across 9 categories

Part of the LuciferForge AI Agent Infrastructure Stack.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Security Audit is a security auditor provided as a CLI tool and as an MCP server for auditing other MCP servers. from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-security-audit-luciferforge)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets