MCP server CI gate

MCP Server CI Gate

A CI gate keeps catalog growth visible before it reaches production agents and silently increases cost.

Open scanner preview

Operating steps

  1. Run a budget scan on the proposed tools/list or server-card output.
  2. Compare total eager tokens, schema tokens, and trace replay accuracy against policy.
  3. Fail the build with a clear fix prompt when thresholds are exceeded.
  4. Attach the budget diff to the pull request.

Common risks

  • CI needs stable sample traces to avoid noisy failures.
  • Temporary budget exceptions should expire automatically.
  • Gate results should include enough detail for developers to fix the schema.