secret-scanner
Scan configs, files, or text for leaked secrets and obvious misconfigurations. Nothing stored.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"secret-scanner": {
"url": "https://mcp.knurl.tools/mcp"
}
}
}远程端点
https://mcp.knurl.tools/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢scan_for_secrets(text, files)
Scan a pasted config, file, code snippet, or blob for exposed credentials and obvious security misconfigurations. Use whenever a user shares a .env, docker-compose.yml, nginx.conf, JSON/YAML config, or any text and asks "is this safe to share/commit?", "any leaked API keys/secrets?", or "what's misconfigured?". Detects cloud credentials, Stripe/GitHub/GitLab tokens, OpenAI/Anthropic/Gemini/Hugging Face/Groq/Replicate keys, private-key blocks, JWTs, DB connection strings, plus misconfigs like debug-on, 0.0.0.0 binds, disabled TLS verification, privileged containers, and weak passwords. Deterministic. It analyzes the provided text and returns findings only — it never stores, transmits, or requires any live credential.
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "A single blob to scan."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Filename or path (e.g. \".env\")."
},
"content": {
"type": "string",
"description": "Raw text content of the file."
}
},
"required": [
"name",
"content"
],
"additionalProperties": false
},
"description": "Multiple named files to scan."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据