WhatsApp for VS Code
Copilot's agent mode can use WhatsApp tools. Read the client's message, fix the code, send the update.
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
Context from the chat
Agent mode reads what the user said before it starts on the fix.
Updates without switching apps
Draft the WhatsApp update to the team from the editor.
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
On the What's saved page, enable message saving, pick the groups to include and keep any person out. Groups stay off until you tick them. The agent can read permitted messages saved since you enabled saving; linking does not import your entire WhatsApp history.
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 and run when your AI app allows the tool call. Keep send tools on manual approval and review the recipient and text. Asking the agent to wait is not an enforced approval setting.
- Use the Business API for campaigns to customers who opted in. The Business API does not permit unsolicited messages. Linked personal accounts can be restricted for violating WhatsApp's rules.
- Search covers saved message text, file names and captions. WhatSync does not index document contents, transcribe voice notes or read text inside images. A download link is available only when WhatSync saved the file.
- Group searches and replies require a linked personal WhatsApp. WhatsApp Business API tools work with customer conversations, templates and campaigns.
- An unanswered conversation means its latest saved message in the checked period is incoming. It is a follow-up signal, not proof that a question is unanswered or that you owe a reply.
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, like WhatsApp Web
- 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
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?
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.
Put your WhatsApp to work in VS Code
Your WhatsApp keeps working on your phone as normal. Unlink it whenever you like.