# Connect Gemini CLI to CommentWatchDog (Instagram and Facebook MCP)

> Connect Gemini CLI to Instagram and Facebook with CommentWatchDog's MCP server. Sign in once, then ask it to build DM automations and remove spam comments.

- MCP address (remote, Streamable HTTP, OAuth sign-in): https://app.commentwatchdog.com/api/mcp
- Server name: commentwatchdog
- Tested by us: 13 November 2026, Gemini CLI 0.68.0: /mcp auth commentwatchdog in a session signed in; 100 tools
- This page for people: https://commentwatchdog.com/mcp/gemini-cli
- Every other app: https://commentwatchdog.com/mcp.md

## For Gemini CLI itself

If you are Gemini CLI: add `https://app.commentwatchdog.com/api/mcp` as a remote MCP server, give your person the page that opens so they can sign in and press Allow, then call `start_here`. It says what the account has and what to do next.

## Connect

1. Run this in your terminal. The `-s user` part keeps it in every folder.

   ```
   gemini mcp add --transport http -s user commentwatchdog https://app.commentwatchdog.com/api/mcp
   ```

2. Inside Gemini CLI, run this, then press Allow on the CommentWatchDog page that opens.

   ```
   /mcp auth commentwatchdog
   ```

3. Ask it: "List my CommentWatchDog channels." It should answer from your account.

- Without `-s user` the server is saved for the current project only.

## No account yet

1. The CommentWatchDog page Gemini CLI opens has a way to create your account. Type your email, then the 6-digit code we send you. Google works too.
2. The first page of your new account is the approval. Press Allow, and a new tab opens to connect your Instagram or Facebook.
3. Gemini CLI can build once one is connected.

A person allows Gemini CLI in a browser. No agent can create the account or give that consent itself.

## What you can ask

| Area | Ask it to | For example |
| --- | --- | --- |
| Automations | Build, change, test and turn on comment to DM, keyword replies, the welcome message and story replies | "When someone comments PRICE on my latest reel, send them the price list in a DM." |
| Flows | Build a flow with questions, branches, lead capture and HTTP steps, test it on the simulator, fix it | "Ask people for their email, then tag them as leads." |
| AI agents | Create an agent, give it knowledge from a link, a file or text, try it, answer its drafts | "Make an agent from our pricing page and test it on three questions." |
| Moderation | Read and change the rules per page, try a comment against them, copy them to other pages | "Hide links and crypto spam on my ads, and copy that to the Instagram account." |
| Comments | Find by words, a regex, the author, the post or a period. Then hide, delete, reply, send a private reply, block or ban | "Find every comment with a WhatsApp number from this week and hide them." |
| Post cleanup | Open an old post or ad, check its comments against your rules, then delete, hide, block or ban what it found | "Check my best ad from last year and delete the spam under it." |
| Results | Read what moderation caught and what each automation did, and explain a run | "Why did Ana not get the DM yesterday?" |
| People | Find people, read their tags and fields, change or export them | "How many people gave their email this month?" |

## It asks before it acts

| It does at once | It asks you first |
| --- | --- |
| Read pages, automations, flows, agents, rules, results and comments | Turn an automation or flow live, pause it, or change it while live |
| Build and change paused automations and flows, and test them | Delete, reply, send a private reply, block or ban |
| Hide, unhide, unblock and unban when no credits are used | Anything that uses comment credits, with the number shown first |

- Before a yes, it shows its work: How many comments or people, a sample of who and what, and the credits it uses.
- Same reply to many people: At most 200 comments a request and 1,000 a day, sent one every 3 seconds, so Meta never reads it as spam.
- Blocking: At most 100 people a request. Ban has no limit: CommentWatchDog hides everything a banned person writes.
- Instagram: Instagram lets no app block. Ban works there.
- Your role and your plan apply: The AI can do what you can do. A feature your plan does not include stays closed.
- What stays in the app: Billing, teammates and answering in the inbox.

## Questions

### Does Gemini CLI need an API key for CommentWatchDog?

No. Gemini CLI signs in with OAuth: it opens a CommentWatchDog page, you press Allow, and it keeps the sign-in. Nothing is pasted.

### How do I disconnect Gemini CLI?

In CommentWatchDog, under Settings › MCP, choose Disconnect next to it. It stops working at once.
