mcp-safeguard

SyedAnas01/mcp-safeguard
โ˜… 3 stars Python AI/LLM Updated today
๐Ÿ›ก๏ธ Automated security scanner for MCP (Model Context Protocol) servers โ€” 55 rules for prompt injection, credential exposure, SSRF & tool poisoning. pip install mcp-safeguard
View on GitHub โ†’ Try with Claude โ€” $10 free โ†’

Quick Install

Copy the config for your editor. Some servers may need additional setup โ€” check the README.

Add to claude_desktop_config.json:

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

Or install with pip: pip install mcp-safeguard

README Excerpt

<div align="center"> **The security scanner for MCP servers.** Detect prompt injection ยท credential leaks ยท exposed endpoints ยท tool poisoning ```bash pip install mcp-safeguard mcp-safeguard scan your-config.json ``` </div> --- ```bash pip install mcp-safeguard git clone https://github.com/SyedAnas01/mcp-safeguard && cd mcp-safeguard

Tools (7)

check_auth_configcheck_endpoint_exposurecompare_scansgenerate_security_reportget_scan_historyscan_mcp_serverscan_tool_definitions

Topics

agentic-aiai-securityclaudeclicursorcybersecuritydevopsllmllm-securitymcpmodel-context-protocolopenaiprompt-injectionpythonsast