Skip to content
Gemini CLI

ContractGate for Gemini CLI

io.github.nightmoose/contractgate

Infer, dry-run, deploy, and inspect ContractGate semantic data contracts.

client:Gemini CLI transport:stdio runtime:npm

Install ContractGate 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": {
    "contractgate": {
      "command": "npx",
      "args": [
        "-y",
        "@contractgate/mcp-server"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "<CONTRACTGATE_API_KEY>",
        "CONTRACTGATE_BASE_URL": "<CONTRACTGATE_BASE_URL>"
      }
    }
  }
}

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

ContractGate in other clients