1 v0.5.1 更新于 2026-10-30
threat-rules MCP Server
GuardBee MCP bridge to Agent Threat Rules (ATR) for runtime agent/MCP threat detection
适用客户端
本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端
安装配置
本地运行(npm)
{
"mcpServers": {
"threat-rules": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-threat-rules"
]
}
}
}将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。
提供的工具 接入后 Agent 可调用这 8 个工具
owasp_scan_path
对文件系统路径运行统一的 OWASP MCP Top 10 扫描,编排多个审计器并返回 A–F 评级
owasp_scan_live
连接实时 MCP 服务器(stdio 或 HTTP),调用 tools/list 并对 toxic-flow 和 tool-poisoning(MCP03/MCP10)评分
owasp_scan_catalog
审计 tools/list JSON 转储中的 toxic flows 和工具描述投毒(MCP03/MCP10)
list_owasp_coverage
列出 OWASP MCP Top 10 类别及本元扫描中 GuardBee 各扫描器对其的覆盖情况
scan_text
扫描 Agent2Agent (A2A) 协议实现代码中的反模式(如 webhook SSRF、无鉴权处理器、Agent Card 中硬编码凭据)
scan_file
扫描单个文件中的 A2A 协议反模式
scan_directory
递归扫描 A2A agent 源码目录以查找协议反模式
list_patterns
按类别列出该审计器检测到的所有 A2A 协议模式