Skip to content
Gemini CLI

Petstore MCP Server for Gemini CLI

ai.com.mcp/petstore

Swagger Petstore API (v1.0.27) as MCP for testing and prototyping powered by the HAPI MCP server

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

Install Petstore MCP Server in Gemini CLI

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

{
  "mcpServers": {
    "petstore": {
      "httpUrl": "https://petstore.run.mcp.com.ai/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

Petstore MCP Server in other clients