Preflight governance tool for MCP servers and registries.
mcp-guard is a CLI governance tool, not an MCP server. The 5 tools are defined in apps/cli/src/index.ts but lack proper MCP registration. Tool names use compound verbs ('registry lint', 'install scan') rather than verb_noun convention. Descriptions are present but generic (34-72 chars, below the 50-200 char LLM-optimized baseline). Input schemas are visible and typed, but output schemas are completely undocumented. No error handling guidance, no parameter validation rules, no security considerations. The codebase shows a monorepo structure with checks, policy-engine, and reporters packages, but the actual tool implementations are not visible in the provided source, only CLI argument parsing. This makes it impossible to verify actual behavior, error handling, or output structure.
Validate transport and auth configuration risks
Compare before/after metadata snapshots
Compare identity metadata across inputs
Parse local install profile and detect obvious risky patterns
Validate registry metadata endpoint and baseline requirements
Tool names violate verb_noun convention. 'registry lint', 'install scan', 'identity check' use compound verbs instead of clear action verbs (lint_registry, scan_install, check_identity). LLMs struggle to parse intent from multi-word names.
Output schemas completely undocumented. No visible return type definitions for any tool. LLMs cannot plan downstream calls or extract required fields without knowing what each tool returns.
Descriptions are generic and under 50 characters (baseline: 50-200 chars for LLM optimization). E.g., 'Validate registry metadata endpoint and baseline requirements' (72 chars) lacks context on WHEN to use this vs other tools or WHAT the output contains.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
No error handling guidance. Tools return CheckResult/Report types (inferred from imports) but no documentation on error codes, recovery steps, or how LLMs should interpret failures.
Tool implementations not visible in provided source. Only CLI argument parsing shown; actual check functions (runAuthCheck, runDiffCheck, etc.) are imported from @mcp-guard/checks but not defined. Cannot verify parameter validation, output structure, or error handling.