runbooks inventory validate-mcpΒΆ
Auto-generated from
runbooks inventory validate-mcp --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks inventory validate-mcp [OPTIONS]
MCP cross-validation framework for data accuracy (β₯99.5% target).
π 4-WAYS VALIDATION WORKFLOW
βββ Phase 1: MCP Discover
β βββ Query awslabs.core-mcp for resource counts
βββ Phase 2: Forward Validation
β βββ Runbooks CLI β MCP (verify runbooks outputs)
βββ Phase 3: Backward Validation
β βββ MCP β Runbooks CLI (verify MCP consistency)
βββ Phase 4: Ground Truth Validation
βββ Direct AWS API calls for final verification
β
ACCURACY TARGETS
β’ Overall: β₯99.5% agreement across all phases
β’ Per-phase status: Phase 1 LIVE, Phase 2 DEFERRED, Phase 3 DEFERRED, Phase 4 LIVE
β’ Validation modes: MCP servers + Direct AWS APIs
π― STATUS
β’ Framework: src/runbooks/inventory/mcp_validator.py
β’ Phase 1 (count): LIVE β uses Resource Explorer real data
β’ Phase 2 (cost): DEFERRED β MCP cost server not connected
β’ Phase 3 (consistency): DEFERRED β MCP inventory server not connected
β’ Phase 4 (ground truth): LIVE β Direct AWS API validation
Examples:
# Validate EC2 inventory
runbooks inventory validate-mcp --resource-type ec2 --profile CENTRALISED_OPS_PROFILE
# Validate Lambda with custom threshold runbooks inventory validate-
mcp --resource-type lambda --threshold 95.0
# Validate VPC with larger sample runbooks inventory validate-mcp
--resource-type vpc --sample-size 20 --output /tmp/vpc-validation.json
π MCP validation ensures β₯99.5% accuracy across inventory discovery
workflows
Options:
--resource-type TEXT AWS resource type to validate (e.g., ec2, lambda,
vpc) [required]
--profile TEXT AWS profile for validation operations
--output PATH Path to save JSON validation results
--sample-size INTEGER Number of resources for ground truth sampling
--threshold FLOAT Minimum accuracy threshold (default: 99.5%)
--help Show this message and exit.