← All MCP Servers

mcp-audit MCP for static source screening

Scan local MCP code and tool definitions for potentially dangerous patterns without executing them.

Overview

mcp-audit provides static screening of MCP-server source code and JSON tool descriptions. Its rules look for patterns such as command execution, unsafe deserialization, sensitive-environment access and instruction-like content hidden in tool descriptions. The repository contains both a command-line scanner and an MCP interface over the same scanning implementation. An agent can submit a local target path and receive structured findings with file locations, rule names and severity levels. The project explicitly describes this as an initial screening step. Static patterns can produce false positives and miss dynamically constructed behavior, so a scan result is evidence for further inspection rather than a security certification.

Getting started

Follow the repository’s local Python MCP-server setup and configure the scanner process in a stdio-capable client. Use only source paths intended for inspection.

Compatibility and requirements

Local stdio MCP, with a separately documented optional local HTTP mode.

Things to know

The scanner does not execute the target code. It cannot fully assess runtime behavior, and a clean report does not prove a server is safe. No third-party code was installed or scanned during this editorial review.

Frequently asked questions

What do I need before connecting?

Follow the repository’s local Python MCP-server setup and configure the scanner process in a stdio-capable client. Use only source paths intended for inspection.

Which connection route is documented?

Local stdio MCP, with a separately documented optional local HTTP mode.

Sources and documentation

Browse the agent skills directory