Vibgrate AI Context
OfficialProvides drift and vulnerability analysis for PHP projects using Composer-managed dependencies.
Provides drift and vulnerability analysis for JVM projects using Gradle-managed dependencies.
Enables scanning npm-managed projects for dependency drift, known vulnerabilities, and upgrade impact, helping prioritize fixes.
Provides drift and vulnerability analysis for .NET projects using NuGet packages.
Lists local models available through Ollama, enabling AI agents to discover and use local inference options.
Retrieves cited OWASP/CWE security standards and best practices for code symbols.
Supports pnpm-managed projects for dependency drift, vulnerability detection, and upgrade impact analysis.
Provides drift and vulnerability analysis for Python projects using Poetry-managed dependencies.
Supports Yarn-managed projects for dependency drift, vulnerability detection, and upgrade impact analysis.
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., "@Vibgrate AI ContextShow me the impact of changing the authentication service"
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.
vg answers three questions for any repo:
What is this codebase? — A deterministic code graph: call trees, import paths, impact surfaces, dependency facts.
How far behind is it? — A ranked DriftScore (0–100) with runtime/framework lag, dependency age and EOL proximity, and a prioritized fix list. Exposure is scored separately as a RiskScore; the two together are the DriftRisk Index. The full methodology — formulas, sources, and limitations — is published as a whitepaper under CC BY 4.0 (DOI 10.5281/zenodo.21336304).
Can we fix it here? — VG Code, a coding agent whose search tool is the code graph, not a grep — in your terminal as
vg codeand as the VG Code panel in Vibgrate for VS Code — plusvg fix, ranked upgrade plans it can apply.
Everything runs on your machine. No API key, no network call, no data leaving your repo unless you explicitly push. The vibgrate command is an alias for vg — they are interchangeable.
See it run
Related MCP server: uacos
Try it in 10 seconds
No install, no signup:
npx @vibgrate/cli scan # drift score + upgrade priorities
npx @vibgrate/cli build # build the code graph
npx @vibgrate/cli ask "what does AuthService do?"
npx @vibgrate/cli code # a coding agent — it asks before every editInstall for repeat runs:
npm install -D @vibgrate/cli
npx vg scan # vg is the primary command; vibgrate is an aliasLocal binaries live in
node_modules/.bin— usenpx vg(or an npm script) unless you install globally.
Use it with your AI assistant
vg serve starts Vibgrate AI Context — a local-first MCP server that
gives any MCP-compatible assistant (Claude, Cursor, Windsurf, Copilot, Gemini
CLI, …) your code map, offline drift, local models, and version-correct
library docs, all from your machine (no account, nothing uploaded; thin
local docs fall through to the hosted catalog unless you pass --local). No
context-window stuffing, no hallucinated APIs. The map keeps itself fresh:
when files change — including edits the assistant itself just made — the next
tool call rebuilds it incrementally before answering, with no watcher or
daemon involved.
Wire it up in one command:
vg install # interactive: pick your assistant(s) and done
vg install --all # install for every detected assistant at onceThis writes the MCP config for your chosen tool(s) and installs a skill that teaches the assistant how to query the graph. After reloading your assistant you get graph-aware answers: call trees, impact analysis, drift findings, version-correct library docs — all from local data. The token savings are measured and published, methodology included, at vibgrate.com/cli/benchmarks/token-savings.
Browse all 21+ supported assistants and their skill descriptions at vibgrate.com/skills.
Tools
vg serve exposes 19 MCP tools:
orient — start here: project overview, entry points, where to look first.
search_symbols — find a symbol by name or literal string.
query_graph — find code by meaning: symptoms, relationships, what-breaks-if.
get_node — inspect one symbol: signature, callers, callees, area.
find_path — shortest connection between two symbols.
impact_of — blast radius of a change: dependents, files, covering tests, risk.
tests_for — which tests cover a symbol.
get_graph_summary — code map overview: counts, languages, top areas and hubs.
list_areas — code areas (communities) by size.
list_hubs — most-depended-on symbols.
get_facts — deterministic facts for a node (contract / invariant / characterization).
guide_node — cited standards and practices for a node (OWASP/CWE).
check_drift — offline dependency inventory with optional git who-added attribution.
vuln_attribution — who introduced each open vulnerability, exposure windows, CRA remediation metrics.
list_vulnerabilities — known vulnerabilities from the last
vg scan --vulns: CVE, severity, CVSS, fixed version.upgrade_impact — what breaks if you upgrade a package: major distance, import blast radius, vulns fixed.
list_models — local models on disk (Ollama / LM Studio / gguf).
resolve_library — resolve a library to its canonical id and the version your project uses.
library_docs — version-correct usage docs for a library, sliced to a token budget.
Prefer the hosted server over your team's scan data? Vibgrate Cloud MCP connects your assistant to Vibgrate Cloud (OAuth 2.1, 51 tools).
Understand any codebase
Build the graph once, query it continuously:
vg build # index the repo (incremental; re-run after changes)
vg show src/auth/service.ts # what this file does, calls, and is called by
vg ask "where is rate limiting enforced?"
vg impact src/db/connection.ts # what breaks if this changes + tests to run
vg path src/api/handler.ts src/db/query.ts # shortest call path between two files
vg tree src/server.ts # call tree rooted at a node
vg insights # overview: hubs, hotspots, untested pathsThe graph is byte-deterministic and reproducible — the same repo always produces the same graph on every machine.
vg share # make the graph committable + auto-updating for the team
vg serve # start Vibgrate AI Context (local-first MCP: code map + drift + version-correct docs)VG Code — write the change, not just the report
VG Code is the coding agent inside Vibgrate CLI. Its search tool is the deterministic code graph — not a grep, not embeddings over chunks — and it runs on a local model or a hosted one, your choice.
vg code # guided: pick a model, then describe tasks
vg code "add a --timeout flag to the scan command"Does it write to your disk? Yes — through steps you approve, and only those. Read-only steps (search, read, list, impact) run without prompting; every edit and every command asks first. --auto runs the same loop with no prompts for CI. Without a terminal and without --auto, vg code refuses to start rather than writing unattended.
Two surfaces, one agent. vg code is the terminal surface. The VG Code panel in Vibgrate for VS Code is the graphical one, and for most people it will be the one they live in: warm sessions between tasks, chat history, inline Approve / Reject cards with diffs, checkpoints, and @-mentions. The extension does not re-implement the agent — it runs the one shipped with this CLI over --stream-json and relays your decisions to it, so terminal, editor, and CI behave the same way.
Why an agent here, and not another chat window?
Search is the graph.
search_coderesolves symbols, callers, and callees from the mapvg buildproduced — so the model gets the three functions that matter, not forty files that mention the word.Blast radius before the edit.
graph_impacttells the model what depends on a symbol before it changes it, andvg testsknows which tests to run after.Version-correct library docs.
library_docspins to the version in your lockfile, so the model writes against the API you actually have.Invented identifiers are blocked, not flagged. Before an edit is written, its replacement body is scanned against the graph's identifier trie. A symbol the graph does not know — and that is not already local to the target file — stops the write.
Local models are first-class, hosted models are one flag away. With a pulled model there is no account and no key, and Code Modes fit the model to the machine. When a task needs more, Vibgrate Relay supplies hosted models on your Vibgrate account — no per-provider API keys — and falls back to your local model if it is unreachable.
It adopts the MCP servers you already have.
.mcp.json(Claude Code),.cursor/mcp.json, and.vscode/mcp.jsonare read and merged with.vibgrate/code.json, which wins on a name clash.Cost is visible. A token/$ meter after each task and on
/cost;vg savingsreports graph-backed calls per model.
Trade-off: no model ships with the CLI, and VG Code is only as good as the model you point it at. A 7B local model is not a frontier model — it buys you privacy, offline inference, and no per-token cost. Relay buys you capacity at a per-token price. Pick the tier that matches the task; the graph grounding is the same either way.
A session, end to end
VG Code · graph-grounded coding · v2026.x
✔ Code map built
✔ Model catalog loaded
◆ Ready — ollama/qwen2.5-coder:7b · graph 48213. Describe a task, or /help.
code › add a --timeout flag to the scan command and use it
→ search_code(query: --timeout flag scan command)
scanCommand (function) src/commands/scan.ts:12
→ graph_impact(symbol: runScan)
3 symbol(s) depend on runScan: …
→ edit_file(path: src/commands/scan.ts, …)
? Apply edit to src/commands/scan.ts? [Y/n] y
✔ edited src/commands/scan.ts
→ run_command(command: npm test -- scan)
? Run `npm test -- scan`? [y/N] y
✔ exit 0 … 12 passing
✔ added a --timeout flag to scan and covered it with tests
+6 -1 across 1 file(s) · via ollama/qwen2.5-coder:7bWhat happened, step by step:
The code map is built or refreshed incrementally — only changed files re-parse.
The model catalog loads and you pick a local model or a hosted provider. Before pulling a local model, a memory pre-flight compares its estimated footprint against available RAM/VRAM and refuses a model this machine cannot run.
Vibgrate Graph (
vg serve) starts as a child process for the life of the session and stops when you exit. Every graph call is attributed to VG Code and the model in use.The agent loops: search → read → assess impact → edit → run.
You approve each mutating step, or it runs unattended under
--auto.Edits land through a deterministic merge, so the change goes exactly where it was meant to.
Approval modes
Mode | Behavior |
Interactive (default) | Read-only steps run freely. Every edit and every command asks first. |
| No prompts. A denylist blocks catastrophic commands — filesystem wipes, |
| One-shot: propose a diff and stop. No tool loop, no commands. Dry-run unless you pass |
--max-steps <n> caps the loop (default 24). --worktree runs the whole session in an isolated git worktree so nothing touches your main tree until you apply it.
Which model — local, or hosted through Relay
Code Modes pick a local model that actually fits this machine, checked against your real RAM, VRAM, and disk before anything downloads:
Mode | Intent |
Spark | Fast, small footprint — quick edits and tight memory |
Flow | Balanced default for day-to-day coding |
Forge | Heavier pack when you have headroom and want more capacity |
vg models # what's set, and what fits this machine
vg models install flow # install the pack (--dry-run to preview)
vg models pull qwen2.5-coder:7bVibgrate Relay is the hosted tier that supplements those local models when a task needs more capacity than the machine has. One Vibgrate account and endpoint, a curated catalog of hosted models, per-token metering against prepaid credit — and no per-provider API keys to manage:
export VIBGRATE_RELAY_TOKEN=… # Relay is then preferred, with local fallback
vg code --provider vibgrate-relay --model <slug>You are not locked to it. --provider also takes ollama, lmstudio, foundry-local, llama-cpp, openrouter, litellm, openai, and together; those API keys are read from the environment only (OPENROUTER_API_KEY and friends), never passed as flags. With no --provider, vg code uses what you have already configured — Relay first if its token is set, then another hosted key, then a local model — and never dials an endpoint you did not set up. --local keeps it on-device.
Tools the agent has
Tool | What it does | Approval |
| Search the code graph — symbols and relations, plus a literal sweep for exact phrases | free |
| Read a file or line range; list files in the map | free |
| Blast radius of changing a symbol | free |
| Version-correct docs for a dependency you actually have installed | free |
| Change the working tree | approved |
| Run tests, builds, anything else | approved |
| Fetch or search the public web — untrusted, secret-redacted, size-capped | approved |
| Drive a browser, work in Jupyter notebooks, delegate a sub-task | approved |
| Tools from your configured MCP servers | free if read-only, else approved |
In-session commands
Command | What it does |
| Revert the files changed by the last task |
| Show the last change |
| Switch model without leaving the session |
| Running token and dollar cost (local models are free) |
| Condense the session so far into one checkpoint recap |
| List commands / quit |
Where state lives
On disk | In the session |
The code map ( | Conversation and step history |
Your config ( | The |
The edits themselves — local and git-reversible | The token/$ meter |
Session store, so | The |
--continue resumes your most recent session: it recaps what was already done for the model and restores /undo.
Configure once
.vibgrate/code.json — flags still override:
{
"provider": "ollama",
"model": "qwen2.5-coder:7b",
"testCommand": "npm test",
"auto": false,
"denyCommands": ["deploy", "kubectl\\s+delete"],
"maxSteps": 24,
"mcpServers": {
"playwright": { "command": "npx", "args": ["-y", "@playwright/mcp"] }
}
}Full key reference — including securityTier, capsule, and modelProfile — is in DOCS.md.
Safety
Secrets files (
.env,.npmrc,.netrc, key material) are never read into a prompt, and credential shapes are redacted from any file the agent does read.Under
--auto, a denylist blocks catastrophic commands. Interactively you see and approve every command yourself.Every change is local and git-reversible.
/undoreverts the last task;--worktreekeeps the whole session off your main tree.Web and browser results are treated as untrusted content, never as instructions.
Measure and manage upgrade drift
vg scan # drift score + risk level + ranked priorities
vg scan --push # same, and upload to Vibgrate Cloud for trend tracking
vg baseline # snapshot current drift for regression gating
vg report # generate a report from a saved scan artifactOne scan gives you:
Overall score (0–100) and risk level (Low / Moderate / High)
Score breakdown — runtime, frameworks, dependencies, EOL
Per-project detail across Node.js/TypeScript, .NET, Python, and Java
Actionable findings ranked by likely impact
SBOM export (CycloneDX / SPDX)
Known vulnerabilities (opt in with
--vulns) — severity, CVSS, the fixing version, and, in a git repo, who introduced them
Find known vulnerabilities and who introduced them
vg scan --vulns checks your installed dependencies against the public OSV database and reports each known vulnerability with its severity, CVSS score, and the version that fixes it — as text, JSON, or SARIF. Add --package-manifest to run it fully offline from a local advisory bundle.
vg scan --vulns # drift score + known vulnerabilities
vg scan --full # drift + vulnerabilities + a banned-dependency reportIn a git repository, every finding is attributed from history: who introduced the vulnerable version, in which commit, and how long you have been exposed. Those exposure windows roll up into per-severity time-exposed and SLA-breach metrics, framed around the EU Cyber Resilience Act (CRA) — so "are we fixing things fast enough?" has a number.
That answers the question about this checkout. For the question a regulator asks — which shipped products contain it — see Vibgrate Evidence below.
vg why lodash # who added a dependency, every version since, and any open vulnerabilities
vg bisect lodash 4.17.21 # the commit where lodash crossed a version line (e.g. reached the fix)Detection and attribution span the whole npm ecosystem (npm, pnpm, yarn) plus pip/poetry, cargo, composer, bundler, go, pub, hex, NuGet, and Maven/Gradle — read from each project's lockfile, so it works whatever you build in.
Your AI assistant sees this too: vg serve exposes list_vulnerabilities, vuln_attribution, and an upgrade_impact tool that tells an agent what an upgrade will cost — version distance, how many files import the package, the vulnerabilities it fixes, and (online, opt in) the breaking-change notes between your version and the latest.
Vibgrate Evidence — answer "which shipped products contain this?"
A scanner tells you about the code in front of you. A regulator asks about the code you shipped — eighteen months ago, at version 3.2.1, into Germany and France, still in its support window. Vibgrate Evidence answers that question as a signed artifact a third party can verify offline, with no account and no network.
It produces evidence, not a verdict. It will not tell you that you are compliant, and it is not legal advice. It gives you a defensible, reproducible answer and the audit trail behind it; the determination and the filing stay yours.
vg evidence init --regime cra # who files, and to which coordinator
vg evidence product add "Acme Gateway" --markets DE,FR --in-scope
vg evidence release acme-gateway 3.2.1 --from sbom.cdx.json --ship-date 2025-02-14
vg evidence exposure CVE-2025-12345 --bundle ./ev # signed answer, exit code for CIWhy freeze a manifest instead of scanning again?
Ships are immutable; your tree is not.
exposurematches against the manifest frozen at ship time, notHEAD. Re-scanning today tells you what you would ship now, which is not the question asked.It refuses to guess. A product bound to a release with no frozen manifest comes back
undeterminedwith a reason, never a confident-lookingnot affected. That distinction is the whole value of the artifact.Jurisdiction-neutral by design. Reporting duties are modeled as regimes: the EU CRA (
--regime cra, applies from 11 September 2026) and DORA incident reporting (--regime dora-incident) ship today. A new jurisdiction is a regime profile, not a new command or a new tool.No model touches a figure. Nothing in the evidence path is generated by a language model. Every number is computed from frozen manifests and advisory data.
Offline end to end.
--offlinewith a local advisory file needs no network, andvg evidence verifyworks on a machine that has never heard of Vibgrate.
Trade-off: the answer is only as good as the manifests you froze. Evidence cannot reconstruct what you shipped before you started recording it — a release you never froze is undetermined, permanently. The value compounds from the day you start, which is the argument for starting now rather than in September.
The lifecycle
Step | Command | What it does |
1. Set up |
| Org, coordinator CSIRT, and the person with filing authority |
2. Register |
| A product with digital elements — markets, classification, scope rationale |
3. Freeze |
| Pin a shipped version to an immutable component manifest, from an SBOM or scan |
4. Ask |
| Which shipped products contain it, at which versions, in which markets, still in support |
5. Prove |
| Re-check the signed answer offline, on any machine |
Between those: vg evidence readiness is a deterministic gap report against the regime's obligations, vg evidence regimes lists the regimes and their clocks, vg evidence drill runs a timed rehearsal against a simulated advisory, vg evidence watch joins the CISA KEV catalog to your frozen manifests, vg evidence pack builds the submission pack a human pastes into the reporting platform, and vg evidence export writes an air-gapped bundle of everything.
What is in a bundle, and what "verified" means
--bundle <dir> writes result.json, a DSSE/Ed25519 in-toto attestation over it (evidence.intoto.jsonl), a VERIFY.md a third party can follow, and — with --tsa <url> — an RFC 3161 trusted-timestamp token (timestamp.tsr).
vg evidence verify reports one of three honest states, and the middle one matters:
State | Meaning |
| Signature checks, the signer is pinned to a trust root you supplied with |
| Cryptographically intact and unmodified, but the signer is not pinned — real, and not yet trusted by you |
| Bad signature, or a |
Exit codes make it a CI gate: 0 no exposure · 2 exposure found · 3 undetermined, needs manual review · 1 operational error.
Evidence state lives in .vibgrate/evidence/. The Ed25519 signing key is minted on first use at .vibgrate/attest-key.pem (mode 0600, with a .pub beside it) unless you point at your own with VG_ATTEST_KEY — back it up, and never commit it.
Track drift over time → create a free workspace
The CLI is fully useful offline. When you want trends across runs and repos — so drift becomes a metric you manage, not a surprise you discover — push scans to a Vibgrate Cloud workspace:
Create a workspace at dash.vibgrate.com and copy your DSN.
Connect and push:
VIBGRATE_DSN="vibgrate+https://<key_id>:<secret>@us.ingest.vibgrate.com/<workspace_id>" \
vg scan --pushUpload is opt-in — nothing leaves your machine until you run --push. Store the DSN as a CI secret, never commit it.
CI integration
Drop vg into any pipeline to turn drift scoring into a quality gate:
# GitHub Actions — drift gate + SARIF upload
- name: Vibgrate scan
env:
VIBGRATE_DSN: ${{ secrets.VIBGRATE_DSN }}
run: npx @vibgrate/cli scan --push --format sarif --out vibgrate.sarif --fail-on error
- name: Upload SARIF
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: vibgrate.sarifGate on drift budgets and regression relative to a baseline:
vg baseline
vg scan --baseline .vibgrate/baseline.json --drift-budget 40 --drift-worsening 5--drift-budget <score>fails the build if drift exceeds your budget.--drift-worsening <percent>fails the build if drift worsens by more than X% vs baseline.
Copy-paste CI templates live in examples/github-actions/. Azure DevOps and GitLab CI snippets are in DOCS.md.
Version-correct library docs
vg lib fetches usage docs pinned to the exact version in your lockfile — never a newer API your code can't call yet:
vg lib react # React docs at your installed version
vg lib express --fn middleware # specific function referenceAI assistants connected via MCP use vg lib automatically when answering questions about library APIs in your project.
SBOM and OpenVEX
vg sbom export --format cyclonedx --out sbom.cdx.json
vg sbom export --format spdx --out sbom.spdx.json
vg sbom delta --from .vibgrate/baseline.json --to .vibgrate/scan_result.json --out delta.txt
vg vex # generate an OpenVEX document for attestationPrivacy & offline-first
No data leaves your machine unless you run
--push/vg push/vg share.Drift scoring reads manifests and configs only. The code graph (
vg build/vg map) and a few extended scanners (code quality, database schema, UI text) read your source locally to compute structural facts and metrics — never a raw source line, and never uploaded as-is; see DOCS.md for exactly what each one reads.Works without login and without any SaaS dependency.
--offlinedisables registry/network lookups;--package-manifest <file>feeds drift scoring a local version bundle.--max-privacysuppresses local artifact writes and high-context scanners;--no-local-artifactsskips writing.vibgrate/*.jsonto disk.vg code --localkeeps model inference on-device: a local model, the local graph, no hosted call and no model-catalog fetch. The agent's own web tools stay available and, like every network step, are approved by you before they run.vg codenever reads a secrets file into a prompt, and redacts credential shapes from files it does read.vg evidenceruns locally:--offlinewith a local advisory file needs no network, andvg evidence verifychecks a bundle on a machine with no account and no connection. Nothing reaches Vibgrate Cloud until you runvg evidence push.
vg scan --offline --package-manifest ./package-versions.zip --max-privacy --format json --out scan.jsonAdd .vibgrate/ to your .gitignore — those are regenerated local outputs.
More on how Vibgrate handles code and data: vibgrate.com/security, and the subprocessor register.
Quick start with AI assistants
Paste this into your AI coding tool (Claude, Cursor, Copilot, Gemini CLI, …):
Set up Vibgrate for local codebase intelligence:
1. Install: npm install -g @vibgrate/cli@latest
2. Build the graph: vg build
3. Wire your assistant: vg install
4. Ask: vg ask "what are the main entry points?"
Then explain the architecture and my top 3 upgrade priorities.See docs/QUICKSTART-PROMPT.md for the full prompt.
Command reference
Under each set, commands are listed A–Z. A short typical path (usual order) is called out where it helps.
Code graph
Typical path: vg build → vg status → vg ask → vg impact → vg share
Command | Description |
| Query the map in natural language |
| Build / update the code map (incremental, deterministic) |
| Build an air-gapped bundle (grammars + graph + library catalog) |
| Graph-grounded coding agent — local or hosted model, every edit and command approved ( |
| Precompute the semantic index for instant |
| Export the map (json / ndjson / graphml / dot / cypher / md / html / SBOM) |
| Deterministic facts for a node (contracts, invariants) |
| Cited standards / practices for a node (free pack) |
| What breaks if you change it — and the tests to run |
| Wire (or remove) Vibgrate AI Context + skill in your AI assistant ( |
| Version-correct, drift-annotated library docs |
| Manage your app's translations — locale projects, keys, and translations in Vibgrate Cloud ( |
| Map insights: overview, most-depended-on code, natural groupings, cross-area smells |
| Code Modes (Spark / Flow / Forge) + local fleet (Ollama / LM Studio / gguf); |
| Manage optional local modules ( |
| How A connects to B (shortest path) |
| Local report of tokens/$ saved vs a grep baseline (estimates) |
| Rebuild the map when files change |
| Start Vibgrate AI Context (local-first MCP: code map + drift + version-correct docs) |
| Make the graph committable + auto-updating for your team |
| Explain a node: what it is, what it calls, what calls it |
| Cache/freshness, counts, staleness |
| Which tests cover a node |
| Call tree rooted at a node |
| What the graph cannot resolve, ranked by blast radius |
Holistic Code Specification (vg hcs)
Deterministic code facts for Rust, Ruby, PHP, Dart, Swift, Scala, C++, COBOL, and VB6 — one NDJSON line per fact, reproducible on any machine, so a fact stream is something you can commit, diff, and gate CI on. Extraction is incremental by default: re-running over an existing stream costs only the delta.
All HCS computation runs in an optional, separately-licensed engine module that executes in a local WASM sandbox — no network calls, no process spawns. It is fetched on first use, or ahead of time with vg module install hcs. When it is unavailable, every vg hcs command exits 6 — never 2, so a CI gate can't mistake "engine missing" for a verdict.
Typical path: vg hcs extract → vg hcs digest / vg hcs map / vg hcs gate
Command | Description |
| Extract facts into an NDJSON stream (incremental by default; |
| Render a fact stream as a readable specification ( |
| Governance gate: diff two streams, fail (exit |
| Build the System Map from a fact stream ( |
| Validate a stream against the HCS spec (Appendix-I conformance code) |
Diagnostics, IDE & runtime
Typical path: vg doctor → vg lsp → vg daemon
Command | Description |
| Local workspace daemon for multi-root graph sessions (IDE / agents): |
| Read-only diagnosis: config, credentials (redacted), map freshness, hosted reachability, MCP launch |
| Isolated local inference host process ( |
| Language server (stdio) — engine behind Vibgrate for VS Code and other thin IDE clients |
| Show production context-policy pin; |
Drift scoring & supply chain
Typical path: vg init → vg scan → vg baseline → vg report → vg fix
Command | Description |
| Create a drift baseline |
| The commit where a dependency crossed a version line ( |
| What is outdated across dependencies (offline; |
| Signed, reproducible regulatory evidence — jurisdiction-neutral regimes (EU CRA first, DORA incident reporting too): |
| Ranked, risk-tiered upgrade plans from the hosted planner — then apply the one you choose |
| Initialise config and |
| Generate a report from a scan artifact |
| Export CycloneDX/SPDX SBOM, diff two artifacts, or emit an OpenVEX document |
| Scan for upgrade drift |
| Comprehensive scan: drift + vulnerabilities + a banned-dependency report |
| Scan and push results to Vibgrate Cloud |
| Also detect known vulnerabilities (OSV; offline via |
| Check for and install updates |
| Who introduced a dependency, its version history, and any open vulnerabilities |
Workspace auth & cloud upload
Local scoring does not require this — nothing leaves your machine until you push.
Typical path: vg login → vg dsn create → vg push → vg logout
Command | Description |
| Generate a DSN token |
| Authenticate the CLI with your Vibgrate workspace (or clear stored credentials) |
| Upload scan results to Vibgrate Cloud |
vg scan [path] [--vulns] [--full] [--format text|json|sarif|md] [--out <file>] [--fail-on warn|error] \
[--offline] [--package-manifest <file>] [--no-local-artifacts] [--max-privacy] \
[--drift-budget <score>] [--drift-worsening <percent>] [--baseline <file>]Full flag and configuration reference: DOCS.md · vibgrate.com/cli · help center · glossary.
Why teams adopt Vibgrate
Most systems don't fail all at once — they accumulate upgrade debt and architectural drift silently until migrations become expensive. vg makes that debt measurable and repeatable — the practice we call Code Drift Intelligence — and gives AI assistants the local context they need to be useful. See how it lands for teams and enterprises, or compare it with what you already run: vs Renovate · vs Dependabot · vs Snyk.
Mode | What you get | Best for |
One-off scan | Fast snapshot of drift score, lag, and findings | Audits, due diligence, migration planning |
CI-integrated scan | Continuous drift signal, SARIF annotations, regression guardrails | Keeping upgrade debt under control long-term |
MCP + graph | AI assistant with real-time, offline codebase context | Day-to-day development, code review, refactoring |
VG Code | A coding agent grounded in the graph — terminal or VS Code panel, local model or Relay, governed edit by edit | Making the change, not just planning it |
Recommended rollout: vg build + vg install now, add vg scan to CI this week, try vg code on one small task.
Known limits
Drift and risk scores are estimates, computed from manifests, lockfiles, and public advisory data. They are a prioritization signal, not a compliance determination or a certification.
VG Code quality tracks the model you choose. No model ships with the CLI. A small local model handles mechanical edits well and struggles with cross-cutting design changes;
vg modelstells you what fits this machine, not what will do the job. Reach for Relay or another hosted model when the task is bigger than the machine.Guided
vg codeneeds a terminal. In CI, pass an instruction plus--auto(or--mock) — the interactive picker never appears, and the agent refuses to run unattended without it.The map is the ceiling. Anything the resolver could not tie to a definition is invisible to
search_codeandgraph_impact. Runvg unknownsto see what the graph is missing, ranked by blast radius.--autois a denylist, not a sandbox. It blocks known-catastrophic commands; it does not confine the agent. Run untrusted instructions in a container, or under--worktreewith--security-tier L1.--verifyre-runs your tests; it does not prove correctness. Failures are fed back for a repair attempt. Passing tests mean passing tests.Vulnerability data is only as current as its source.
--vulnsreports what OSV knows at scan time; offline runs report what is in the bundle you supplied.Vibgrate Evidence produces evidence, not a compliance determination. It supports your obligations under a regime; it does not decide that you meet them, does not certify anything, and is not legal advice. The filing is yours.
Evidence cannot look backwards. Exposure is answered from manifests frozen at ship time. A release you never froze stays
undetermined— there is no way to reconstruct it after the fact.vg evidence watchsurfaces a KEV listing, not a determination. Whether a vulnerability is "actively exploited" for the purposes of a filing is your call, not the tool's.vg evidence verifydoes not re-verify the TSA certificate chain. It confirms the RFC 3161 token's imprint binds toresult.jsonand surfaces the trusted time. For the full chain, useopenssl ts -verify -in timestamp.tsr -data result.json -CAfile <tsa-ca.pem>.
Requirements
Node.js 22+
macOS, Linux, Windows
VG Code additionally needs a model: a local runtime (a Code Mode pack, Ollama, LM Studio, or a GGUF on disk), a Vibgrate Relay token, or an API key for another hosted provider. Run
vg modelsto see what fits this machine.
Command name conflicts
vg is short and occasionally conflicts with other tools (virtualgo, vugu, the oh-my-zsh git verify-commit alias, custom shell aliases, etc.).
vibgrate is an identical alias — same binary, same flags, same behavior. If vg is taken on your system, use vibgrate everywhere instead:
vibgrate scan # same as: vg scan
vibgrate build # same as: vg build
vibgrate serve # same as: vg serveWhen @vibgrate/cli is installed, it registers both bin entries unconditionally. If it detects at install time that vg is already claimed by another tool, it prints a one-line notice pointing you to vibgrate.
Everything else Vibgrate makes
This package — scan, score, and map any repository. Live demo · benchmarks · token savings | |
The same score in your editor, plus the VG Code panel — the graphical surface for | |
Hosted models for VG Code on one Vibgrate account — no per-provider API keys, prepaid per-token credit, local models still the offline path | |
The deterministic local code map behind | |
| |
The hosted MCP server over your workspace data (OAuth 2.1) | |
History, trends, and team rollups. Create a workspace · pricing | |
|
How the scores work: DriftScore · RiskScore · DriftRisk Index · published methodology · public index of real scans · README badges
Reference: package registry · integrations marketplace · glossary · help center · security · mission
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for local-first code intelligence, providing structural code graph, semantic search, and impact analysis to AI agents.1MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first code intelligence and safety layer for AI coding agents. MCP server exposes dependency graph, impact analysis, and AST-compressed repo context, backed by typed local memory, patch-scope safety gates, and git-independent transaction rollback.1MIT
- AlicenseNot gradedqualityAmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.43MIT
- AlicenseNot gradedqualityAmaintenanceA persistent code-intelligence MCP server that builds a queryable knowledge graph of your codebase, enabling AI assistants to perform cross-file structural reasoning, dependency analysis, and blast radius detection.6MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/vibgrate/cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server