stagedsec-mcp-server
v0.1.0MCP server that lets AI coding agents (Claude Code, Cursor, ...) check content for hardcoded secrets before writing it to disk.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_for_secrets
Scans code or file content for hardcoded secrets (AWS/GCP/GitHub/Stripe/Slack keys, private keys, database URLs, generic passwords/tokens) BEFORE it gets written to disk or committed. CALL THIS BEFORE writing any file that sets environment variables, API credentials, database connection strings, or configuration values with real-looking keys — especially when generating .env files, config files, deployment scripts, or example/test code that includes credential-shaped values. Pass the exact content you are about to write, not a file path (the file may not exist yet). If the result reports sec…
| Parameter | Type | Description |
|---|---|---|
content * | string | The exact file/code content to check, as it would be written to disk. |
filePath | string | Optional. The path the content would be written to — used only to make the response more readable, has no effect on detection. |
includeGenericEntropy | boolean | Optional. Also flag random-looking strings that match no named rule. Off by default because it is noisy. |
minSeverity | string | Optional. Minimum severity to report. Defaults to 'medium'. |