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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
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.
Run deterministic SaaS contract redlining, GDPR Art. 28 DPA & EU AI Act compliance audits.
Run deterministic SaaS contract redlining, GDPR Art. 28 DPA & EU AI Act compliance audits.
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.1Apache 2.0
- AlicenseNot 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.AGPL 3.0
- 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
- AlicenseAqualityCmaintenanceScans codebases for AI frameworks, checks EU AI Act compliance, and generates compliance reports, roadmaps, and audit-ready packages.1612MIT