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.
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" } } }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.
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.
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?
Should I commit .vscode/mcp.json?
Do I need to install anything?
Does it work with the WhatsApp Business API?
Is WhatSync made by Microsoft and GitHub?
How much does it cost?
Personal WhatsApp or the Business API
VS Code can tell which one you have and uses the right tools for it.
Your personal WhatsApp
- Link the WhatsApp you already use
- Chats, groups, files, polls and reactions
- For normal one-to-one use, not bulk sending
WhatsApp Business API
- Templates and campaigns your agent can send
- Meta reviews templates and charges per message
- Only for customers who opted in
Sources
- VS Code docs: add and manage MCP servers
- VS Code docs: MCP configuration and OAuth
- VS Code extension API: MCP installation links
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.