Gemini CLI Setup
Connect Ad Superpowers to Google Gemini CLI for AI-powered marketing insights in your terminal.
Install Gemini CLI
Install Gemini CLI globally via npm. Requires Node.js 18+.
npm install -g @google/gemini-cliConfigure 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"
}
}
}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 authVerify Installation
Run /mcp list inside Gemini CLI. You should see ad-superpowers with 51 tools available. Try asking about your marketing data!
/mcp listTips
- 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
Next Steps
Having trouble? Check our troubleshooting guide or contact support.
