Reply to Instagram comments with Gemini CLI

Auto-reply tools post the same line under every comment. Gemini CLI can read each comment and write a reply that answers it. CueEditio lists only the comments you have not replied to yet, so a second run never double-replies.

For Instagram professional accounts · Updated October 2026

One-time setup in Gemini CLI

Paste this to Gemini CLI
Read https://www.cueedit.io/agent.md and set up CueEditio for me. Use my email: you@example.com
Or add it yourself
gemini mcp add --transport http --scope user cueedit https://www.cueedit.io/api/mcp/mcp
# then in Gemini CLI: /mcp auth cueedit
  1. 1.Paste the line above into Gemini CLI. It signs up with an email code and gives you one link.
  2. 2.Open the link, check the email shown, and approve Instagram.
  3. 3.Ask Gemini to list your Instagram accounts.

Ask Gemini CLI

You

gemini -p "Reply to unanswered comments on my last reel with short, friendly answers"

Gemini CLI

Replied to 12 comments on "Editing on a phone". 0 errors.

Example conversation. Post names and counts will be your own.

The CueEditio tools that run

  • list_postsLists recent posts and reels with comment counts so Gemini CLI can pick the ones with the most waiting.
  • list_commentsPulls comments with unhandled_only, so only comments you have not replied to come back.
  • reply_to_commentPosts each public reply under its comment.

How it works

  1. 1.Connect once

    Add the CueEditio MCP to Gemini CLI and connect Instagram.

  2. 2.Say which posts and what tone

    "My last 3 reels, short and friendly, answer questions properly."

  3. 3.Review the drafts

    Gemini CLI shows the replies before posting. Edit any, or say go.

  4. 4.Re-run any time

    Already-answered comments are skipped, so a daily run only touches new ones.

Gemini CLI asks before each tool call unless you trust the server. Leave confirmations on for replies and DMs.

Limits to know

  • Public replies are capped at 600 per hour per account.
  • Replying needs CueEditio Pro ($6 or ₹459 a month). Listing comments is free.
  • CueEditio replies to top-level comments on your own posts. It cannot comment on other people’s posts.

Questions

No. list_comments marks comments you already replied to (replied_by_me), and Gemini CLI asks for unhandled comments only.

Yes. Public replies have no age limit, so you can clear a backlog on reels from months ago. Only DMs are limited to comments from the last 7 days.

Give Gemini CLI two or three of your real replies as examples, or keep a short style note in its instructions. It drafts every reply and shows them to you before posting.

No. The CueEditio MCP can read and reply. It has no tool to hide or delete comments.

This page covers Gemini CLI. Custom MCP apps in the consumer Gemini app are limited by region and plan, so use Gemini CLI if you do not see them.

Connect CueEditio to Gemini CLI

Create an account, connect your Instagram professional account, then add the MCP server above. Reading comments is free; sending replies and DMs needs Pro.

Reply to Instagram comments with other agents

More with Gemini CLI

Comparing tools? CueEditio vs ManyChat, CueEditio vs Postiz, CueEditio vs Blotato.