mcp2agy

Model Context Protocol · 多智能体 0day 研究与审计流水线
mcp2agy 是一款面向 Google Antigravity (AGY) 生态系统的 MCP 原生多智能体安全审计引擎。它协调专业子智能体覆盖完整的 0day 研究生命周期:静态 AST 污点分析、7 类混杂因素消除、确定性 PoC 验证(≤60 秒触发)、多链利用综合、可发布的安全报告以及原子化代码修复。
核心能力(v3.1.0 弹性架构)
严格路径安全与目录隔离:通过
assertSafePath()验证所有路径,防止根目录逃逸、路径遍历(..)和符号链接攻击。直接对象工具接口:MCP 工具直接接受原生 JavaScript 对象和数组,消除 JSON 字符串转义错误和处理程序解析崩溃。
自动化运行产物与紧凑摘要:将所有重型产物(
candidates.json、verified_findings.json、exploit_chains.json、report.md、fixes.diff)保存到mcp2agy_workspace/runs/<runId>/,返回简洁的执行摘要以防止 LLM 上下文爆炸。置信度校准扫描与噪声抑制:将候选发现分类为
high、medium和low置信度,同时自动忽略构建/测试噪声(node_modules、dist、tests/、fixtures/)。严格验证器门控:在确认发现之前强制执行正式可达性检查和混杂因素清除,防止误报向下游传播。
弹性阶段推进:跨 5 个不同阶段跟踪流水线执行,具有每个候选的错误隔离和详细的
pipeline_state.json日志。上下文感知修复生成:补丁直接从实际文件代码片段和已验证的候选行范围生成,并与已知调用点交叉检查。
Related MCP server: zeroforge
架构与智能体流水线
┌────────────────────────────────────────┐
│ Master Audit Orchestrator │
│ (/audit) │
└───────────────────┬────────────────────┘
│
┌──────────────────┬─────────────────┴──────────────┬──────────────────┐
│ Phase 1: SCAN │ Phase 2: VERIFY │ Phase 2.5: CHAIN │ Phase 3: REPORT & FIX
▼ ▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Scanner │──►│ Verifier │───────────────►│ Chainer │──►│ Reporter & │
│ Subagent │ │ (Parallel) │ │ Synthesis │ │ Fixer Agents │
└──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘
│ │ │ │
[Gate 1: AST] [Gate 2: PoC] [Compound CVSS] [Gate 4: Diff][+] 核心子智能体与模块
子智能体 | 角色标识符 | 主要职责 | 输入 | 输出 |
编排器 |
| 工作流管理、门控检查、智能体委派 | 目标目录 |
|
扫描器 |
| 静态 AST 分诊、危险 sink 搜索、候选生成 | 物理源文件 |
|
验证器 |
| 7 类混杂因素清除、可达性追踪、MTS PoC |
|
|
链式器 |
| 多原语关联、复合 CVSS 校准 |
|
|
报告器 |
| 可发布的安全公告(模式 A/B/C)、根因分解 |
|
|
修复器 |
| 16 个 CWE 基础补丁、多站点调用点修复、单元测试 |
|
|
斜杠命令矩阵
命令 | 子系统 | 描述 | 示例用法 |
|
| 编排 扫描器 → 验证器 → 链式器 → 报告器 → 修复器 |
|
|
| 静态 0day AST 分析,生成规范化候选记录 |
|
|
| 严格 PoC 验证(≤60 秒复现器)与 CVSS 校准 |
|
|
| 编写模式 A 内部报告与模式 B GHSA 公告 |
|
|
| 生成最小原子补丁( |
|
|
| 检查活动子智能体、主机操作系统上下文和工作区清单 |
|
|
| 交互式文档中心和综合工具指南 |
|
|
| 并发 OSINT、端口扫描和云资产映射 |
|
|
| Pwntools ROP 生成、Web 载荷武器化 |
|
|
| 静态反编译(Ghidra)、动态 Frida 挂钩 |
|
|
| AFL++/LibFuzzer 框架生成、自定义扫描器、Sigma 规则 |
|
|
| 自主多类别挑战求解(pwn、rev、web、crypto) |
|
|
| 启动同步多智能体攻击网格 |
|
原生 MCP 工具 — 15 个工具
┌──────────────────────────────────────────────────────────────────────────────────┐
│ Native MCP Tools (15 Tools) │
├──────────────────────┬──────────────────────────┬────────────────────────────────┤
│ Target Profiling │ Static Analysis │ Verification & PoC │
│ • detect_platform │ • analyze_code │ • check_reachability │
│ • profile_target │ • scan_file │ • verify_finding │
│ │ • get_patterns │ • generate_poc │
│ │ │ • calculate_cvss │
├──────────────────────┼──────────────────────────┼────────────────────────────────┤
│ Exploit Chaining │ Remediation & Fix │ End-to-End Automation │
│ • chain_findings │ • generate_fix │ • audit_pipeline │
│ • generate_report │ • check_fix_completeness │ │
│ │ • list_fix_templates │ │
└──────────────────────┴──────────────────────────┴────────────────────────────────┘类别 | MCP 工具 | 主要能力 |
目标画像 |
| 检测操作系统环境、文件哈希和代码库拓扑 |
静态分析 |
| AST 数据流分析、危险 sink 检查与分类匹配 |
验证与 PoC |
| 7 类混杂因素清除、确定性 PoC(≤60 秒)、经验 CVSS |
利用链 |
| 多原语利用关联与可发布公告 |
修复与补救 |
| 16 个 CWE 基础补丁、多站点调用点修复、测试生成 |
端到端 |
| 跨所有流水线阶段的自动化编排,带状态持久化 |
工作区目录结构
所有持久化输出、候选记录、证据包和补丁均位于 mcp2agy_workspace/ 中:
mcp2agy_workspace/
├── runs/
│ └── <YYYYMMDD_HHMMSS>/ ← Dedicated per-run execution directory
│ ├── pipeline_state.json ← Orchestrator state & phase progression
│ ├── candidates.json ← Scanner normalized candidates
│ ├── verified_findings.json ← Verifier confirmed findings
│ ├── exploit_chains.json ← Synthesized multi-step exploit chains
│ ├── report.md ← Reporter publication-ready markdown report
│ ├── fixes.diff ← Fixer minimal unified diff
│ ├── evidence/ ← Verifier PoCs & reachability traces
│ │ └── <CAND_ID>/
│ │ ├── reachability.md
│ │ └── mts_poc/ (poc.py, Dockerfile, run.sh)
│ └── regression_tests/ ← Fixer unit test harnesses
├── auditor_zone/
│ └── results/
│ └── <YYYYMMDD_HHMMSS>/ ← Synchronized auditor zone artifacts
├── recon/results/ ← Attack surface maps & OSINT data
├── exploits/pocs/ ← Standalone weaponized exploit scripts
├── reverse/analysis/ ← Decompiled symbols & binary call graphs
├── tools/ ← Custom scanners & fuzzing harnesses
├── ctf/solves/ ← CTF solve scripts & writeups
└── loot/ ← Discovered credentials, keys & tokens防幻觉不变量
所有子智能体在 .agents/plugins/mcp2agy/rules/AGENTS.md 中定义的 10 条严格不变量下运行:
# | 不变量 | 描述 |
01 | 零虚构 | 绝不报告静态代码分析未实际产生的发现。 |
02 | 行数上限 | 绝不引用超出物理文件总行数的行范围。 |
03 | 物理哈希回显 | 每条候选记录必须回显目标文件的物理 SHA-256 哈希。 |
04 | 确定性 PoC | 没有在 ≤60 秒内触发的可执行复现器,绝不将发现标记为 |
05 | 双支路验证 | 多步利用链的两条支路必须独立证明。 |
06 | 7 类混杂因素清除 | 死代码、自动转义、认证门控和严格类型必须被正式评估。 |
07 | 经验 CVSS | 分数扣减需要可复现的技术证据——不允许估算。 |
08 | 单向信息阀 | 下游智能体严格接收规范化事实,以防止确认偏差。 |
09 | 干净的阴性结果 | 如果存在 0 个缺陷,输出 |
10 | 原子最小差异 | 修复差异必须仅触及易受攻击的行,且不引入新的 TOCTOU 竞态。 |
跨平台兼容性
Node.js 生命周期钩子(
hooks.json):消除 shell 脚本依赖——preToolCall日志记录和postFileWrite权限加固通过跨平台 Node.js 执行。权限加固:在 POSIX 系统上强制执行
chmod 600,在 Windows 上执行显式icacls权限剥离(icacls <file> /inheritance:r /grant:r "%USERNAME%:(R,W)")。上下文感知转义:在 PowerShell heredoc 上下文中区分单引号(
_pse)与双引号(_pde)shell 字符串求值。
文档
详细技术文档位于 docs/ 目录中:
文档 | 描述 |
↗ 全局与多目录使用 | 如何全局设置并针对任意目录或仓库运行 |
↗ 架构与协调协议 | 多智能体编排器生命周期、完整性门控与单向信息阀 |
↗ 斜杠命令指南 | 全部 13 个斜杠命令的完整参考与使用示例 |
全部 15 个原生 MCP 工具的详细输入/输出模式与示例 | |
↗ 多链合成引擎 | 跨原语漏洞利用合成、gadget 链与复合 CVSS |
2026+ 0day 漏洞模式、AST grep 特征与根因 | |
目录布局、候选模式、已验证发现与公告格式 | |
Windows NTFS ACL、POSIX 权限、生命周期钩子与 shell 差异 |
mcp2agy · Hyperdope AI · mcp2agy_workspace/
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
FlicenseAqualityFmaintenanceEnables AI agents to orchestrate security research workflows by connecting to containerized security tools via MCP, allowing automated vulnerability analysis and pipeline execution.24803- FlicenseAqualityCmaintenanceBridges Google Antigravity CLI with MCP clients, enabling 13 specialized tools for AI-assisted coding, automation, and security audits.13
- FlicenseNot gradedqualityCmaintenanceEnables local AI agents to generate code and interact with Google Antigravity (Gemini Pro) via MCP, consuming zero API tokens.
Related MCP Connectors
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Security tools for AI agents: scan MCP servers, validate HDP delegation chains, audit releases.
Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/uziii2208/mcp2agy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server