Introduction
Work your Instagram DMs from Gemini CLI. You don't need a Meta developer app or any code. You add one Winly server to Gemini CLI, sign in to Winly and ask in plain words.
For the name and inputs of every tool, see the Winly docs.
Also connect Instagram DMs to
Why use Winly?
- One server URL connects your Instagram and Facebook DMs to Gemini CLI.
- Meta's official API. No shared passwords and no browser cookies.
- A sales pipeline underneath. Gemini CLI gets stages, tags, owners and reports along with your messages.
- You choose who presses send. Gemini CLI can draft replies for you to approve, or reply for you. You set this in Gemini CLI.
Connecting Instagram DMs to Gemini CLI using Winly
What you need
- A Winly account. The free plan works.
- An Instagram professional account (Business or Creator) or a Facebook Page.
- Gemini CLI on a Google plan that still includes it. Google's docs say unpaid tier and Google One users moved to Antigravity CLI on June 18, 2026.
- A web browser on the same computer. Google's docs say sign-in won't work over SSH without one, or in a container.
Copy this command and run it in your terminal.
gemini mcp add --transport http -s user winly https://app.sbccrm.com/bld/api/mcpThe server URL on its own:
https://app.sbccrm.com/bld/api/mcpThen follow the steps below.
What is the Instagram DM MCP server, and what's possible with it?
The Winly MCP server connects AI agents like Gemini CLI to your own Instagram and Facebook inbox. Gemini CLI can read your chats, contacts and reports, answer questions and do the follow-up work you ask for.
- Inbox: list open chats, search what people said, and read one lead's history.
- Replies: send text to people who messaged you first, up to 7 days after their last message or reaction. Images, video and audio go out only within 24 hours of the person's last message.
- Pipeline: add tags, change stages, set owners and save notes.
- Reports: quiet leads, reply speed, reply rate, drop-off and the messages that get replies.
- Comments: read comments on your Instagram posts and Facebook Page posts, reply, hide or delete. One private reply per comment, within 7 days.
- Autopilot: review Autopilot's rules, saved knowledge and chats, and add rules or fixes. These tools need Autopilot on in your workspace.
You can send text up to 7 days after the person's last message or reaction. Images, video and audio can go out up to 24 hours after their last message. Winly blocks anything later.
Step-by-step guide
- Create a free Winly account
Go to the Winly signup and choose the Free plan. It's $0 with 300 credits a month and 2 connected accounts. No card needed.
Signup linkhttps://app.sbccrm.com/mcp/signup - Connect Instagram or Facebook
In Winly, connect an Instagram professional account (Business or Creator) or a Facebook Page. Winly connects through Meta's official API.
- Add the Winly server
Run this in your terminal. The -s user flag saves Winly to ~/.gemini/settings.json so it works in every project.
Terminalgemini mcp add --transport http -s user winly https://app.sbccrm.com/bld/api/mcp - Start the sign-in
Open Gemini CLI and run /mcp auth winly.
Gemini CLI/mcp auth winly - Sign in to Winly and approve
Your browser opens the Winly sign-in page. Sign in to Winly and approve.
- Check the connection
Run /mcp list in Gemini CLI. Winly should show as CONNECTED.
Gemini CLI/mcp list - Ask a first question
In Gemini CLI, ask something like "Which leads haven't replied this week?" Lookups of 25 results or fewer cost 0 credits.
Setup from Gemini CLI's docs, read Nov 19, 2026: MCP servers with Gemini CLI | Gemini CLI.
Things to ask
- "Which leads haven't replied this week?"
- "Show me new Instagram DMs from today that still need a reply."
- "Draft a reply to my newest Facebook message. Don't send it yet."
- "Tag everyone who asked about prices in my post comments as hot lead."
If it won't connect
- Winly shows as DISCONNECTED. Run /mcp list to see the error. Check the URL is exactly the Winly URL with no typos.
- Sign-in won't start over SSH or in a container. Gemini CLI needs a browser on the same computer for sign-in. Run the sign-in on a computer with a browser.
- Winly worked before and now asks you to sign in. Your login expired. Run /mcp auth winly again.
- You need more detail on an error. Start Gemini CLI with --debug and try again.
- Gemini CLI says to use Antigravity CLI. Google moved unpaid tier and Google One users to Antigravity CLI on June 18, 2026. You'll need a plan that still includes Gemini CLI.