Gemini CLI
API Key Required

Gemini CLI Setup

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

API Key Required

This setup requires an API key. Get your key from the API Keys page in your dashboard.

1

Install Gemini CLI

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

npm install -g @google/gemini-cli
2

Store Your API Key Securely

Create a .env file in ~/.gemini/ to store your Ad Superpowers API key securely:

# ~/.gemini/.env
AD_SUPERPOWERS_KEY=YOUR_API_KEY
3

Configure Ad Superpowers

Add Ad Superpowers to your ~/.gemini/settings.json. Create this file if it doesn't exist:

{
  "mcpServers": {
    "ad-superpowers": {
      "url": "https://mcp.adsuperpowers.ai/v1",
      "headers": {
        "Authorization": "Bearer $AD_SUPERPOWERS_KEY"
      }
    }
  }
}
4

Verify Installation

Start Gemini CLI and check that Ad Superpowers is connected:

gemini
/mcp list
5

Start Using

You should see ad-superpowers with 39 tools available. Try asking about your marketing data!

Tips

  • Use `/mcp list` in Gemini CLI to verify the connection and see all available tools.
  • You can also use `httpUrl` instead of `url` for HTTP streaming transport.
  • Set `"trust": true` in the config to bypass tool confirmations (use with caution).

External Resources

Next Steps

Having trouble? Check our troubleshooting guide or contact support.

Cookies on this site

Ad Superpowers uses analytics (Google Analytics, PostHog) on this website. These load only if you accept. You can change your choice at any time via cookie settings in the footer. See our privacy policy.