Continuous Code Guardian
Supports C++ with light heuristics for code analysis.
Supports Dart language with named heuristics for code analysis, testing, and coverage.
Provides Flutter-specific test and coverage guidance, including detection and Flutter test/coverage advice.
Supports Scala with light heuristics for code analysis.
Provides a Sonar/CI gate-prep helper that uses local Sonar reports to analyze code quality and guide improvements.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Continuous Code Guardianrun /ca-checkit on src/index.js"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Continuous Code Guardian
AI-powered continuous code assistant for Cursor IDE, VS Code, Antigravity, and Claude Code via MCP.
Focused public surface:
/ca-checkit— evidence-ranked advisor (routing_cues+ urgent|optional recommendations) → confirm subset (default prefers urgent) → run selected children (ca-auraitis never recommended; run it separately)/ca-smellit— quality-depth + architecture/clean-code prompt (rankedsmell_scorecard, severity order) → proceed → apply → post-apply ran/skipped gate (for Sonar/CI gate prep use/ca-sonarit)/ca-testit— gap scorecard → merge/append into related non-empty tests when appropriate → ran/skipped verify (≤1 fix) → conditional coverit handoff for coverage focus or local misses/ca-commentit,/ca-docit,/ca-smellit— lightweight JS/TS export, JSDoc, surface, and smell heuristics (not full AST analysis)/ca-docit— structured companion markdown (canonical outline + API extract + drift scorecard) underdocs/→ reconcile or report in sync (no comment edits)/ca-coverit— coverage readiness → local Cobertura/JSON/LCOV/Clover/Istanbul evidence when present → source-first proceed → source then tests → agent measure→iterate toward goal/ca-sonarit— Sonar/CI gate-prep helper → local SARIF/Sonar/GitLab/ESLint report evidence → source-first prompt → proceed → source then tests → optional report-driven improve→recheck (≤3 rounds; not a gate pass)/ca-aurait— Cognite Flows design-quality helper → scored prompt → confirm → apply design fixes
Polyglot support
All context packs accept UTF-8 text source files through an open suffix matrix. Go, Java, C#, and Dart have named heuristics; C++ and Scala have light heuristics; unknown but source-like files use the other generic profile. Flutter is detected as Dart and receives Flutter test/coverage guidance. These are advisory heuristics, not compiler or language-server analysis; see the Feature 026 quickstart.
Related MCP server: Git MCP Server
Install
For end users installing this MCP into Cursor, VS Code, Antigravity, or Claude Code (Git, PyPI/uvx, local, or binary), see INSTALLATION.md.
Contributor / local editable install:
python -m pip install -e ".[dev]"
cp guardian.config.example.yaml guardian.config.yamlRequires Python 3.12+. Optional analyzer CLIs (Ruff, ESLint, Semgrep, …) are only used when tools run with analyzer_mode=lint or all.
MCP tools
Tool (slash) | Purpose |
| Advisor: evidence-ranked plan from file cues → ask which to run (default prefers urgent) → invoke selected children; never recommends |
| Quality-depth + architecture/clean-code prompt ( |
| Gap scorecard → focused-complete unit tests → ran/skipped verify (≤1 fix); coverit handoff for coverage goals |
| Ranked |
| Structured companion markdown ( |
| Coverage readiness → aspire-high + 80% floor → proceed → source then tests → agent measure→iterate (bounded rounds; MCP does not run coverage) |
| Sonar/CI gate-prep helper (not Sonar / not gate-pass) → source-first prompt → proceed → source then tests → optional report-driven iterate (≤3 rounds; MCP does not run Sonar) |
| Flows design-quality helper → scored prompt (Q1–Q10 / 3.8+) → ask proceed → apply listed design fixes |
How to use them in Cursor, VS Code, Antigravity, or Claude Code: HOW_TO_USE_TOOLS.md.
Slash autocomplete (/ca…) is installed automatically into the workspace —
.cursor/commands/ in Cursor, .github/prompts/ in VS Code, .agent/workflows/ in
Antigravity, .claude/commands/ in Claude Code — when the MCP server starts (requires
"cwd": "${workspaceFolder}" in mcp.json, where supported). Obsolete older /ca-*
shortcut files are removed on install, independently per editor.
Configuration
See guardian.config.example.yaml. Local guardian.config.yaml and .code-guardian/
are gitignored.
smellit_max_excerpt_bytes/testit_max_excerpt_bytes/commentit_max_excerpt_bytes/docit_max_excerpt_bytes/coverit_max_excerpt_bytes/sonarit_max_excerpt_bytes/aurait_max_excerpt_bytes(default65536)coverit_max_report_bytes/sonarit_max_report_bytes(default65536);sonarit_max_related_files(default4)smellit_analyzer_mode/testit_analyzer_mode/commentit_analyzer_mode/docit_analyzer_mode/coverit_analyzer_mode/sonarit_analyzer_mode/aurait_analyzer_mode(defaultnone= fast)Optional
analyzers:toggles for whenanalyzer_modeislintorallInvalid config returns
CONFIG_INVALIDwithout leaking secrets
Validation
Commentit scorecard & proceed gate:
specs/021-commentit-scorecard-gate/quickstart.mdSonarit report-driven iterate:
specs/020-sonarit-report-iterate/quickstart.mdSmellit:
specs/016-smellit-quality-depth/quickstart.md(alsospecs/013-smellit-architecture-refactor/quickstart.md)Testit:
specs/017-testit-verify-loop/quickstart.md(alsospecs/004-testit-unit-tests/quickstart.md)Commentit / Docit split:
specs/010-commentit-docit-split/quickstart.mdCoverit iterate coverage:
specs/015-coverit-iterate-coverage/quickstart.mdCoverit max coverage:
specs/014-coverit-max-coverage/quickstart.mdCoverit / Sonarit source prep:
specs/012-coverit-sonarit-source-prep/quickstart.mdAurait:
specs/008-aurait-design-quality/quickstart.md
pytest -qSpec Kit docs
Feature 021:
specs/021-commentit-scorecard-gate/Feature 020:
specs/020-sonarit-report-iterate/Feature 017:
specs/017-testit-verify-loop/Feature 016:
specs/016-smellit-quality-depth/Feature 015:
specs/015-coverit-iterate-coverage/Feature 014:
specs/014-coverit-max-coverage/Feature 013:
specs/013-smellit-architecture-refactor/Feature 012:
specs/012-coverit-sonarit-source-prep/Feature 008:
specs/008-aurait-design-quality/Feature 007:
specs/007-coverit-coverage-prep/Feature 004:
specs/004-testit-unit-tests/Feature 003:
specs/003-smellit-cleanup-prompt/
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ijanzz5621/mcp-code-guardian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server