Veri Product Workflow Docs GitHub Download

Connecting Gemini CLI

Veri connects Gemini CLI (gemini) through a project-scoped .gemini/settings.json. This page documents exactly what gets written, where, and how to verify it works. Using a different agent? See Claude Code, Cursor, or Codex CLI.

What Veri writes

Open a work order in Veri and click Start agent session. The roster lists every agent detected on your machine; if Gemini CLI's row says mcp config: veri entry missing, click Set up & launch. Veri writes the veri server entry into .gemini/settings.json inside the project root — the directory that contains veri/, which is where Gemini CLI looks for project-scoped settings:

{
  "mcpServers": {
    "veri": {
      "command": "node",
      "args": [
        "/Applications/Veri.app/Contents/Resources/app/node_modules/@veri/mcp/dist/server.js",
        "/Users/you/code/your-project"
      ]
    }
  }
}

If your project already has a .gemini/settings.json with other settings, Veri adds only the mcpServers.veri entry and leaves everything else in the file as it was.

Veri never touches other servers. It manages only a mcpServers.veri entry of exactly the shape above. Any other entry in the file is preserved untouched. A veri entry Veri doesn't recognize is surfaced as a conflict and never rewritten; a file that doesn't parse is never written at all.

Restart your agent

Agents read MCP config on launch. Set up & launch starts a fresh gemini session in Terminal after writing the file, so the config is picked up. For sessions you start yourself, launch gemini from the project folder after the file exists — an already-running session won't see a config written mid-flight.

Verify it works

Two sides to prove. The server side: Veri's connection screen (Settings → Agent connection) has LIVE CHECK → Verify connection, which launches the server with a real MCP handshake and a search call proving it serves this project — the same script and project root Gemini's config points at. The agent side: in a Gemini CLI session, ask it to search the veri knowledge base — a working connection answers with your project's documents through the veri tools rather than by grepping files.

What the agent gets

The same ten tools every connected agent gets — get_context, get_import_instructions, search, get_document, get_neighbors, file_decision, file_work_order, file_requirement, file_source, file_receipt — detailed in the tool table on the Claude Code page.