Skip to main content
Give Google Antigravity a persistent, local-only memory layer across projects and sessions. Every conversation starts with full context of your architecture decisions, stack preferences, and coding conventions.
Google Antigravity supports MCP servers natively via its settings UI or project-level configuration. No signup or cloud dependencies are required for the local memory tier.

Installation

Option 1: Settings UI

  1. Open the Antigravity settings panel (gear icon).
  2. Navigate to MCP Servers (or Extensions → MCP).
  3. Click + Add MCP Server.
  4. Configure with Name sovseal-memory, Transport stdio, Command npx, Args -y @sovseal/mcp-server.
  5. Save and restart.

Option 2: Project Configuration

Add to your project’s .gemini/settings.json (or create it):

Directing Antigravity with Rules

Google Antigravity loads workspace rules from .agents/rules/ (or .agent/rules/) markdown files. To ensure the agent proactively uses your memory, create .agents/rules/sovseal-memory.md:
You can auto-generate this file by running npx @sovseal/mcp-server onboard --write. The onboard command detects your IDE and writes the correct rules file automatically.
For rules that apply across all projects, append the same memory protocol to your global config at ~/.gemini/GEMINI.md.

Project-Scoped vs. Global Memory

By default, sovseal stores memories globally in ~/.sovseal/db/memories.lance. To scope memories to the current project (preventing cross-project context bleed), set the SOVSEAL_DB_DIR environment variable:

Troubleshooting

Tools Not Appearing

  • Check node version: Antigravity spawns MCP servers as child processes. Ensure node -v reports >= 20.0.0.
  • First-run warmup: On the first invocation, the ONNX embedding model (~22 MB) downloads to ~/.sovseal/models/. Tools may appear as “Connecting…” for 15–30 seconds.

Memory Not Persisting

  • Verify the rules file exists at .agents/rules/sovseal-memory.md (or .agent/rules/sovseal-memory.md).
  • Check that the rules contain the recall_memory and store_memory instructions.
  • Run npx @sovseal/mcp-server mind to inspect what the local memory node currently holds.