Skip to main content
Commands

vg serve

Start Vibgrate AI Context — the local, offline MCP server that serves your code map, drift, and version-correct library docs to any AI assistant. No account, nothing uploaded.

Overview

vg serve starts Vibgrate AI Context — a local, fully offline MCP (Model Context Protocol) server that gives your AI assistant access to your code map, offline drift score, and version-correct library docs.

All tools are read-only. Nothing is uploaded. No account required.


Usage

vg serve
FlagDefaultDescription
--httpServe over streamable HTTP instead of stdio
--port <n>7437Port for --http
--host <h>127.0.0.1Host for --http
--savingsRecord local, counts-only usage savings (opt-in)

Wiring to Your AI Assistant

Use vg install to automatically wire vg serve into your assistant's MCP config:

vg install claude      # Claude
vg install cursor      # Cursor
vg install windsurf    # Windsurf
vg install --all       # All supported assistants

Or wire manually — point your assistant to vg serve as an stdio MCP server.


Related

  • vg install — Auto-wire to your AI assistant
  • vg build — Build the code map first
  • vg lib — Version-correct library docs

Example use cases

Expand any use case to watch a live replay of the real @vibgrate/cli running against one of our test repositories. Nothing executes in your browser — these are recordings of actual runs, with the scan time shown as of now.

vg serve --http

Related Documentation