MCP / Instagram DMs / Visual Studio

How to connect Instagram DMs to Visual Studio with Winly MCP

Connect Visual Studio to your Instagram DMs. Find leads who went quiet, draft replies, tag contacts and pull sales reports in plain words. Winly handles the sign-in with Meta for you.

Setup from Visual Studio's docs. Sources below the steps.

On this page

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.

For sales teams. Winly also has tools for follower lead scores, ad attribution, keyword reports, VIP lists and assigning leads in bulk. They work on every plan. Want a walkthrough for your team? See a Demo.

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.

%USERPROFILE%\.mcp.json
{
  "servers": {
    "winly": {
      "url": "https://app.sbccrm.com/bld/api/mcp"
    }
  }
}

The server URL on its own:

Server URL
https://app.sbccrm.com/bld/api/mcp

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 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

Step by step7 steps
  1. 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 link
    https://app.sbccrm.com/mcp/signup
  2. 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.

  3. 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.

  4. 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"
        }
      }
    }
  5. 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.

  6. 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.

  7. 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.

Supported tools

Every tool Visual Studio gets when you connect Winly. All 52 tools are on every plan. Autopilot tools need Autopilot on in your workspace. Tools marked Admins only need a Winly admin sign-in. A lookup of 25 results or fewer costs 0 credits, and a bigger list costs 2 or more.

Tools 52
List Inbox Conversations

Lists inbox conversations, newest first, by status, channel or owner.

0 credits up to 25 results
Search Conversations

Finds contacts whose saved conversation snippets match words you give it.

0 credits up to 25 results
Ask About Contact

Gets one contact's details, notes, tags, stage and message history.

0 credits up to 25 results
List Contacts

Lists contacts with owner, tags, status and dates, with filters.

0 credits up to 25 results
Search Contacts

Finds contacts by part of a username, a name or a phone number.

0 credits up to 25 results
Get Contact Activities

Shows a contact's activity log, like messages, tag changes and owner changes.

0 credits up to 25 results
Get Contact Tag Assignments

Shows when each tag a contact has now was added.

0 credits up to 25 results
List Users

Finds people in your workspace who can be given contacts.

0 credits up to 25 results
Send DM

Sends a text, image, video or audio DM to a contact who messaged you first.

2 credits
Upload Media

Gets an image, video or audio file ready to send with send_dm. It sends nothing.

0 credits
React To Message

Adds or removes a heart reaction on a DM a contact sent you.

1 credit
Add Tag

Adds one of your existing tags to a contact.

1 credit
Remove Tag

Takes a tag off a contact.

1 credit
Set Contact Status

Marks a conversation open, closed or spam. You can change it back.

1 credit
Assign Contact Owner

Gives a contact to a different person on your team.

1 credit
Update Contact Notes

Replaces the notes on a contact with new text.

1 credit
Get Lead Summary

Sums up your whole pipeline for a date range: stage counts, conversion and new leads.

0 credits up to 25 results
Get Stale Leads

Finds leads you messaged last who haven't replied yet.

0 credits up to 25 results
Get Pipeline Leaks

Finds leads stuck at a stage with no recent messages, by stage and rep.

0 credits up to 25 results
Get Response Rate

Shows how often leads reply to your messages, by day and by rep.

0 credits up to 25 results
Get Speed To Lead

Shows how fast your reps answer a lead's first message.

0 credits up to 25 results
Get Followup Performance

Shows which follow-up, first, second or third, gets the most replies.

0 credits up to 25 results
Get Message Leaderboard

Ranks the messages you send by how often they get a reply.

0 credits up to 25 results
Get Conversion Messages

Compares messages sent to leads who moved to the next stage and leads who didn't.

0 credits up to 25 results
Get Rep Performance

Shows each rep's chats, replies, wins, losses, revenue and speed.

0 credits up to 25 results
Get Pipeline Forecast

Estimates revenue from payment links you sent, using each rep's past close rate.

0 credits up to 25 results
Get ICP Data

Looks at the leads you won to show what your best buyers have in common.

0 credits up to 25 results
Get Posts

Lists posts from your connected Instagram account or Facebook Page.

0 credits up to 25 results
Get Comments

Reads comments and replies on one of your Instagram or Facebook posts, or finds unanswered ones.

0 credits up to 25 results
Reply To Comment

Replies to an Instagram or Facebook comment in public, or sends one private DM reply to it.

1 credit, or 2 if private
Moderate Comment

Hides, unhides or deletes a comment. Likes Facebook comments too.

1 credit
Get Workflows

Lists your workflows or shows one in detail. Admins only.

0 credits up to 25 results
Configure Workflow

Builds a paused workflow from one of two templates. Admins only.

0 to preview, 1 to save
Set Workflow Status

Turns a workflow made from a template on or off. Admins only.

1 credit
Get Credit Balance

Shows your credits left, this month's use and what you can buy. Admins only.

0 credits
Quote Credit Purchase

Prices a credit pack before you buy. It doesn't charge you. Admins only.

0 credits
Create Credit Checkout

Makes a secure checkout link for a credit quote you approved. Admins only.

0 credits
Get Follower Lead Score Report

Reports how many of your followers were scored as likely leads, by day.

0 credits up to 25 results
Get Ad Attribution

Lists conversations that started from an ad, or exports them as a CSV file.

0 credits up to 25 results
Import Ad Attribution

Matches lead form rows you give it to your DMs, after you approve. Admins only.

1 or more credits
Manage Keyword Report

Tracks keywords and shows which leads used them and what happened next.

1 or more credits
Manage VIP List

Keeps a VIP list and pings your webhook when a VIP sends you a message.

1 or more credits
Assign Contact Batch

Gives a previewed batch of up to 100 contacts to one person on your team.

1 or more credits
Review Autopilot Prompt

Shows the rules, fixes and tone Autopilot uses, and how many saved entries it has.

0 credits up to 25 results
Review Conversations

Lists recent chats Autopilot handled, with their stage and latest messages.

0 credits up to 25 results
Review Learning Candidates

Lists chats saved as good examples for Autopilot. You approve or reject each one.

0 credits up to 25 results
Store Knowledge

Saves text or a document (PDF, DOCX or TXT) for Autopilot to use in chats.

1 credit
Take Over From Autopilot

Takes a chat back from Autopilot so a person on your team handles it.

1 credit
Update Sales Rules

Adds a sales rule for Autopilot, like a booking link, and flags rules that clash.

1 credit
Give Conversation Feedback

Saves a fix for an Autopilot message. It doesn't change or resend the message.

1 credit
Get Memory

Lists the rules, fixes, tone and knowledge Autopilot uses, up to 200 at a time.

0 credits up to 25 results
Delete Memory

Turns off one saved rule, fix or knowledge entry so Autopilot stops using it.

1 credit

Autopilot and memory. These tools work with Autopilot, the AI reply feature in the Winly app. They need Autopilot to be on in your workspace, and you turn it on in the Winly app. No tool turns it on from an AI agent, and workspaces that use Winly only through MCP can't turn it on.

How to connect Instagram DMs to another AI agent

Explore other Winly MCP servers

Messenger DMs

Read and answer your Facebook Page's Messenger chats.

51 toolsOAuth
Open
Instagram Comments

Read, reply to and hide comments on your posts.

10 toolsOAuth
Open
Winly vs ManyChat

ManyChat has no official MCP server. See how Winly compares.

Guide
Open

Frequently asked questions

Has Winly tested Visual Studio?

Not yet. These steps follow Microsoft's own docs, checked on November 19, 2026.

Does Visual Studio support OAuth for remote MCP servers?

Yes. Microsoft's docs say Visual Studio supports sign-in for remote servers with any OAuth provider that follows the MCP spec.

Can Copilot in Visual Studio send Instagram DMs for me?

Yes, if you allow it. Copilot asks before it runs a tool, and you can keep that prompt on for sends. Winly has no per-tool approval switch. Sending a DM costs 2 credits.

Is the Winly MCP server free to use with Visual Studio?

You can start on Winly's Free plan. It's $0 with 300 credits a month and 2 connected accounts, and you don't need a card. A lookup of 25 results or fewer costs 0 credits, and a bigger list costs 2 or more. Most changes cost 1 credit. A DM or a private reply to a comment costs 2.