@vibecodeqa/mcp
v0.2.0
Published
MCP server for VibeCode QA — gives AI coding agents real-time code health context
Maintainers
Readme
@vibecodeqa/mcp
MCP server for VibeCode QA — gives AI coding agents real-time code health context.
When an AI agent writes or modifies code, it can query vcqa to check: "Is this file healthy? What patterns should I follow? Will this change degrade quality?"
Quick start
Claude Code
claude mcp add vcqa -- npx @vibecodeqa/mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"vcqa": {
"command": "npx",
"args": ["@vibecodeqa/mcp"]
}
}
}Cursor / other MCP clients
npx @vibecodeqa/mcpTools
| Tool | Description |
|------|-------------|
| vcqa_score | Quick score + grade + check summary (uses cache) |
| vcqa_scan | Full scan — all 34 checks with issues and details |
| vcqa_file_health | Issues for a specific file (use before/after editing) |
| vcqa_check | Detailed results for one check (e.g., "complexity") |
| vcqa_explain | What a check measures, why it matters, how to fix |
| vcqa_fix | AI-powered fix for code issues (needs ANTHROPIC_API_KEY) |
| vcqa_delta | Compare current scan vs previous — shows fixed/new issues |
How agents use it
Before modifying a file:
→ vcqa_file_health({ file: "src/auth.ts" })
← 3 issues: complexity 28 (max 15), empty catch block, no test fileThe agent now knows to simplify the function, add error handling, and write a test.
After generating code:
→ vcqa_score()
← B 78/100 (was B 80 — dropped 2 pts)
→ vcqa_check({ check: "security" })
← 1 new issue: innerHTML assignment in src/dashboard.tsx:42The agent fixes the security issue before committing.
After a fix session:
→ vcqa_delta()
← Score: C 64 → B 80 (+16)
Fixed: 89 issues | New: 3 issues
+73 confusion (0 → 73), +55 lint (45 → 100), +12 standards (36 → 48)Understanding a check:
→ vcqa_explain({ check: "confusion" })
← Measures naming ambiguity that causes LLMs to edit the wrong file...Performance
- Uses cached
report.jsonfrom previous CLI runs (< 5 min old) - Falls back to live scan via
npx @vibecodeqa/cli --skip-tests --json - In-memory cache with 60s TTL prevents redundant scans
- Typical response: < 100ms (cached), 3-8s (live scan)
