Skip to content
Gemini CLI

MochiPDF for Gemini CLI

io.github.cbolgiano/mochipdf

Remote MCP server for HTML-to-PDF and screenshots with OAuth and API-key auth.

client:Gemini CLI transport:streamable-http

Install MochiPDF in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "mochipdf": {
      "httpUrl": "https://mochipdf.com/mcp"
    }
  }
}

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

MochiPDF in other clients