Agent Graph Auditor
MCP server that builds a reachability graph across multi-agent orchestration configs (LangGraph, CrewAI, AutoGen/ag2) to find transitive excessive agency — an agent with no dangerous tool of its own that can still reach one through delegation or group membership

@guardbee/mcp-agent-graph-auditor does not stop at one agent’s tool list — it builds a reachability graph across multi-agent orchestration. An agent with no dangerous tool of its own that can still reach a shell tool via delegation or group membership is reported as critical.
What does it do?
It extracts agent/tool edges from LangGraph (structural add_node/add_edge), CrewAI (allow_delegation), and AutoGen/ag2 (GroupChat, register_function); classifies tools with a capability catalog; and BFS-finds both direct and transitive excessive agency.
Who is it for?
- Multi-agent teams on LangGraph, CrewAI, or AutoGen
- DevSecOps auditing agent orchestration on every PR
- Developers who want this check inside Claude or Cursor
What it is not
- A single MCP server’s tool definitions (use Server Auditor)
- Cross-file Python reference resolution (single-file scope)
- JS/TS LangGraph APIs (v1 is Python-only)
Features
| Feature | Description |
|---|---|
| 3 frameworks | LangGraph structural; CrewAI/AutoGen heuristic |
| Direct vs transitive | Delegation-crossing paths always critical |
| 7 capability rules | code/process/fs-write/network/credentials |
| SARIF 2.1.0 | CI/CD |
| guardbee.yml | fail-on, max-files, exclude |
MCP tools
| Tool | Description |
|---|---|
scan_text | Scan a Python snippet |
scan_file | Scan a single .py file |
scan_directory | Scan an agents source directory |
list_patterns | List the capability catalog |
Install with npm
Global install (handy for Claude Desktop / Cursor):
<code class="language-bash">npm install -g @guardbee/mcp-agent-graph-auditor</code>or via npx (recommended with -y in config):
<code class="language-bash">npx -y @guardbee/mcp-agent-graph-auditor</code>npm: @guardbee/mcp-agent-graph-auditor
<code class="language-bash">npx @guardbee/mcp-agent-graph-auditor scan ./agents --fail-on=high --format=sarif > results.sarif</code>Opt out of telemetry with GUARDBEE_TELEMETRY=0.
Claude Desktop configuration
Config file paths:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Merge this block, then restart Claude Desktop:
<code class="language-json">{
"mcpServers": {
"guardbee-agent-graph-auditor": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-agent-graph-auditor"
]
}
}
}</code>Cursor and other MCP clients
In Cursor, add the same command / args / env under Settings → MCP. stdio MCP servers use the same contract as Claude Desktop.
Example prompts in Claude
- “Is there transitive excessive agency in this agents folder?”
- “Can the CrewAI researcher reach a shell tool?”
- “Which capability rules do you support?”
Frequently asked questions
Vs AI Code Scanner?+
AI Code Scanner looks at one agent/tool list; Agent Graph Auditor graphs delegation hops.
CrewAI false positives?+
Heuristic — allow_delegation + shared Crew membership is a conservative assumption; review findings.
API key?+
No — local Python source scanning.
More in this category
@guardbee/mcp-a2a-auditor
A2A Auditor
MCP server that scans Agent2Agent (A2A) protocol implementation code for anti-patterns found in the reference SDKs and sample agents: unauthenticated push-notification webhook fetches (SSRF), Agent Cards with no authentication requirement, and credentials embedded in publicly-served Agent Card metadata
Learn more@guardbee/mcp-audit-gap-auditor
Audit Gap Auditor
MCP server that audits MCP server source for OWASP MCP08:2025 (Lack of Audit and Telemetry) — missing tool-call logging, raw args/results in logs, disabled audit sinks, and tool errors swallowed without a record
Learn more@guardbee/mcp-context-oversharing-auditor
Context Oversharing Auditor
MCP server that audits agent/MCP source for OWASP MCP10:2025 context oversharing — unrestricted session/memory dumps, cross-user shared context, system-prompt leakage via tools, and unscoped vector recalls
Learn more@guardbee/mcp-elicitation-auditor
Elicitation Auditor
MCP server that scans MCP server code for elicitation anti-patterns in the 2026-07-28 spec: form mode asking for secrets, URL mode pointed straight at a third-party authorize endpoint, and credentials or PII embedded in the elicitation URL
Learn more@guardbee/mcp-config-auditor
MCP Config Auditor
MCP config auditor for Cursor, Claude Desktop, Windsurf and VS Code: unpinned packages, secrets, auto-approve wildcards, typosquats, shadow MCP servers and agent skills
Learn more@guardbee/mcp-server-auditor
MCP Server Auditor
MCP server that audits other MCP servers' tool definitions for insecure patterns — excessive-agency tool names, shell/eval/SQL/SSRF sinks fed by raw tool input, overly permissive schemas, hardcoded secrets, and wildcard CORS
Learn more
See your security posture in minutes
Add your domain, run a read-only scan and get a prioritised list of fixes. No installation required.