Skip to main content
Glama

CodeGuard AI β€” AI Compliance & Code Intelligence System

https://code-guard.eu

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:

  1. πŸ’» IDE Extension: Real-time scanning and auto-fixes directly in VS Code & Cursor.

  2. πŸ€– MCP Server: Give your AI agents (Claude, Cursor) the context they need to follow standards.

  3. 🌐 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:deploy

Required Environment Variables:

  • CODEGUARD_API_KEYS

  • CODEGUARD_LICENSE_KEY

  • OPENAI_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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Local-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.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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