Skip to content
Gemini CLI

preflight for Gemini CLI

io.github.newrelic-experimental/preflight

New Relic MCP server for observing AI coding assistants (Claude Code, Cursor, Copilot, etc.)

client:Gemini CLI transport:stdio runtime:npm

Install preflight 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": {
    "preflight": {
      "command": "npx",
      "args": [
        "-y",
        "@newrelic/preflight"
      ],
      "env": {
        "NEW_RELIC_LICENSE_KEY": "<NEW_RELIC_LICENSE_KEY>",
        "NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>"
      }
    }
  }
}

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

preflight in other clients