Skip to content
Gemini CLI

api mock server for Gemini CLI

io.github.lazymac2x/api-mock-server

Cloudflare Workers MCP server: api-mock-server

client:Gemini CLI transport:streamable-http tools:6

Install api mock server in Gemini CLI

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

{
  "mcpServers": {
    "api-mock-server": {
      "httpUrl": "https://api.lazy-mac.com/api-mock-server/mcp"
    }
  }
}

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

What Gemini CLI can do once it is connected

api mock server in other clients