Skip to content
Gemini CLI

c2n Web Components for Gemini CLI

io.github.code2nguyen/c2n

Exact APIs, examples, theme tokens and markup validation for the c2n (c2-*) Lit web components.

client:Gemini CLI transport:stdio runtime:npm

Install c2n Web Components 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": {
    "c2n": {
      "command": "npx",
      "args": [
        "-y",
        "@c2n/mcp"
      ],
      "env": {
        "C2N_PROJECT_ROOT": "<C2N_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

c2n Web Components in other clients