Connect Gemini

Add the Whippy MCP server to Gemini Apps, Gemini CLI, and Gemini Enterprise.

Whippy works with Gemini over remote MCP (Streamable HTTP) and OAuth. Use Gemini Apps at gemini.google.com for the web and mobile apps, Gemini CLI in your terminal, or Gemini Enterprise with a client ID and secret an organization admin creates in Whippy. Gemini Apps and Gemini CLI sign in with your Whippy account. No API key.

📘

Which Gemini product

Gemini Apps and Gemini CLI register themselves with Dynamic Client Registration (public PKCE, no client secret). Gemini Enterprise does not. An organization admin creates a confidential client under Client credentials and pastes the client ID and secret into Google. The same form works for other connectors that ask for a secret. See Gemini Enterprise.

Gemini Apps (gemini.google.com)

Custom MCP apps in Gemini Apps are available for eligible personal Google Accounts (US, English, Keep Activity on). Work or school accounts aren't supported for custom apps yet. See Google's custom apps help.

  1. On your computer, go to gemini.google.com.
  2. Open Settings → Connected Apps (or Personal Intelligence → Connected Apps).
  3. Under Custom apps, select Add a custom app (or use the add field if it's your first one).
  4. Enter the MCP server URL https://api.whippy.co/mcp.
  5. Leave advanced credentials empty. Whippy supports Dynamic Client Registration, so Gemini discovers OAuth and registers itself.
  6. Select Next and follow the prompts. Sign in to Whippy in the browser, choose your workspace, and approve.

To steer a prompt at Whippy, type @ and select the connected app.

Disconnect

In Connected Apps, turn the app off, disconnect it, or remove it. Then disconnect Gemini in Whippy under Connected apps.

Gemini CLI

Gemini CLI talks to remote MCP servers over Streamable HTTP and runs OAuth with PKCE. Official reference: MCP servers with Gemini CLI.

Add the server

Prefer the CLI, then pin the OAuth callback Whippy accepts:

gemini mcp add --transport http --scope user whippy https://api.whippy.co/mcp

That writes to ~/.gemini/settings.json. Open the file and set the whippy entry so OAuth uses Whippy's approved local callback (Gemini CLI otherwise picks a random port and sign-in fails):

{
  "mcpServers": {
    "whippy": {
      "url": "https://api.whippy.co/mcp",
      "type": "http",
      "oauth": {
        "enabled": true,
        "redirectUri": "http://localhost:7777/oauth/callback"
      }
    }
  }
}
🚧

Keep redirectUri exactly http://localhost:7777/oauth/callback

Whippy only accepts that Gemini CLI callback. Without a fixed redirectUri (or OAUTH_CALLBACK_PORT=7777), Gemini CLI uses a random port and registration fails with invalid_redirect_uri. Port 7777 must be free while you sign in.

You can also set the port with the environment variable instead of redirectUri:

OAUTH_CALLBACK_PORT=7777 gemini

If you use the env var, still keep "oauth": { "enabled": true } on the server entry so auth is explicit.

Older configs may use "httpUrl" instead of "url" with "type": "http". Prefer url + type.

Sign in

Start Gemini CLI and run:

/mcp auth whippy

Your browser opens the Whippy sign-in page. Sign in, choose your workspace, and approve. Tokens are stored locally (Gemini CLI keeps them under your Gemini config directory).

Check status with /mcp or /mcp list.

Use it

Ask in plain language once the server shows as connected:

Using whippy, list my channels and show the last 10 messages on our main number.

Remove

gemini mcp remove whippy

Then disconnect Gemini in Whippy under Connected apps.

Gemini Enterprise

Gemini Enterprise custom MCP connectors use a confidential OAuth client. Google asks for an authorization URL, a token URL, a client ID, and a client secret. That client is not created by Dynamic Client Registration. The same Client credentials section on Connected apps is used for Copilot Studio Manual and any other connector that pastes a secret.

Official references: Set up a custom MCP server and Business Edition custom MCP connectors.

Create credentials in Whippy

An organization admin does this once per connector:

  1. In Whippy, open Settings → Connected apps.
  2. Under Client credentials, select Add.
  3. Choose Gemini Enterprise. Whippy registers https://vertexaisearch.cloud.google.com/oauth-redirect and requires PKCE.
  4. Copy the client secret before you close the dialog. Whippy shows it once. If you lose it, delete the credential and create another.
  5. Copy the client ID, authorization URL, token URL, and MCP server URL.

Add the connector in Gemini Enterprise

In the custom MCP server form:

  1. Set the MCP server URL to the value Whippy shows (production: https://api.whippy.co/mcp). Transport is Streamable HTTP.
  2. Paste the authorization URL, token URL, client ID, and client secret from Whippy.
  3. Enter the scope names your connector needs, separated by spaces. See OAuth scopes. Do not add offline_access. Whippy does not advertise that scope, and an unknown scope fails sign-in. Refresh tokens are issued with the authorization-code grant without it.
  4. Turn Enable PKCE Support on. Whippy requires PKCE (S256) for this client. Leaving it off fails authorization.
  5. Leave Use HTTP Basic Authentication on. That is client_secret_basic, which this client accepts. client_secret_post also works if you turn Basic off.
  6. Save and sign in to Whippy. Choose your workspace and approve.

Disconnect

Delete the credential in Whippy under Settings → Connected apps → Client credentials. That revokes its tokens and removes the OAuth client. Then remove the custom MCP server in Gemini Enterprise.


Did this page help you?