---
title: "Connect WhatsApp to Zed (MCP, personal account)"
description: "Add Kaption’s WhatsApp MCP server to Zed as a remote server: Settings › AI › MCP Servers › Add Server › Add Remote Server, or context_servers. OAuth sign-in with a code on WhatsApp."
canonical: "https://kaptionai.com/mcp/zed/"
lang: "en"
---

# Connect WhatsApp to Zed (MCP, personal account)

> Add Kaption’s WhatsApp MCP server to Zed as a remote server: Settings › AI › MCP Servers › Add Server › Add Remote Server, or context_servers. OAuth sign-in with a code on WhatsApp.

Canonical: https://kaptionai.com/mcp/zed/

In Zed, open Settings › AI › MCP Servers, click Add Server, then Add Remote Server, and enter https://mcp.kaptionai.com/mcp, or add it under context_servers in your settings file. Zed starts the standard MCP OAuth sign-in, where you enter a code Kaption sends you on WhatsApp.

## What you need

- Zed with its agent panel. A recent version that adds remote MCP servers by URL.
- Kaption open on your computer: WhatsApp Web in Chrome or Edge with the Kaption extension, or the Kaption app for Mac or Windows. Every Kaption plan can connect an assistant: unlimited in your first 60 days, then with credits a month.

## How to connect

1. **Copy the address from Kaption.** Open WhatsApp Web with the Kaption extension, or the Kaption app. Go to AI Connectors (MCP) › Add an assistant › Another app and copy the server address (it’s also below). Under Connections, check that Through the cloud is on. Keep Kaption open while Zed works: the tools reach WhatsApp only while Kaption runs.
2. **Add a remote server.** Open Settings › AI › MCP Servers (or run agent: open settings), click Add Server, then Add Remote Server, and paste the address below. Or run zed: open settings file and add the context_servers entry below.
3. **Leave the headers out.** Don’t add an Authorization header: without one, Zed starts the standard MCP OAuth sign-in.
4. **Sign in with a code on WhatsApp.** Zed opens Kaption’s sign-in page. Enter your WhatsApp phone number, type the 6-digit code Kaption sends you on WhatsApp, and choose how long the connection lasts: while you use it (it ends after 90 days without use), 1 year, or until you disconnect it.
5. **Ask the agent.** In Zed’s agent panel, ask about your WhatsApp. By default Zed asks you to confirm each tool call.

MCP server address: `https://mcp.kaptionai.com/mcp` (Streamable HTTP, OAuth 2.1).

Config (settings.json):

```json
{
  "context_servers": {
    "whatsapp": {
      "url": "https://mcp.kaptionai.com/mcp"
    }
  }
}
```

## What Zed can and can’t do with Kaption

### It can

- Bring a client’s WhatsApp message into your editor, or schedule a follow-up when you ship.
- Search and read your chats, including voice-note transcripts.
- Summarize a conversation or a group.
- Look up contacts and groups, and export your contacts.
- Manage labels, reminders and chat lists.
- Schedule a message, or send one from your own WhatsApp while sending is on. Ask Zed to show you the text and the recipient first.

### It can’t

- Use an API key: Kaption has none, and Zed signs in with OAuth.
- Send bulk or broadcast messages: Kaption has no mass-message tool.
- See chats you locked in WhatsApp.
- Reach WhatsApp while Kaption is closed on your computer.

## How Kaption protects your WhatsApp account

- Your personal WhatsApp, not the Business API: Kaption works through WhatsApp Web or the Kaption app on your own computer, signed in to your own account. No number migration and no Meta Business account.
- No bulk sending: there is no broadcast or mass-message tool. Each send is one message to a chat you already have, within Kaption’s safe limits on how many messages go out an hour and how far apart. WhatsApp may restrict accounts that send automated messages, so use it for your own messages to people who know you.
- You decide about sending: Kaption shows a notice the first time an assistant sends. To stop every send from your WhatsApp, turn off “Let assistants send messages from this computer” in Kaption › AI Connectors (MCP) › Messaging; Zed can’t turn it back on.
- Revocable at any time: disconnect Zed in Kaption › AI Connectors (MCP) › Connections, or remove the connector in Zed.
- Locked chats stay hidden: Zed never sees chats you locked in WhatsApp.
- No chats stored on the relay: mcp.kaptionai.com checks your sign-in and passes each request to Kaption on your computer, which answers from your WhatsApp. Zed keeps your conversation with it under its own terms.

[How Kaption keeps your WhatsApp account safe](https://kaptionai.com/whatsapp-mcp-safety/)

## Questions

### Does Zed ask before it calls a tool?

Yes, by default: Zed’s tool permissions default to confirm. You can allow single tools with rules like mcp:whatsapp:query, and keep sending on confirm.

### Where does the setting go?

In Zed’s settings file, under context_servers, as in the snippet on this page. Run zed: open settings file to open it.

### Does it work with my personal WhatsApp or only the WhatsApp Business API?

With your personal WhatsApp, and with the WhatsApp Business app. Kaption connects Zed to the WhatsApp you already use in WhatsApp Web or the Kaption app on your computer. There is no Business API, no Meta approval and no number migration.

### Can Zed read my WhatsApp messages?

Only when you ask, and only through Kaption on your computer. Zed calls Kaption’s tools to search or read the chats a request needs, and Kaption answers from your WhatsApp. Locked chats are never visible, and you can disconnect Zed at any time.

### Can Zed send WhatsApp messages without asking me?

Sending from your computer is on by default, within Kaption’s safe limits, and Kaption shows a notice the first time an assistant sends. Ask Zed to confirm the text and the recipient before it sends. To stop sends from your WhatsApp, turn off “Let assistants send messages from this computer” in Kaption › AI Connectors (MCP) › Messaging; Zed can’t turn it back on. With it off, Zed can still schedule a message through the Kaption bot, which sends from Kaption’s own number.

### Does Kaption store my chats on its servers?

No. The relay at mcp.kaptionai.com checks your sign-in and passes each request to Kaption on your computer, which runs it against your WhatsApp and sends back only the answer.

### What does “Extension not connected” mean?

Kaption is closed, or its cloud connection is off. Open WhatsApp Web with the Kaption extension, or the Kaption app, and check that Through the cloud is on in AI Connectors (MCP) › Connections.

## Related

- [Kaption’s WhatsApp MCP server](https://kaptionai.com/mcp/)
- [Kaption plans](https://kaptionai.com/pricing/)
- https://kaptionai.com/mcp/claude/summarize-whatsapp-chats/
- https://kaptionai.com/mcp/chatgpt/search-whatsapp-messages/
- Zed: https://zed.dev/docs/ai/mcp
