MCP Integration
Updated

Gemini CLI Setup

Add an InsightfulPipe server to Gemini CLI with gemini mcp add, then authenticate with /mcp auth. After that, Gemini CLI can query your connected accounts from the terminal.

Before you start

  • At least one account connected in InsightfulPipe. See First Connection.
  • The server URL and name from MCP Servers in the app. Names follow the pattern <platform>-mcp, for example google-ads-mcp.

Setup steps

  1. Install Gemini CLI if you haven't already: npm install -g @google/gemini-cli
  2. Run this command to add the server: gemini mcp add --transport http google-ads-mcp https://google-ads.insightfulmcp.com/
  3. In Gemini CLI, type /mcp auth google-ads-mcp to authenticate.
  4. A browser window opens. Log in and click Authorize access.

Once connected, start a new session and ask about your data.

Add every connected source at once

gemini mcp add --transport http main-mcp https://main.insightfulmcp.com/

Then run /mcp auth main-mcp and authorize access.

Example prompts

  • "What was my Google Analytics 4 traffic by channel for the last 7 days?"
  • "Show engagement on my Facebook Page posts from the last 7 days."

Need help?

If you need help connecting a source or setting up an AI workflow, the team can help you get from first sync to production faster.