Skip to content
Gemini CLI

mcp-gateway (OpenAPI to MCP) for Gemini CLI

io.github.fetch-hive/mcp-gateway

OpenAPI or local API to MCP server, with a public HTTPS tunnel. Rust CLI, any MCP client.

client:Gemini CLI transport:stdio runtime:npm

Install mcp-gateway (OpenAPI to MCP) 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": {
    "mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@fetch-hive/mcp-gateway"
      ],
      "env": {
        "MCP_GATEWAY_TOKEN": "<MCP_GATEWAY_TOKEN>"
      }
    }
  }
}

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

mcp-gateway (OpenAPI to MCP) in other clients