Skip to content

ast-guard v1.1.0 — MCP Server, TRACE Benchmark, FailProofAI Integration

Choose a tag to compare

@Nick-is-building Nick-is-building released this 25 May 23:03
· 148 commits to main since this release
a0ff03a

What's New

MCP Server

  • Integrated Model Context Protocol server directly into ast-guard (ast_guard/mcp_server.py)
  • Two MCP tools: ast_guard_scan and ast_guard_feedback
  • Optional dependency: pip install ast-guard[mcp]
  • Entry point: ast-guard-mcp command
  • 8 dedicated MCP tests

TRACE Benchmark Suite

  • 22 hacked samples across 14 TRACE subcategories
  • 8 clean/benign samples
  • Results: 90.9% detection rate, 100% precision, 0% false positives
  • CLI runner with --json and --verbose options

FailProofAI Integration Proposal

  • Issue #375 with working policy prototype using PreToolUse hook
  • deny() on CRITICAL, instruct() on WARNING, allow() on CLEAN

Codebase

  • Full English translation (code, comments, docstrings, category names)
  • Complete README rewrite with benchmarks, MCP docs, and related work
  • GitHub Actions CI across Python 3.11, 3.12, 3.13
  • 43 tests across all modules