
Secrets Audit Mcp
This is a lightweight secret scanner that runs as an MCP stdio server, exposing three tools: scan inline text, scan a single file, or scan an entire directory recursively. It detects 32+ credential patterns including AWS keys, GitHub tokens, Stripe secrets, OpenAI and Anthropic API keys, private PEM blocks, and Ethereum wallet keys. Every match gets redacted before returning to the LLM, so your agent gets a risk score and line numbers without leaking the actual secret downstream. It's a 500-line Python file with zero dependencies, purpose-built for agent-driven code review, pre-commit checks, or auditing repos before you clone them into your shell. Ships alongside a sister project for behavioral malware patterns if you want full static coverage.
- tools
- 3
- transport
- STDIO
- last updated
- Jun 7, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
scanScan inline text/content
Scan inline text/content
No parameter schema in public metadata yet.
scan_fileScan a single file
Scan a single file
No parameter schema in public metadata yet.
scan_directoryScan a directory recursively (skips .git, node_modules, __pycache__, etc.)
Scan a directory recursively (skips .git, node_modules, __pycache__, etc.)
No parameter schema in public metadata yet.
Sponsors
Readme
secrets-audit-mcp
MCP server that detects leaked credentials in source code. Zero dependencies. Single file.
Detects API keys, OAuth tokens, private keys, webhooks, and crypto wallet secrets across 30+ providers (AWS, GCP, GitHub, Stripe, OpenAI, Anthropic, Slack, Discord, Telegram, Twilio, SendGrid, Heroku, DigitalOcean, npm, HuggingFace, Replicate, Cloudflare, and more).
Companion to skill-audit-mcp (behavioral patterns) — together they cover secrets + behaviors in one MCP toolchain.
Details
- Repository
- github.com/eltociear/secrets-audit-mcp
- Categories
- AI & LLM Tools, Cloud & Infrastructure, Developer Tools, Finance & Commerce
- Package
ghcr.io/eltociear/secrets-audit-mcp:1.0.1- Transport
- STDIO
- Registry
- MCP registry, active