code-guard-ai
Enables automated compliance scanning and validation within CI/CD pipelines.
Allows deployment of the CodeGuard API server to Vercel for production use.
CodeGuard AI — AI Compliance & Code Intelligence System
AI system for auditing, validating, and governing AI-generated code in production environments.
🚨 Problem
AI is writing more code than ever.
But:
Generated code introduces hidden security risks
Compliance (GDPR, AI Act) is often ignored
Teams lack visibility and control
Errors scale faster than traditional review processes
Related MCP server: Iron Cannon
💡 Solution: Triple-Channel Protection
CodeGuard AI analyzes and validates code using a unified architecture that works everywhere:
💻 IDE Extension: Real-time scanning and auto-fixes directly in VS Code & Cursor.
🤖 MCP Server: Give your AI agents (Claude, Cursor) the context they need to follow standards.
🌐 REST API & CLI: Automate compliance in your CI/CD Pipeline (Vercel, GitHub Actions).
⚙️ Core Capabilities
🔍 Detect vulnerabilities and unsafe patterns
🛡 Validate compliance (GDPR, AI Act, security standards)
🧠 Audit AI-generated code before deployment
📊 Provide structured, actionable feedback
🔄 Analyze code changes using diff-based auditing
🌐 REST API
CodeGuard provides a secure REST API for integrating compliance scanning into your applications and workflows.
Quick Start
# 1. Set environment variables
export CODEGUARD_API_KEYS="your-api-key-1,your-api-key-2"
export TRANSPORT_MODE=sse
# 2. Start the API server
npm run start:mcp
# 3. Test the API
curl -X POST http://localhost:3000/api/scan \
-H "x-api-key: your-api-key-1" \
-H "Content-Type: application/json" \
-d '{"region": "BR", "frameworks": ["gdpr", "lgpd"]}'🚀 Deploy to Vercel
Deploy your CodeGuard API to production in minutes:
npm run vercel:deployRequired Environment Variables:
CODEGUARD_API_KEYSCODEGUARD_LICENSE_KEYOPENAI_API_KEY(Optional)
🛠 Tech Stack
Core: TypeScript / Node.js
Intelligence: Multi-provider LLM (GPT-4o, Claude, MiniMax 2.7)
Protocol: Model Context Protocol (MCP)
Platform: Vercel / Supabase
👥 Who is this for
Engineering teams using AI-generated code
Companies operating under GDPR / AI Act
Platforms integrating LLM-based development workflows
🔥 Positioning
Not a linter. Not a scanner.
A system for governing AI-generated code.
This server cannot be deployed
Maintenance
Related MCP Connectors
EU compliance corpus across 8 frameworks (NIS2, DORA, AI Act, ISO 27001 + more) via MCP.
The compliance specialist your AI calls: ISO 27001, SOC 2, GDPR, NIS 2, DORA and more.
Threat modeling, code/cloud/pipeline scanning, shadow-AI discovery, compliance checks and fixes.
EU AI Act + GDPR compliance scanner. One call, no arguments, 10 seconds. 22 AI frameworks detected.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceLocal-first AI compliance scanner via Model Context Protocol, scanning codebases for violations of DPDPA 2023, RBI FREE-AI, SEBI AI/ML, and the EU AI Act.54 PyPI1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn MCP-powered compliance copilot for SaaS stacks, enabling structured audit workflows including stack detection, module wiremapping, implementation directives, code verification, and security/infrastructure/legal readiness gates.-
- AlicenseNot gradedqualityBmaintenanceIntegrates authoritative security compliance frameworks (ISO 27001, NIST 800-53, OWASP ASVS, NIST SSDF) into AI-assisted development, offering control lookups, cross-framework mappings, build-time guardrails, and automated audit evidence generation.141 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to perform automated compliance scanning of AWS infrastructure against PCI-DSS, CIS, and Well-Architected frameworks. It provides tools for scanning, remediation, and audit report generation.MIT