Valca MCP server
io.github.pranlabs/valca·v0.6.1·2 starsScans code, IaC and AI-agent config for security problems. Read-only — nothing can be edited.
2 stars71 downloads/wk
Reviews
Write oneNobody has reviewed Valca yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Valca tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
list_rulesReturn the rule catalogue: every rule id, its severity, and what it catches.
scanScan a file or directory for security problems and return the findings.
Public scan report
scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it
- Code scan38 source files scanned15/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
Findings (2)
- mediumeval / new Function used
exec.evalvalca-0.6.1/src/valca/rules/js_security.py: … baked into bundle VGL-JS004 HIGH eval() or new Function() with non-literal arg…
- mediumsubprocess with shell=True
exec.shell-truevalca-0.6.1/src/valca/rules/secrets.py: … "VGL-I002" name = "subprocess with shell=True" severity = Severity.HIGH # Req…
How Valca compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 4,460 AI and agents servers
- Tools
- 2
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 65% of 2,711 AI and agents servers
- Downloads a week
- 71
- more than 55% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read
Install Valca in Claude Code, Cursor or VS Code
claude mcp add valca -- uvx valca
What the publisher says
From the Valca repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.pranlabs/valca -->
Valca
AI coding security co-pilot — blocks insecure code at the moment of generation.
Formerly published as vigilsec. The package is now valca. Both the valca and vigil
commands work, so existing hooks and scripts keep running unchanged.
Valca intercepts every file an AI coding assistant writes and blocks it if CRITICAL or HIGH security findings are detected — before the file hits disk. It's the only tool that operates at generation time rather than post-commit.
AI writes file → valca scan → exit 2 → Claude Code blocks the writeThe Problem
AI coding assistants reproduce the most common patterns in their training data. The most common patterns are insecure defaults.
The clearest example: every existing IaC scanner (Checkov, Trivy, Snyk, Semgrep) misses the docker-compose port binding that exposes your database to the internet:
ports:
- "5432:5432" # ← binds to 0.0.0.0, bypasses UFW, reachable from anywhereThe correct form is "127.0.0.1:5432:5432". Valca catches it. Nothing else does.
Install
pip install valcaWire the Claude Code hook (one time):
valca init --global # `valca init --global` also worksThat's it. Every file Claude Code writes is now scanned before it saves. Reload Claude Code to activate.
Network access
Valca's core scanning is fully offline — the package has zero runtime dependencies and the engine never sends your code, file paths, or findings anywhere.
Three rules do reach the network, because checking whether a dependency is vulnerable or fabricated is impossible offline. When a manifest (requirements.txt, package.json, lockfiles) is scanned, these rules send package names and version strings only to:
Your source code, file contents, file paths, and scan results are never transmitted. If your dependency inventory is itself sensitive, turn these rules off in .valcarc and Valca runs completely offline:
disabled_rules = ["VGL-PKG001", "VGL-PKG002", "VGL-PKG003", "VGL-PKG004"]Usage
# Scan a single file
valca scan docker-compose.yml
# Scan a directory
valca scan ./my-project/
# JSON output (for CI / dashboards)
valca scan ./my-project/ --format json
# SARIF output (for GitHub Advanced Security)
valca scan ./my-project/ --format sarif > results.sarif
# Only report HIGH and above
valca scan ./my-project/ --severity HIGH
# Open feedback & waitlist form
valca feedbackReview what has been caught over time. Both commands read the local scan history — nothing leaves your machine.
# Findings log — what was caught, where, and when
valca log # 20 most recent findings
valca log --severity CRITICAL # only criticals
valca log --project api --since 2026-09-01
valca log --limit 100 --format json # for dashboards
# Aggregate stats — rule frequency, severity mix, precision per rule
valca stats
valca stats --format jsonvalca stats reports how often each rule fires and how often you suppressed it, so rules with poor precision in your codebase are visible rather than guessed at.
Exit codes:
See It in Action
Blocking a vulnerable GitHub Actions workflow at write time:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Valca: common questions
- Is Valca MCP server safe?
- Mostly: it is graded B (75/100). Read the Valca safety report
- How do I install Valca?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Valca need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Valca maintained?
- The last commit was 25 days ago (2026-10-10). The latest release is v0.6.1.
- What can I use instead of Valca?
- Servers from other publishers that do the same job: Agent Security Scanner MCP server, HOL Guard MCP server and Skillsmith MCP server.
- How does Valca compare with other AI and agents MCP servers?
- safety score 75/100 (higher than 45% of 4,460 AI and agents servers); tools 2 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Valca
Same job from other publishers: the closest match first, then the best rated.
- Agent Security ScannerSecurity layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.not reviewedEstablishedC
- HOL GuardLocal-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.not reviewedEstablishedA
- SkillsmithShare agent skills across your team, scan them for risk, and track what's actually used.not reviewedEstablishedB
- ShellwardAI agent security: 7 MCP tools for injection detection, PII scanning, command safety, DLP.not reviewedEstablishedA
- DepwireDependency graph + 24 MCP tools. Impact analysis, simulation, security, agent coordinationnot reviewedEstablishedB