Gemini CLI
OAuth (No API Key)

Gemini CLI Setup

Connect Ad Superpowers to Google Gemini CLI for AI-powered marketing insights in your terminal.

1

Install Gemini CLI

Install Gemini CLI globally via npm. Requires Node.js 18+.

npm install -g @google/gemini-cli
2

Configure Ad Superpowers

Add Ad Superpowers to your ~/.gemini/settings.json. Create this file if it doesn't exist. Gemini CLI discovers the OAuth login automatically, so no API key is stored:

{
  "mcpServers": {
    "ad-superpowers": {
      "httpUrl": "https://mcp.adsuperpowers.ai/v1"
    }
  }
}
3

Sign in with OAuth

Start Gemini CLI, then run /mcp auth and choose ad-superpowers to approve access in your browser. Tokens are cached and refreshed for you.

gemini
/mcp auth
4

Verify Installation

Run /mcp list inside Gemini CLI. You should see ad-superpowers with 51 tools available. Try asking about your marketing data!

/mcp list

Tips

  • Prefer an API key? Store it in `~/.gemini/.env` (for example `AD_SUPERPOWERS_KEY=YOUR_API_KEY`) and add a headers block to the server config: `"headers": { "Authorization": "Bearer $AD_SUPERPOWERS_KEY" }`.
  • You can use `url` instead of `httpUrl` for the server endpoint.
  • Set `"trust": true` in the config to bypass tool confirmations (use with caution).

External Resources

Having trouble? Check our troubleshooting guide or contact support.

Cookies on this site

We use analytics cookies to see how the site is used. They load only if you accept, and you can change your choice at any time. Read our privacy policy.