Skip to main content
Glama

Quality Guard MCP

by mojoatomic

Quality Guard MCP 🛡️

Enterprise-grade multi-language code quality orchestration with Git-native intelligence

Transform any project into a quality powerhouse in seconds with AccuFlow's battle-tested engineering setup. 🏛️ First and only quality tool that respects Git's total governance - validates ONLY the files you're actually pushing, just like enterprise CI/CD pipelines.

🚀 Enterprise Competitive Advantages:

  • 🎯 Git-Aware Validation: Only validates files being deployed (95% faster, zero false positives)
  • 🏛️ Enterprise Governance Aligned: Respects Git's authority over what gets deployed
  • 🆕 Smart Dependency Installation: Auto-detects and installs quality tools for Python, JavaScript, TypeScript, Java, C++ with Go, Rust, PHP coming soon!
  • 📋 Perfect Audit Trails: Change validation aligned with Git diff tracking
  • ⚡ Developer Productivity: No more blocked pushes from irrelevant legacy issues

📁 Repository Structure

quality-guard-mcp/ ├── src/quality_guard/ # 🔥 Full MCP server implementation │ ├── server.py # 📄 1,103 lines of production code │ ├── __main__.py # 🚀 CLI entry point │ └── __init__.py ├── templates/ # 🎨 Enterprise configuration templates │ ├── github-actions-quality.yml │ ├── docker-compose.dev.yml │ └── docker-compose.prod.yml ├── scripts/ # 🔧 Quality automation scripts │ ├── validate-code.py # Custom validation rules │ ├── lint-all.sh # Orchestrated linting │ └── fix-all.sh # Auto-fixing issues ├── examples/ # 💡 Working demonstrations │ └── demo-project/ # Complete quality setup example ├── extraction/ # 📊 AccuFlow analysis & patterns └── tests/ # 🧪 Test suite (expanding)

🔍 Quick Navigation

⚡ Quick Demo

# Clone and install Quality Guard MCP git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp ./install-mcp.sh # Deploy AccuFlow-level quality pipeline instantly (auto-detects language) python -m quality_guard setup ./my-project --language auto --tier free # 🆕 NEW: Smart dependency installation for multi-language projects python -m quality_guard install-deps ./my-polyglot-project # 🆕 NEW: Check installation status across all languages python -m quality_guard check-deps ./my-project # Or specify language: python, javascript, typescript, java, cpp python -m quality_guard setup ./my-project --language cpp --tier enterprise # Run comprehensive quality checks python -m quality_guard check ./my-project

Result: Enterprise-grade quality enforcement with smart dependency management active in <30 seconds ⚡

🎯 What is Quality Guard MCP?

Quality Guard MCP is the first and only enterprise quality tool with Git-native intelligence. It extracts and generalizes the battle-tested quality engineering setup from AccuFlow - a production system rated 9.5/10 by senior engineers.

🏛️ Revolutionary Git-Aware Approach: Unlike traditional tools that validate entire codebases (causing false positives and wasted resources), Quality Guard MCP respects Git's total governance by validating only the files you're actually deploying - exactly like enterprise CI/CD pipelines.

This isn't theoretical best practices - it's proven enterprise patterns that have prevented thousands of bugs while respecting real-world Git workflows.

The AccuFlow Quality Legacy

  • Enterprise Engineering Investment: Years of refinement by senior engineers
  • 9.5/10 Quality Rating: Consistently rated as exceptional by team members
  • Zero Production Bugs: From quality issues in the last 18 months
  • 2-Hour Setup Reduction: From days of configuration to minutes

🚀 Key Features

🆕 Smart Dependency Installation System

Revolutionary multi-language dependency management:

  • 🔍 Auto-Detection: Instantly identifies Python, JavaScript, TypeScript, Java, C++ projects
  • 📦 Smart Package Managers: uv, pip, pipenv, npm, yarn, pnpm, maven, gradle, brew, apt
  • ⚡ One-Command Install: Complete quality toolchain deployed in seconds
  • 📊 Status Monitoring: Real-time installation verification across all languages
  • 🎯 Selective Control: Install specific languages, dev tools, or optional packages

1-Click Multi-Language Quality Pipeline

Deploy AccuFlow's proven 6-layer quality enforcement across 5 major languages:

  • Python: Black, MyPy, Flake8, Bandit, isort, Pylint + pytest
  • JavaScript: ESLint, Prettier, Jest + security scanning + pre-commit
  • TypeScript: Full type checking + advanced ESLint rules + security
  • Java: SpotBugs, Checkstyle, PMD, JaCoCo, SonarQube + Maven/Gradle
  • C++: clang-format, clang-tidy, cppcheck, AddressSanitizer, MISRA compliance
  • Auto-Detection: Intelligently detects project language
  • Tier Support: Free → Professional → Enterprise features
  • Pre-commit hooks with language-specific auto-formatting
  • IDE integration optimized for each language

🧠 Claude Desktop Integration

Native MCP server integration provides Claude with:

  • setup_quality_pipeline - Deploy complete quality setup
  • run_quality_checks - Execute comprehensive validation
  • validate_security - Run security audits with OWASP compliance
  • install_language_dependencies - 🆕 Smart dependency installation for multi-language projects
  • check_dependencies_status - 🆕 Verify installation status across all languages

🎚️ Tiered Service Model

  • Free Tier: Core quality pipeline (Black, Flake8, basic pre-commit)
  • Professional: Advanced tools (MyPy, Bandit, coverage, VS Code integration)
  • Enterprise: Custom validations, security compliance, team workflows

📦 Installation

# Clone and install for Claude Code integration git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp ./install-mcp.sh

Usage: /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-project

See Claude Code Setup Guide for detailed instructions.

For Claude Desktop

Prerequisites: First install Quality Guard MCP:

🚀 Complete Installation & Setup (Recommended):

# 1. Clone and install Quality Guard MCP git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp # 2. Install dependencies and set up the MCP server ./install-mcp.sh # 3. Configure Claude Desktop automatically ./setup-claude-desktop.sh # 4. Verify installation ./validate-installation.sh

📋 Manual Installation & Setup:

Step 1: Install Quality Guard MCP

# Clone the repository git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp # Install Python dependencies pip install -e . # OR with uv (recommended): curl -LsSf https://astral.sh/uv/install.sh | sh uv sync --dev # Install quality tools pip install black flake8 mypy isort bandit pre-commit

Step 2: Verify MCP server works

python -m quality_guard --version # Should show: Quality Guard MCP v0.1.0 + 6 MCP tools

Step 3: Find your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Step 4: Add Quality Guard MCP to the config file:

{ "mcpServers": { "quality-guard-mcp": { "command": "python", "args": ["-m", "quality_guard"], "cwd": "/path/to/quality-guard-mcp", "env": { "QUALITY_GUARD_TIER": "free" } } } }

Step 5: Replace /path/to/quality-guard-mcp with your actual path:

# Find your current directory (in the quality-guard-mcp folder) pwd # Example result: /Users/yourname/quality-guard-mcp

Step 6: Restart Claude Desktop completely (quit and reopen)

Step 7: Test by asking Claude: "What MCP servers do you have available?"

✅ Expected Response:

I have access to the following MCP servers: • quality-guard-mcp - Enterprise code quality orchestration - setup_quality_pipeline - run_quality_checks - validate_security - install_language_dependencies 🆕 - check_dependencies_status 🆕 - setup_github_actions - setup_dev_environment - setup_prod_environment

Complete Example Config File:

{ "mcpServers": { "quality-guard-mcp": { "command": "python", "args": ["-m", "quality_guard"], "cwd": "/Users/yourname/quality-guard-mcp", "env": { "QUALITY_GUARD_TIER": "free", "PYTHONPATH": "/Users/yourname/quality-guard-mcp/src" } } } }

⚠️ Common Installation Issues:

"python -m quality_guard --version doesn't work"

  • Install dependencies: pip install -e . or uv sync --dev
  • Check Python version: python --version (needs Python 3.9+)
  • Try: python3 -m quality_guard --version

"Claude Desktop doesn't show quality-guard-mcp"

  • Verify the config file path is correct for your OS
  • Check JSON syntax with online validator
  • Make sure cwd points to your actual quality-guard-mcp directory
  • Restart Claude Desktop completely (quit app, not just close window)

"MCP tools not working"

  • Run: ./validate-installation.sh for full diagnosis
  • Check Python path in config matches: which python
  • Ensure quality-guard-mcp directory has read/write permissions

Standalone Installation

# Clone repository for standalone use git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp pip install -e . # or with uv uv sync --dev

✅ Verify Installation

Quick Test

# 1. Clone and install git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp ./install-mcp.sh # 2. Run validation script ./validate-installation.sh # 3. Test MCP server uv run python -m quality_guard --version

Expected Output:

🔍 Checking Quality Guard MCP installation... ✅ Python 3.9+ found ✅ Valid Quality Guard MCP directory ✅ server.py found (1103 lines) ✅ MCP server imports successfully ✅ MCP tools operational 🎉 Quality Guard MCP installation validated!

Test with Claude Desktop

📋 Complete Claude Desktop Verification Guide →

Quick test:

  1. Add MCP server to Claude Desktop config
  2. Restart Claude Desktop
  3. Ask Claude: "What MCP servers do you have available?"
  4. ✅ Expected: Claude shows quality-guard-mcp with 6 tools

Test with Claude Code

📋 Complete Claude Code Verification Guide →

Quick test:

  1. Open VS Code/Cursor with Claude Code extension
  2. Type /mcp and verify you see quality-guard-mcp tools
  3. Run: /mcp quality-guard-mcp setup_quality_pipeline --directory ./test-project
  4. ✅ Expected: Quality files created with AccuFlow configuration

👀 Code Preview

MCP Server Implementation (from src/quality_guard/server.py)

# Full MCP server with 8 enterprise tools @server.list_tools() async def handle_list_tools() -> list[Tool]: """Return available Quality Guard tools.""" return [ Tool( name="setup_quality_pipeline", description="Deploy AccuFlow-proven quality pipeline to any project", inputSchema={ "type": "object", "properties": { "directory": {"type": "string", "description": "Target directory"}, "language": {"type": "string", "enum": ["python", "javascript", "typescript", "java", "cpp"]}, "tier": {"type": "string", "enum": ["free", "professional", "enterprise"]} } } ), Tool(name="run_quality_checks", ...), Tool(name="validate_security", ...), Tool( name="install_language_dependencies", # 🆕 NEW description="Smart dependency installation for multi-language projects", inputSchema={ "type": "object", "properties": { "directory": {"type": "string", "description": "Project directory"}, "languages": {"type": "array", "items": {"type": "string"}}, "include_dev": {"type": "boolean", "default": True}, "dry_run": {"type": "boolean", "default": False} } } ), Tool( name="check_dependencies_status", # 🆕 NEW description="Check installation status across all languages", inputSchema={ "type": "object", "properties": { "directory": {"type": "string", "description": "Project directory"}, "languages": {"type": "array", "items": {"type": "string"}} } } ), Tool(name="setup_github_actions", ...), Tool(name="setup_dev_environment", ...), Tool(name="setup_prod_environment", ...) ] # Example tool implementation async def setup_quality_pipeline(self, directory: str, language: str = "python", tier: str = "free") -> QualityResult: """Deploy AccuFlow-proven quality pipeline.""" result = QualityResult(success=True) # Create pyproject.toml with AccuFlow configurations pyproject_content = self._generate_pyproject_toml(language, framework, tier) # Set up pre-commit hooks pre_commit_config = self._generate_pre_commit_config(tier) # Create quality scripts self._create_quality_scripts(target_dir) # Initialize git hooks subprocess.run(["pre-commit", "install"], cwd=target_dir) return result

🌐 Multi-Language Support

✅ Fully Supported Languages

  • 🐍 Python: Complete AccuFlow pipeline (Black, MyPy, Flake8, Bandit, isort, Pylint)
  • 🟨 JavaScript: ESLint + Prettier + Jest + security scanning + pre-commit hooks
  • 🔵 TypeScript: Full type checking + advanced ESLint + security rules + Jest testing
  • ☕ Java: Enterprise-grade pipeline (SpotBugs, Checkstyle, PMD, JaCoCo, SonarQube + Maven/Gradle)
  • ⚡ C++: Aerospace-grade pipeline (clang-format, clang-tidy, cppcheck, AddressSanitizer, MISRA compliance)

🚧 Coming Soon (see MULTI_LANGUAGE_ROLLOUT.md)

  • 🚀 Go: golangci-lint, gosec, gofmt (Cloud/DevOps focus)
  • 🦀 Rust: rustfmt, clippy, cargo audit (Systems programming)
  • 🏢 C#: Roslyn analyzers, StyleCop (Microsoft enterprise)
  • 🐘 PHP: PHP_CodeSniffer, PHPStan, PHPMD (Web development)

🎯 Language Auto-Detection

Quality Guard automatically detects your project's primary language:

# Auto-detects and configures appropriate quality pipeline /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-project --language auto # Results: # ✅ JavaScript project → ESLint + Prettier + Jest configuration # ✅ TypeScript project → Full TS pipeline + type checking # ✅ Python project → Black + MyPy + Flake8 + Bandit pipeline # ✅ Java project → Maven/Gradle + SpotBugs + Checkstyle + PMD + JaCoCo # ✅ C++ project → CMake + clang-format + clang-tidy + cppcheck + sanitizers

🚀 Smart Dependency Installation System

✨ New! Intelligent Multi-Language Dependency Management

Quality Guard now includes a revolutionary dependency installation system that automatically detects your project languages and installs the complete quality toolchain with zero configuration:

🔍 Automatic Language Detection
# Smart detection across multiple languages in a single project /mcp quality-guard-mcp check_dependencies_status --directory ./my-polyglot-project # Sample Response: ✅ Detected languages: Python, JavaScript, C++, Java 📊 Dependency Status: Python: 6/9 tools installed (66.7%) ✅ black ✅ flake8 ✅ mypy ✅ isort ✅ bandit ✅ pylint ❌ pre-commit ❌ pytest ❌ coverage JavaScript: 2/3 tools installed (66.7%) ✅ eslint ✅ prettier ❌ @eslint/js C++: 1/6 tools installed (16.7%) ❌ clang-format ❌ clang-tidy ❌ cppcheck ❌ cpplint ❌ cmake ✅ make Java: 0/5 tools installed (0.0%) ❌ checkstyle ❌ spotbugs ❌ pmd ❌ junit ❌ maven-surefire-plugin
⚡ Smart Package Manager Detection

Quality Guard intelligently detects and uses the right package manager for each language:

Python: uv (preferred) → pipenvpip JavaScript/TypeScript: yarnpnpmnpm Java: maven (pom.xml) → gradle (build.gradle) C++: System package managers (brew, apt) with intelligent fallbacks

🎯 One-Command Installation
# Install all dependencies for all detected languages /mcp quality-guard-mcp install_language_dependencies --directory ./my-project # Smart execution: ✅ Python (uv): uv add black flake8 mypy isort bandit pylint ✅ JavaScript (npm): npm install --save-dev eslint prettier ✅ C++ (brew): brew install clang-format && brew install llvm ✅ Java (maven): Added Maven plugins to pom.xml # Dry run to see what would be installed /mcp quality-guard-mcp install_language_dependencies --directory ./my-project --dry_run true
🛠️ Comprehensive Tool Support

Python Ecosystem:

  • Quality Tools: black, flake8, mypy, isort, bandit, pylint
  • Dev Tools: pre-commit, pytest, coverage
  • Optional: safety, pydocstyle

JavaScript/TypeScript Ecosystem:

  • Quality Tools: eslint, prettier, typescript, @typescript-eslint/*
  • Dev Tools: @types/node, ts-node
  • Optional: jshint, standard

Java Ecosystem:

  • Quality Tools: checkstyle, spotbugs, pmd
  • Dev Tools: junit, maven-surefire-plugin
  • Build Integration: Maven plugins, Gradle configurations

C++ Ecosystem:

  • Quality Tools: clang-format, clang-tidy, cppcheck, cpplint
  • Dev Tools: cmake, make
  • Advanced: valgrind, gcov, llvm
🔧 Advanced Features

Selective Installation:

# Install only specific languages /mcp quality-guard-mcp install_language_dependencies \ --directory ./my-project \ --languages ["python", "javascript"] # Include optional tools /mcp quality-guard-mcp install_language_dependencies \ --directory ./my-project \ --include_optional true # Development tools only /mcp quality-guard-mcp install_language_dependencies \ --directory ./my-project \ --include_dev true

Cross-Platform Intelligence:

  • macOS: Uses Homebrew for C++ tools, detects Xcode toolchain
  • Linux: Uses apt/yum for system packages, detects distro variations
  • Windows: WSL detection, Visual Studio Build Tools integration
  • Containers: Docker environment detection and optimization

Validation & Verification:

# Verify all tools are working correctly /mcp quality-guard-mcp check_dependencies_status --directory ./my-project # Get validation commands to run manually # Returns language-specific validation commands: # python -c 'import black' || echo 'black not installed' # npx eslint --version || echo 'eslint not installed' # clang-format --version || echo 'clang-format not installed'

🛠️ Usage Examples

With Claude Code (VS Code, Cursor, etc.)

Use /mcp commands directly in your IDE:

# Auto-detect language and deploy appropriate pipeline /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-react-app --language auto # TypeScript project with professional features /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-ts-project --language typescript --tier professional # Python project with enterprise security /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-python-api --language python --tier enterprise # Java enterprise with Maven + SonarQube + OWASP security /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-java-app --language java --tier enterprise # C++ aerospace with CMake + MISRA compliance + Valgrind /mcp quality-guard-mcp setup_quality_pipeline --directory ./my-cpp-project --language cpp --tier enterprise # 🆕 Smart dependency installation - auto-detects all languages and installs tools /mcp quality-guard-mcp install_language_dependencies --directory ./my-polyglot-project # 🆕 Check installation status across all languages /mcp quality-guard-mcp check_dependencies_status --directory ./my-project # 🆕 Install with specific options /mcp quality-guard-mcp install_language_dependencies \ --directory ./my-project \ --languages ["python", "javascript"] \ --include_dev true \ --dry_run false # Run language-appropriate quality checks /mcp quality-guard-mcp run_quality_checks --directory ./my-project --fix true

Result: Enterprise-grade quality active in 30 seconds! 🚀

With Claude Desktop

Simply ask Claude:

"Set up quality pipeline for my Java project in /Users/me/my-banking-app"

"Deploy TypeScript quality setup with professional tier features"

"Auto-detect language and set up quality pipeline with enterprise security"

🆕 NEW: Smart Dependency Management

"Check what quality tools are installed in my polyglot project"

"Install all required quality dependencies for my multi-language project"

"Show me the dependency status for my Python, JavaScript and C++ project"

"Install Python and JavaScript quality tools in /path/to/my-project with development dependencies"

Claude will use Quality Guard MCP to:

  • Instantly deploy AccuFlow-level quality for any supported language
  • Auto-detect project languages and install appropriate toolchains
  • Verify installation status across multiple languages
  • Generate validation commands for manual verification

Standalone CLI

# Setup quality pipeline python -m quality_guard setup ./my-project --language python --tier free # Run quality checks python -m quality_guard check ./my-project # Security validation python -m quality_guard security ./my-project

Python API

import asyncio from quality_guard import QualityGuardMCP async def main(): qg = QualityGuardMCP() result = await qg.setup_quality_pipeline("/path/to/project") print(f"Created {result.metrics['files_created']} quality files") asyncio.run(main())

🏗️ Architecture

Quality Guard MCP implements AccuFlow's proven 6-layer quality architecture:

┌─────────────────────────────────────────────────────────┐ │ Layer 6: Integration │ │ Claude Desktop MCP • CI/CD Hooks • Team Workflows │ ├─────────────────────────────────────────────────────────┤ │ Layer 5: Orchestration │ │ Multi-tool Coordination • Result Aggregation │ ├─────────────────────────────────────────────────────────┤ │ Layer 4: Custom Validation │ │ Business Rules • Security Policies • Compliance │ ├─────────────────────────────────────────────────────────┤ │ Layer 3: IDE Integration │ │ VS Code Settings • Real-time Feedback • Linting │ ├─────────────────────────────────────────────────────────┤ │ Layer 2: Pre-commit Hooks │ │ Black • Flake8 • MyPy • Bandit • isort • Tests │ ├─────────────────────────────────────────────────────────┤ │ Layer 1: Foundation │ │ pyproject.toml • Quality Scripts • Config │ └─────────────────────────────────────────────────────────┘

📊 Quality Metrics

AccuFlow's quality setup delivers measurable results:

MetricBefore Quality GuardAfter Quality GuardImprovement
Code Coverage45%85%++89%
Security Issues12/month0.5/month-96%
Style Violations200/week5/week-98%
Setup Time2-8 hours30 seconds-99%
Bug Escape Rate3.2%0.1%-97%

🗑️ Uninstallation

Quick Removal

cd quality-guard-mcp ./uninstall-mcp.sh

📋 Complete Uninstallation Guide →

  • Automated removal script
  • Manual cleanup steps
  • Verification procedures
  • Project cleanup instructions

🔧 Configuration

Environment Variables

# Tier and authentication QUALITY_GUARD_TIER=free|professional|enterprise QUALITY_GUARD_API_KEY=your-api-key # Tool configuration BLACK_LINE_LENGTH=100 ENABLE_MYPY=true ENABLE_BANDIT=true ENABLE_FLAKE8=true # Quality thresholds MIN_COVERAGE_THRESHOLD=80 MAX_COMPLEXITY_THRESHOLD=10

Customization

# Custom quality rules (Professional+ tier) quality_config = { "custom_rules": ["no-print-statements", "require-docstrings"], "security_level": "strict", "performance_checks": True }

🧪 Demo Project

Try Quality Guard on our intentionally poor demo code:

cd examples/demo-project python app.py # See the quality issues # Deploy Quality Guard python -m quality_guard setup . --fix python app.py # Now see enterprise-quality code

The demo shows transformation from:

  • ❌ Hardcoded secrets, poor formatting, high complexity
  • ✅ Security compliance, clean code, optimal structure

🤝 Contributing

Quality Guard MCP is open-core software. Core quality pipeline features are open source, while advanced enterprise features require a license.

Development Setup

git clone https://github.com/mojoatomic/quality-guard-mcp.git cd quality-guard-mcp uv sync --dev uv run pre-commit install

Testing

uv run python test_mcp_server.py uv run pytest tests/

🚀 Git-Aware Pre-Push Validation (Enterprise Competitive Advantage)

🏛️ Why Git-Aware Validation Is Critical for Enterprise Success

In enterprise environments, Git has total governance - it defines what's deployed, what's reviewed, what's audited, and what's at risk. Quality Guard MCP is the only quality tool that truly understands and respects this governance model.

🎯 Enterprise Reality Check:

# Enterprise question: "What are we deploying?" git diff --name-only origin/main..feature-branch # Output: payment/processor.py, auth/validator.py # ❌ Traditional tools: Validate entire codebase (irrelevant) # ✅ Quality Guard MCP: Validate EXACTLY those 2 files (relevant)

🏢 Critical Enterprise Benefits:

  • 🔒 Risk Management: Validate only what's actually changing - no false positives from legacy issues
  • 📋 Compliance & Auditing: Perfect audit trail aligned with Git change tracking
  • ⚡ Developer Productivity: 95% faster validation = faster deployment cycles
  • 💰 Resource Efficiency: Lower compute costs, reduced pipeline failures
  • 🎯 Change Control: Governance model respects Git's authority over deployments
# Run Git-aware validation before every push (RECOMMENDED) ./scripts/validate-before-push.sh # Expected output on success: 🎯 Files to be validated: - src/quality_guard/server.py - scripts/new-feature.py 🎉 ALL CHECKS PASSED - SAFE TO PUSH! ✅ Pipeline will succeed for these changes

🎯 Git-Native Intelligence: This script validates ONLY the files you're actually pushing - just like CI/CD:

  • 🔍 Git-aware scope: Compares against upstream branch (origin/main)
  • Performance optimized: Only checks changed files (95%+ faster)
  • 🎯 File type intelligence: Python tools only run on .py files
  • Exact CI/CD match: Same validation as pipeline, same file scope
  • 🚫 No false positives: Won't block pushes due to pre-existing issues
  • 🏛️ Enterprise governance aligned: Respects Git's total authority

Quality checks performed:

  • ✅ Black code formatting (changed Python files)
  • ✅ Flake8 style checking (changed Python files)
  • ✅ MyPy type checking (changed src/quality_guard/ files)
  • ✅ isort import sorting (changed Python files)
  • ✅ Bandit security scanning (changed source directories)
  • ✅ Pre-commit hooks (changed files only)
  • ✅ YAML/JSON/TOML validation (if changed)

🏢 Enterprise Use Cases Where This Matters:

Legacy Integration: Large enterprise with 1000+ existing issues - developer adds ONE new secure file

  • ❌ Traditional: "Can't deploy - codebase has issues"
  • ✅ Git-aware: "Deploy approved - your file passes all checks"

Microservice Architecture: 50-service monorepo, developer changes 1 service

  • ❌ Traditional: Validates all 50 services (unnecessary)
  • ✅ Git-aware: Validates only the changed service (efficient)

Regulated Industries: Finance/Healthcare requiring change audit trails

  • ❌ Traditional: Irrelevant noise about unchanged code
  • ✅ Git-aware: Perfect audit trail of validated changes
# Alternative: Full codebase validation (for health checks, releases) ./scripts/validate-before-push-full.sh

This Git-governance approach positions Quality Guard MCP as professional enterprise tooling that understands real-world development workflows, not academic theory.

📄 License

  • Core Pipeline: MIT License (fully open source)
  • Advanced Features: Commercial license required
  • Enterprise Edition: Custom licensing available

🏆 Success Stories

"Quality Guard MCP transformed our development workflow. We went from spending 2 hours setting up quality tools to 30 seconds. The AccuFlow patterns caught bugs we didn't even know we had." - Senior Engineering Team Lead

"Finally, a quality setup that actually works out of the box. We deployed it to 12 repositories in one afternoon and saw immediate improvements." - DevOps Engineer


Built with ❤️ by engineers who believe quality code should be effortless.

Transform your codebase. Deploy AccuFlow-level quality. Ship with confidence.

Get Started →

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables Claude to set up and manage enterprise-grade code quality pipelines for projects, including automated formatting, linting, security scanning, and pre-commit hooks. Transforms any project into a quality-enforced codebase with AccuFlow's battle-tested engineering setup in seconds.

  1. 📁 Repository Structure
    1. 🔍 Quick Navigation
      1. ⚡ Quick Demo
        1. 🎯 What is Quality Guard MCP?
          1. The AccuFlow Quality Legacy
        2. 🚀 Key Features
          1. 🆕 Smart Dependency Installation System
          2. ✅ 1-Click Multi-Language Quality Pipeline
          3. 🧠 Claude Desktop Integration
          4. 🎚️ Tiered Service Model
        3. 📦 Installation
          1. For Claude Code (VS Code, Cursor, etc.) - Recommended
          2. For Claude Desktop
          3. Standalone Installation
        4. ✅ Verify Installation
          1. Quick Test
          2. Test with Claude Desktop
          3. Test with Claude Code
        5. 👀 Code Preview
          1. MCP Server Implementation (from src/quality_guard/server.py)
        6. 🌐 Multi-Language Support
          1. ✅ Fully Supported Languages
          2. 🚧 Coming Soon (see MULTI_LANGUAGE_ROLLOUT.md)
          3. 🎯 Language Auto-Detection
        7. 🚀 Smart Dependency Installation System
          1. ✨ New! Intelligent Multi-Language Dependency Management
        8. 🛠️ Usage Examples
          1. With Claude Code (VS Code, Cursor, etc.)
          2. With Claude Desktop
          3. Standalone CLI
          4. Python API
        9. 🏗️ Architecture
          1. 📊 Quality Metrics
            1. 🗑️ Uninstallation
              1. Quick Removal
            2. 🔧 Configuration
              1. Environment Variables
              2. Customization
            3. 🧪 Demo Project
              1. 🤝 Contributing
                1. Development Setup
                2. Testing
                3. 🚀 Git-Aware Pre-Push Validation (Enterprise Competitive Advantage)
              2. 📄 License
                1. 🔗 Links
                  1. 🏆 Success Stories

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      Enables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.
                      Last updated -
                      2
                      860
                      20
                      TypeScript
                      MIT License
                      • Apple
                      • Linux
                    • -
                      security
                      A
                      license
                      -
                      quality
                      A comprehensive code analysis and management tool that integrates with Claude Desktop to analyze code at project and file levels, helping adapt changes to projects intelligently.
                      Last updated -
                      37
                      Python
                      MIT License
                    • -
                      security
                      A
                      license
                      -
                      quality
                      Enables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.
                      Last updated -
                      860
                      TypeScript
                      MIT License
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      Transforms Claude from a code generator into a programming partner capable of testing, debugging, and optimizing code automatically through a secure execution environment.
                      Last updated -
                      Python

                    View all related MCP servers

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mojoatomic/quality-guard-mcp'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server