viaSocket Help

Gemini CLI Integration

Connect Gemini CLI to 2,500+ apps via Mushroom MCP

#

Overview

Mushroom is viaSocket's MCP server platform. Connect Google's Gemini CLI to Mushroom to enable powerful real-world automation — directly from your command line.


#

Installing Gemini CLI

First, set up Gemini CLI if you haven't already.


#

Configuring Mushroom MCP in Gemini CLI

  1. Create or edit your settings.json file:

    • User-wide: ~/.gemini/settings.json

    • Project-specific: .gemini/settings.json

  2. Add the following JSON configuration, replacing the placeholder URL with your MCP Endpoint URL from your Mushroom cluster dashboard

  3. Save the file and restart Gemini CLI to activate the connection

{
  "mcpServers": {
    "mushroom": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.viasocket.com/mcp/your-unique-id",
        "--transport",
        "http-only"
      ],
      "trust": true
    }
  }
}

Copy your MCP Endpoint URL or the ready-made JSON config directly from your Mushroom cluster dashboard.

Caution: Treat your MCP Endpoint URL like a password! It can be used to run tools attached to this server and access your data.