Skip to content

cxg changelog

Version 1.1.1

Added

MCP Server (Model Context Protocol)

  • 12-tool MCP server for AI agent integration via cxg mcp (there is no serve subcommand — the server is the bare cxg mcp invocation)
    • cxg_search, cxg_template_list, cxg_template_info, cxg_scan
    • cxg_template_validate, cxg_template_create, cxg_template_write
    • cxg_template_get_notes, cxg_ai_generate, cxg_template_test
    • cxg_template_stats, cxg_template_update
  • cxg mcp install — auto-configure 6 AI coding agents (Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Zed), matching src/mcp/installer.rs

AI Template Generation

  • cxg ai generate — natural-language to template generation (dual-mode: scaffold or full)
  • Multi-provider support: Ollama (local-first default), OpenAI, Anthropic, DeepSeek
  • --api-key flag for session-only cloud provider authentication

Parameterised Template Metadata

  • 5 new metadata fields on the template struct: context_vars, vuln_class, hypothesis_tags, batch_group, auto_probe (an earlier revision of this entry listed confidence, execution_mode, and pipeline_stage, which do not exist)
  • @field: annotation parsing across all 12 supported languages
  • context and batch_group parameters added to the cxg_scan MCP tool

Template CLI Extensions

  • cxg template search — search templates by query, language, severity, or tags
  • cxg template pwd — display template directory paths with existence status
  • cxg template skeleton — view scaffold template for any supported language
  • cxg template add — copy a local template file into the user template directory

Fixed

  • Auto-migrate official template repository URL on org rename (BugB-TechBugb-Technologies)
  • Detect remote URL drift during cxg template update and re-clone when necessary
  • cargo fmt formatting in skeleton template error path

Changed

  • Template library and MCP server template metadata refreshed. (An earlier revision of this entry cited specific template counts — 58 and 147 — that did not correspond to any shipped template population; templates are maintained in the separate cert-x-gen-templates repository, so no count is stated here.)