Skip to content
Gemini CLI

copilot datagate for Gemini CLI

io.github.afurlane/copilot-datagate

Policy-driven, read-only MCP server for safe database access from AI tools.

client:Gemini CLI transport:stdio runtime:npm

Install copilot datagate 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": {
    "copilot-datagate": {
      "command": "npx",
      "args": [
        "-y",
        "@copilot-datagate/cli"
      ],
      "env": {
        "DATAGATE_PROJECT_ROOT": "<DATAGATE_PROJECT_ROOT>"
      }
    }
  }
}

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

copilot datagate in other clients