Skip to content
Gemini CLI

docapi for Gemini CLI

io.github.doc-api-llc/docapi

Generate PDFs, screenshots, and documents via any MCP-compatible AI agent.

client:Gemini CLI transport:stdio runtime:npm

Install docapi 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": {
    "docapi": {
      "command": "npx",
      "args": [
        "-y",
        "@docapi/mcp"
      ],
      "env": {
        "DOCAPI_API_KEY": "<DOCAPI_API_KEY>"
      }
    }
  }
}

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

docapi in other clients