Detect leaked API keys, tokens, passwords, and private keys in text, files, or directories. 40+ regex patterns covering Stripe, GitHub, AWS, Google, OpenAI, and more.
Scan any text for API keys, tokens, passwords, and private keys
Scan a file for leaked secrets with line numbers
Recursively scan directories for secret exposure
Scan git commit history for committed secrets
Replace all detected secrets with [REDACTED]
Configure this MCP server in your AI client (Claude Desktop, Cursor, VS Code + Continue, etc.) and ask:
Describe natural language interactions your AI assistant can use with this server.
git clone https://github.com/Rumblingb/secret-scanner-mcp.git
cd secret-scanner-mcp
pip install -r requirements.txt
python3 server.py