Skip to content
Gemini CLI

SFW API for Gemini CLI

dev.sfwapi/mcp

Nudity detection for images, GIFs and videos: a level from 0 to 3 and a blocked or allowed verdict.

client:Gemini CLI transport:streamable-http runtime:npm

Install SFW API in Gemini CLI

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

{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://api.sfwapi.dev/mcp"
    }
  }
}

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

SFW API in other clients