Skip to content
MCP server

Guardvibe

Deterministic security scanner for AI-written code with 670 rules and 39 tools

Runs locally

Guardvibe is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, VS Code
Runs
Locally
Version
3.82.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add guardvibe -- npx -y guardvibe

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": [
        "-y",
        "guardvibe"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": [
        "-y",
        "guardvibe"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": [
        "-y",
        "guardvibe"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "guardvibe": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "guardvibe"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add guardvibe -- npx -y guardvibe

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.guardvibe]
command = "npx"
args = ["-y", "guardvibe"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": [
        "-y",
        "guardvibe"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user guardvibe npx -- -y guardvibe

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "guardvibe": {
          "command": "npx",
          "args": [
            "-y",
            "guardvibe"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Guardvibe

GuardVibe is aimed at developers who ship web apps built with AI coding agents. The pitch is that a model cannot know a CVE published after its training cutoff, cannot give the same result every run, cannot hold a whole repo in context and cannot objectively review its own code, so GuardVibe does those four things. Results are content-hashed so the same code gives the same findings, CVE rules for package versions are refreshed daily from GHSA, OSV.dev and CISA KEV, and cross-file taint and auth-coverage checks look across every route.

Rules are tuned to stacks agents generate, such as Next.js, Supabase, Stripe and Clerk, plus 68 AI and MCP security rules for things like tool-description prompt injection and excessive agent permissions. The secure_prompt tool rewrites a coding prompt before generation so security requirements are included, and fix_code returns concrete patches an agent can apply. There is also a CLI, a doctor command for AI host checks, a pre-commit hook, SARIF output for GitHub Actions, and compliance mapping for SOC2, PCI-DSS and HIPAA.

It runs locally via npx with no account, API keys or cloud, and is published under the Apache 2.0 licence.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

secure_prompt
Analyse a coding prompt and embed security requirements before generation.
fix_code
Return concrete patches and structured edits for findings.

What it does

Daily CVE rules
Dependency rules refreshed from GHSA, OSV.dev and CISA KEV.
Deterministic results
Same code gives the same findings on every run.
Whole-repo analysis
Cross-file taint and auth-coverage checks, aware of sanitizers.
Prompt hardening
secure_prompt adds severity-ranked security requirements before generation.
Auto-fix patches
fix_code returns structured edits for common issues.
AI and MCP rules
68 rules for prompt injection, MCP tool abuse and agent permissions.
CI and hooks
Pre-commit hook and SARIF export for GitHub Actions.

Good for

  • Scan AI-generated Next.js and Supabase code for auth gaps
  • Catch vulnerable package versions published after a model's cutoff
  • Harden a coding prompt before the agent runs
  • Apply mechanical fixes for hardcoded keys or missing rate limits
  • Upload SARIF results to a repository's Security tab

Pricing

Open source

Apache 2.0; optional premium rule packs mentioned

Guardvibe FAQ

Does Guardvibe need an account or API key?

No. The README says it runs 100% locally with no API keys or cloud.

How do I set Guardvibe up in Claude Code?

Run npx guardvibe init claude, which writes the MCP config, auto-scan hooks and security rules.

Which clients does Guardvibe support?

Claude Code, Cursor, Gemini CLI, Codex, VS Code with Copilot, Windsurf and other MCP-compatible agents.

How does Guardvibe compare with traditional SAST?

The README says it has fewer rules (about 670 versus 5000 or more) but is built for AI agents, and recommends traditional tools for deep AST analysis and enterprise dashboards.

Is Guardvibe free?

Yes. Guardvibe is open source, so you can use and self-host it for free.

How do I add Guardvibe to Claude Code?

Run this command in your terminal: claude mcp add guardvibe -- npx -y guardvibe

What are the best alternatives to Guardvibe?

The closest alternatives to Guardvibe are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers