Gemini + Zaprep

Manage Instagram and Facebook automations from Gemini

Add Zaprep to the Gemini app, Gemini CLI or Google Antigravity. Gemini can then build automations, read your numbers and export leads.

Gemini app, CLI and AntigravityOAuth sign-inInstagram and Facebook Pages
GeminiZaprep connected

Summarize how my Instagram automations did this week compared to last week.

✓ get_analytics✓ get_automation_metrics

DMs sent: 1,240 this week, up 18% on last week.

Best mover: FREEBIE, up from 120 to 310 DMs after Tuesday’s reel. Slowest: LINK, down 22%.

Example conversation. Real tool names.

AI assistant setup

How do I connect Zaprep to Gemini?

Gemini app: custom apps need a Google AI Pro (US) or Ultra plan, added from the web app first. Gemini CLI and Antigravity: any signed-in account.

Server URL
https://www.zaprep.com/api/mcp
Sign-in
OAuth, or a Zaprep API key for scripts
Cost
Included on every Zaprep plan, Free included
New automations
Saved paused until you turn them on
Platforms
Instagram and Facebook Pages
Revoke
Settings, then AI tools in Zaprep

Zaprep MCP server URL

https://www.zaprep.com/api/mcp
  1. 1

    Gemini app

    On gemini.google.com open Settings & help, then Connected Apps, and add a custom app. Paste the MCP URL, accept Google’s notice and sign in to Zaprep. It then shows in the mobile app too.

  2. 2

    Gemini CLI

    Run the first command below, then /mcp auth zaprep inside Gemini CLI to sign in.

  3. 3

    Google Antigravity

    In the agent panel open MCP Servers, then Manage MCP Servers, then View raw config, and add the serverUrl block below.

  4. 4

    Ask Gemini

    Ask about your accounts, automations or contacts in plain English.

Gemini CLI and Antigravity
# Gemini CLI
gemini mcp add --transport http zaprep https://www.zaprep.com/api/mcp
# then, inside Gemini CLI:  /mcp auth zaprep

# Antigravity raw config
{
  "mcpServers": {
    "zaprep": { "serverUrl": "https://www.zaprep.com/api/mcp" }
  }
}

Need an API key? Create one in Zaprep. Official Gemini docs: Gemini CLI MCP docs.

Try these

What can you ask Gemini?

Copy a prompt, paste it into Gemini, and adjust the keyword or link.

Weekly numbers

“Give me DMs sent, link clicks and new contacts for the last 7 days.”

New rule

“Create a keyword automation for PLAN on my latest reel and show it to me before turning it on.”

Funnel

“Show the funnel for my FREEBIE automation: triggers, DMs, clicks.”

Leads

“List contacts who shared an email in the last 3 days.”

AI Replies

“Is AI Replies on for my Facebook Page? Show me its fallback message.”

Comments

“Summarize what people asked in the comments on my last post.”

40+ tools

What can Gemini do with Zaprep?

Everything you do in the Zaprep dashboard, except billing, is available as an MCP tool.

Create automations

Comment-to-DM, DM keyword, story reply and follow-gated flows, from a post link or a plain description. Saved paused until you turn them on.

create_automationresolve_postduplicate_automation

Read the numbers

DMs sent, link clicks, followers gained and the full funnel for every automation.

get_analyticsget_automation_metricsget_automation_funnel

Fix what broke

Find out why a rule skipped, then pause, edit or switch it back on.

troubleshoot_automationget_automation_activitytoggle_automation

Get AI suggestions

Turn captions into ready-to-approve keyword automations, one post or all of them.

suggest_automationbulk_suggest_automationsanalyze_post

Work your leads

List and export everyone who shared an email or messaged you.

list_contactsexport_contacts_csv

Run the rest

Scheduled automations, short links, link in bio, media kit and AI replies.

create_scheduled_automationcreate_linkupdate_link_in_bio

Best for: People who already use Gemini every day, in the browser or the terminal.

See every tool · What it can set up on Instagram

Sign-in

OAuth or API key?

Gemini supports both. OAuth is quicker on your own machine.

OAuth GeminiAPI key Gemini
SetupPaste the URL, sign in to ZaprepCreate a key in Settings, then API keys
Best forChat apps and editors on your own machineCLIs, CI, servers and workflow tools
Credentials storedShort-lived tokens, refreshed automaticallyOne zap_ key you keep secret
RevokeDisconnect it in Settings, then AI toolsDelete it in Settings, then API keys

Limits

What Gemini cannot do in Zaprep

  • Send DMs or comment replies outside your automations. The AI sets up rules; Zaprep sends through Meta’s official APIs.
  • Turn on a new automation it created unless you, or the AI after you confirm, switch it on.
  • Touch billing, payments or your plan.
  • Connect, reconnect or remove your Instagram and Facebook accounts.
  • Read your Instagram password. Accounts are connected with Meta login, and the AI signs in to Zaprep, not Instagram.

Channels

Which platforms can Gemini automate?

One connection covers every account in your Zaprep workspace.

Gemini + Zaprep FAQ

Yes. Add it as a custom app under Settings & help, then Connected Apps. Custom apps need a Google AI Pro (US) or Ultra plan, and Google shows a notice that the app runs outside its control before you connect.

In Gemini CLI, yes: put "httpUrl" and a "headers" block with "Authorization": "Bearer zap_..." in ~/.gemini/settings.json. The Gemini app always signs in with OAuth.

In ~/.gemini/settings.json for all projects, or .gemini/settings.json inside one project.

Yes. Zaprep runs its own remote MCP server at https://www.zaprep.com/api/mcp. No Zapier or other middleman is involved.

Yes. MCP access is included on every Zaprep plan, Free included. Your plan’s usual limits on automations and DMs still apply.

To run automations, yes: connect an Instagram professional account or a Facebook Page in Zaprep first. Without one the AI can only read your Zaprep settings.

Instagram professional accounts and Facebook Pages today. TikTok and YouTube are coming next.

New automations an AI creates are saved paused, so nothing sends until you or the AI turns it on after you confirm. Edits to an automation that is already on apply right away, and most AI apps ask before running a change. You can disconnect any AI app in Zaprep under Settings, then AI tools.

Yes. Once connected, the AI can list and export the contacts your automations collected, including emails. Only connect AI apps you trust, and disconnect any you stop using.

Open Settings, then AI tools in Zaprep and choose Disconnect next to the app. It is signed out right away. For an API key, delete it under Settings, then API keys.

Last updated . Menu names in other apps change often; the official docs link above has the latest.

Let Gemini run your DM automations

Free plan, no card. Connect Instagram or a Facebook Page, then add Zaprep to your AI tool.