Skip to content
Gemini CLI

OnlyMCP for Gemini CLI

com.only-mcp/onlymcp

Skills, agents and memory in the cloud, plus a gateway to your other MCP servers.

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

Install OnlyMCP in Gemini CLI

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

{
  "mcpServers": {
    "onlymcp": {
      "httpUrl": "https://only-mcp.com/api/mcp"
    }
  }
}

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

OnlyMCP in other clients