Skip to content
Gemini CLI

duke-book for Gemini CLI

io.github.githubdujianfeng/duke-book

Manage Duke Bookmark notes, categories, and plan-enabled knowledge search over MCP.

client:Gemini CLI transport:stdio runtime:npm

Install duke-book 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": {
    "duke-book": {
      "command": "npx",
      "args": [
        "-y",
        "duke-book"
      ],
      "env": {
        "DUKE_API_BASE_URL": "<DUKE_API_BASE_URL>",
        "DUKE_API_TOKEN": "<DUKE_API_TOKEN>"
      }
    }
  }
}

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

duke-book in other clients