Introduction
Work your Instagram DMs from Copilot CLI. You don't need a Meta developer app or any code. You add one Winly server to Copilot 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 Copilot CLI.
- Meta's official API. No shared passwords and no browser cookies.
- A sales pipeline underneath. Copilot CLI gets stages, tags, owners and reports along with your messages.
- You choose who presses send. Copilot CLI can draft replies for you to approve, or reply for you. You set this in Copilot CLI.
Connecting Instagram DMs to GitHub Copilot CLI using Winly
What you need
- GitHub Copilot CLI with a Copilot subscription.
- If your organization gives you Copilot and has set an MCP allowlist policy, only servers on that list can run.
- A free Winly account with an Instagram professional account or a Facebook Page connected.
- A Winly MCP API key. GitHub's docs pass credentials to remote servers in headers, so this guide uses the X-API-Key header.
Copy this command and run it in your terminal.
copilot mcp add --transport http --header "X-API-Key: YOUR_MCP_API_KEY" winly https://app.sbccrm.com/bld/api/mcpThe server URL on its own:
https://app.sbccrm.com/bld/api/mcpX-API-Key header instead. See the Winly docs for where to find your key. Keep it private.Then 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 Copilot CLI to your own Instagram and Facebook inbox. Copilot 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.
- Create a Winly API key
In Winly, go to Settings > MCP > MCP API Keys and select Create API Key. Copy the key and keep it private.
- Add the Winly server
Run this in your terminal. Put your key in place of YOUR_MCP_API_KEY. Copilot CLI saves Winly to ~/.copilot/mcp-config.json.
Terminalcopilot mcp add --transport http --header "X-API-Key: YOUR_MCP_API_KEY" winly https://app.sbccrm.com/bld/api/mcp - Or use the form inside the CLI
In Copilot CLI, enter /mcp add. Type winly as the Server Name, pick HTTP as the Server Type and paste the Winly URL. In HTTP Headers, enter {"X-API-Key": "YOUR_MCP_API_KEY"}. Press Ctrl+S to save.
Copilot CLI/mcp add - Check the connection
Run /mcp show winly in Copilot CLI. It shows Winly's status and the tools it offers.
Copilot CLI/mcp show winly - Ask a first question
Ask: Which leads haven't replied this week? You can name Winly in your prompt so Copilot uses its tools.
Setup from Copilot CLI's docs, read Nov 19, 2026: Adding MCP servers for GitHub Copilot CLI (GitHub Docs).
Things to ask
- "Use Winly to find leads who haven't replied this week."
- "What's our response rate by teammate this month?"
- "List contacts added this week with stage and owner and save them as a CSV in this repo."
- "Draft a reply to my newest Instagram DM. Don't send it yet."
If it won't connect
- Winly doesn't show up? Run copilot mcp list to see every server Copilot found. Run copilot mcp get winly to see its config and whether it's on.
- Winly is turned off? Run /mcp enable winly in Copilot CLI, or copilot mcp enable winly in your terminal.
- Winly won't run on a work account? Your organization may have an MCP allowlist policy. Ask your GitHub admin to allow the Winly server.
- Winly says the key is wrong? Check the header is X-API-Key with your full key. If you removed the key in Winly, create a new one and add Winly again.
- You set Winly up in VS Code and Copilot CLI can't see it? Copilot CLI doesn't read .vscode/mcp.json. Add Winly with the copilot mcp add command above.