WhatsApp for VS Code

Install WhatSync in VS Code and Copilot's agent mode can read your WhatsApp chats and work with Business templates.

How do you connect WhatsApp to VS Code?

Click Install in VS Code, or run MCP: Add Server and enter the WhatSync HTTP URL. For new setups, VS Code recommends the portable .mcp.json or Copilot Global destination. Complete OAuth sign-in, then link WhatsApp from the dashboard. The older .vscode/mcp.json format remains supported for compatibility.

Works in
GitHub Copilot agent mode in VS Code
You need
VS Code with GitHub Copilot. WhatsApp on your phone, or a WhatsApp Business API number.
WhatSync server
Hosted for you. Nothing to run yourself.

What VS Code can do with your WhatsApp

Chats into GitHub issues

Turn the bug reports in a support group into GitHub issues.

Template work

Create and check WhatsApp Business templates while you build the feature that sends them.

Add WhatSync to VS Code

You sign in to WhatSync once. No API keys to paste. Check what you need above first.

  1. Add the server

    Click Install in VS Code above, or run MCP: Add Server from the Command Palette, choose HTTP and paste the URL. Prefer the portable .mcp.json or Copilot Global destination in the guided flow. If you already use the compatible .vscode/mcp.json format, its entry looks like this:

    {
      "servers": {
        "whatsync": { "type": "http", "url": "https://whatsync.app/api/mcp" }
      }
    }
  2. Sign in

    Start the server from VS Code's MCP server controls and complete OAuth sign-in when prompted. Then enable the WhatSync tools in Copilot Chat.

  3. Link your WhatsApp

    Open your WhatSync dashboard and link your personal WhatsApp from Linked devices on your phone, or connect the WhatsApp Business API. If you ask your agent something first, it replies with a sign-in link that works for 15 minutes.

  4. Choose what it can see

    In Settings, under What's saved, choose which chats your agent can see. On every plan every group is included by default; untick any group or hide any person. On the free trial, group messages stop once it has saved 250 of its 500, so one-on-one chats keep the rest. WhatSync brings in your older chats when you link. The free trial, Plus and Pro show your newest 1,000 older messages (500 from one-on-one chats, 500 from groups), and Max shows everything your phone sends.

Things to ask VS Code

Copy one, change the names, and try it.

  • Use WhatSync. What did the client say about the invoice export in the Acme group?

  • Turn the bug reports in the Support group from this week into GitHub issues.

  • Draft a WhatsApp to the QA group that build 214 is ready. Do not send.

Good to know

You choose which chats are saved, and you can unlink WhatsApp from your phone at any time. How we handle your data.

  • If your company uses Copilot Business or Enterprise, an admin must allow MCP servers.
  • Use Copilot Global for a personal setup, or share a URL-only workspace config so each teammate can sign in separately.
  • Sends are real WhatsApp messages. Set the send tool to ask you every time in your AI app's settings. Telling the agent "ask me first" in a chat is not the same thing.
  • Messaging many customers? Use the Business API, and only message people who agreed to hear from you. Bulk messages from a personal number can get it restricted by WhatsApp.
  • Search looks at message text, file names and captions. On Pro and up it also covers voice notes turned into text and the words in photos and scanned documents.
  • Groups only work on a personal WhatsApp linked from your phone. The Business API covers customer chats, templates and campaigns.
  • "Waiting on you" means the last message in a chat came from the other person. It's a hint to check, not a to-do list.

Questions

Something else? Ask us.

Does GitHub Copilot support remote MCP servers?

Yes, in agent mode. VS Code supports http servers with OAuth sign-in.

Should I commit .vscode/mcp.json?

You can share a URL-only MCP config; do not include tokens or secrets. Each teammate signs in separately. For new setups, VS Code recommends a portable .mcp.json file instead of the older .vscode/mcp.json destination.

Do I need to install anything?

Not for WhatSync. We run the server for you. You only need the AI app itself. Your WhatsApp keeps working on your phone as normal.

Does it work with the WhatsApp Business API?

Yes. Connect a number through Meta and VS Code can check and create templates, send approved templates, and run campaigns to customers who opted in. Meta reviews every template and charges per message, depending on the country and message type. See WhatsApp Business API.

Is WhatSync made by Microsoft and GitHub?

No. WhatSync is made by Appstronauts. It is not made by, affiliated with or endorsed by Microsoft and GitHub, WhatsApp or Meta.

How much does it cost?

See the pricing page for the current plans.

Personal WhatsApp or the Business API

VS Code can tell which one you have and uses the right tools for it.

Personal

Your personal WhatsApp

  • Link the WhatsApp you already use
  • Chats, groups, files, polls and reactions
  • For normal one-to-one use, not bulk sending
Link your WhatsApp
Official

WhatsApp Business API

  • Templates and campaigns your agent can send
  • Meta reviews templates and charges per message
  • Only for customers who opted in
Connect the Business API

Sources

We checked these steps against VS Code's own docs on October 13, 2026. Menus change, so a screen may look a little different. WhatSync is not made or endorsed by Microsoft and GitHub.

Use it in your other AI apps too

One WhatSync account works in all of them. Each guide says what you need.

Add WhatSync to VS Code

Your WhatsApp keeps working on your phone as normal. Unlink it whenever you like.