Introduction
Work your Instagram DMs from Visual Studio. You don't need a Meta developer app or any code. You add one Winly server to Visual Studio, 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 Visual Studio.
- Meta's official API. No shared passwords and no browser cookies.
- A sales pipeline underneath. Visual Studio gets stages, tags, owners and reports along with your messages.
- You choose who presses send. Visual Studio can draft replies for you to approve, or reply for you. You set this in Visual Studio.
Connecting Instagram DMs to Visual Studio using Winly
What you need
- A Winly account. The free plan works.
- An Instagram professional account (Business or Creator) or a Facebook Page.
- Visual Studio 2026, or Visual Studio 2022 version 17.14 or later, on Windows.
- GitHub Copilot in Visual Studio.
- If your company manages Copilot, an admin can turn off MCP or limit it to an allow list.
Copy this into the Visual Studio MCP config.
{
"servers": {
"winly": {
"url": "https://app.sbccrm.com/bld/api/mcp"
}
}
}The 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 Visual Studio to your own Instagram and Facebook inbox. Visual Studio 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 your .mcp.json file
In Visual Studio, create a file at %USERPROFILE%\.mcp.json. A server in this file loads in every solution. Edit it in Visual Studio so the JSON schema applies.
- Add the Winly server
Paste this into the file and save. Visual Studio reloads the servers when you save a valid file.
%USERPROFILE%\.mcp.json{ "servers": { "winly": { "url": "https://app.sbccrm.com/bld/api/mcp" } } } - Sign in to Winly and approve
In the file, select Authentication Required from the CodeLens above the Winly entry. Select Authenticate. A browser window opens. Sign in to Winly and approve.
- Turn on the Winly tools
At the bottom of the chat panel, select Agent from the mode dropdown. Select Tools and turn on the Winly tools. Visual Studio turns new tools off by default.
- Ask a first question
In Copilot chat, ask "Which leads haven't replied this week?" When Copilot asks to use a Winly tool, pick the scope you want from the Confirm dropdown (Allow in Visual Studio 2022). Lookups of 25 results or fewer cost 0 credits.
Setup from Visual Studio's docs, read Nov 19, 2026: Use MCP Servers to Extend GitHub Copilot - Visual Studio (Windows) | Microsoft Learn.
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
- You don't see the Authentication Required CodeLens. Turn CodeLens on in Tools > Options > Text Editor > CodeLens.
- Winly is connected but Copilot can't use it. Switch chat to Agent mode, open Tools and turn on the Winly tools. They start turned off.
- You see an error that the server isn't allowed. Your company uses an MCP allow list. Ask your admin to add Winly's URL.
- You need to sign in again. In .mcp.json, select Manage Authentication from the CodeLens above Winly. Then sign in to Winly and approve.
- Winly rejects the sign-in. Any active member of your Winly workspace can approve. Check that you signed in to the right Winly account, then start the connection again from Visual Studio.
- A reply won't send. Winly sends text only up to 7 days after the person's last message or reaction, and images, video or audio only up to 24 hours after their last message. It blocks anything later. Winly also replies only to people who messaged, commented or reacted first.