Guardvibe MCP Server

Security MCP for vibe coding. 313 rules, 25 tools for AI-generated code.

Local serverstdioGo

What is the Guardvibe MCP server?

Security MCP for vibe coding. 313 rules, 25 tools for AI-generated code. The guardvibe mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

What it actually does

Works with Claude Code, Cursor, Gemini CLI, Codex, VS Code (Copilot), Windsurf, and any MCP-compatible coding agent.

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at guardvibe on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Its toolset

Everything the assistant can do here goes through one of these:

  • check_code — Analyze a code snippet for security issues
  • check_project — Scan multiple files with security scoring (A-F)
  • scan_directory — Scan a project directory from disk
  • scan_staged — Pre-commit scan of git-staged files — diff-aware (blocks only newly-staged lines; diff_aware:false for whole files)
  • scan_dependencies — Check all dependencies for known CVEs (OSV) — annotates each vulnerable package with reachability (is it actually imported in your source?)
  • scan_secrets — Detect leaked secrets, API keys, tokens
  • check_dependencies — Check individual packages against OSV
  • check_package_health — Typosquat detection, maintenance status, adoption metrics
  • compliance_report — Map security findings to compliance controls (SOC2, PCI-DSS, HIPAA, GDPR, ISO27001, EU AI Act)
  • export_sarif — SARIF v2.1.0 export for CI/CD integration
  • get_security_docs — Security best practices and guides
  • fix_codeAuto-fix suggestions with concrete patches for AI agents

Configuration

You will need one environment variable: ANTHROPIC_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Guardvibe.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the guardvibe mcp server does with a few real requests.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Guardvibe's toolset — check_code, check_project, scan_directory and 11 more — is a fair guide to whether it matches your workflow. It is maintained by goklab; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
check_codeAnalyze a code snippet for security issues
check_projectScan multiple files with security scoring (A-F)
scan_directoryScan a project directory from disk
scan_stagedPre-commit scan of git-staged files — **diff-aware** (blocks only newly-staged lines; diff_aware:false for whole files)
scan_dependenciesCheck all dependencies for known CVEs (OSV) — annotates each vulnerable package with **reachability** (is it actually imported in your source?)
scan_secretsDetect leaked secrets, API keys, tokens
check_dependenciesCheck individual packages against OSV
check_package_healthTyposquat detection, maintenance status, adoption metrics
compliance_reportMap security findings to compliance controls (SOC2, PCI-DSS, HIPAA, GDPR, ISO27001, EU AI Act)
export_sarifSARIF v2.1.0 export for CI/CD integration
get_security_docsSecurity best practices and guides
fix_code**Auto-fix suggestions** with concrete patches for AI agents
secure_this**Close the loop** — scan, apply only the fixes that verifiably land (each re-scanned, rolled back on regression), return the verified code + a definition-of-done gate
audit_configAudit project configuration files for cross-file security misconfigurations

How to install the Guardvibe MCP server

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": ["-y", "guardvibe"],
      "env": {
        "ANTHROPIC_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ANTHROPIC_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Guardvibe to check code.
  • Use Guardvibe to check project.
  • Use Guardvibe to scan directory.

Frequently asked questions

It connects Guardvibe to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (check_code, check_project, scan_directory, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Guardvibe directly.