Skip to content
Gemini CLI

Trail for Gemini CLI

dev.usetrail/trail

Issue tracker and durable project memory for your coding agent, scoped to the folder you open.

client:Gemini CLI transport:stdio runtime:npm

Install Trail in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "trail": {
      "command": "npx",
      "args": [
        "-y",
        "usetrail"
      ],
      "env": {
        "TRAIL_API_URL": "<TRAIL_API_URL>",
        "TRAIL_PROJECT": "<TRAIL_PROJECT>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Trail in other clients