Skip to content
Gemini CLI

ncp for Gemini CLI

io.github.portel-dev/ncp

N-to-1 MCP Orchestration. Unified gateway for multiple MCP servers with intelligent tool discovery.

client:Gemini CLI transport:stdio runtime:npm

Install ncp 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": {
    "ncp": {
      "command": "npx",
      "args": [
        "-y",
        "@portel/ncp"
      ],
      "env": {
        "NCP_DEBUG": "<NCP_DEBUG>",
        "NCP_MODE": "<NCP_MODE>",
        "NO_COLOR": "<NO_COLOR>"
      }
    }
  }
}

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

ncp in other clients