
Kaption WhatsApp
io.github.Kaption-AIv0.5.6更新於 Oct 5, 2026
Read and manage your WhatsApp conversations through the KaptionAI browser extension.
概覽
透過 KaptionAI 瀏覽器擴充功能,讓助理讀取與管理 WhatsApp 對話、聯絡人、標籤、提醒與排程訊息。
- 功能
- 透過本機 WebSocket 將 AI 助理經由 KaptionAI Chrome 擴充功能連接到 WhatsApp Web。工具可查詢對話、聯絡人、訊息、逐字稿、標籤與社群;產生對話摘要;管理 Business 標籤、個人聊天清單與聊天狀態(封存、置頂、靜音、草稿等);建立提醒;以 bot 或 local 模式安排排程訊息;下載訊息媒體;讀寫聯絡人備註;以及讀取附逐字時間軸的通話錄音。get_api_info 工具會回傳 REST 連線資訊,多個帳號與多個 AI 用戶端可共用同一個擴充功能連線。
- 適用情境
- 當你希望助理搜尋與整理 WhatsApp 聊天、摘要對話、處理未讀訊息、管理標籤或清單,或在不離開 AI 工具的情況下安排與草擬訊息時使用。適合已使用 KaptionAI 擴充功能,並希望 Claude、Cursor、VS Code 等 MCP 用戶端取得 WhatsApp 情境的桌面使用者。
- 執行需求
- 需要 Node.js 與 npx,以 stdio 方式執行 npm 套件 @kaptionai/mcp-extension,並安裝 KaptionAI Chrome 擴充功能且啟用其 MCP 橋接。需在 Chrome 或 Edge 中開啟 WhatsApp Web,擴充功能才能透過本機 WebSocket 連線。僅支援桌面端,沒有網頁版。未宣告 API 金鑰或環境變數。標籤與備註功能需要 WhatsApp Business 帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kaption WhatsApp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@kaptionai/mcp-extension
MCP server that lets AI assistants read and manage your WhatsApp conversations through the KaptionAI Chrome extension. Also supports WebMCP for zero-config browser-native AI tool discovery.
Setup
1. Install the extension
Install the KaptionAI Chrome Extension and enable the MCP bridge in settings.
2. Configure your AI tool
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Claude Code
Cursor
Add to .cursor/mcp.json in your project or go to Settings > MCP Servers:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
VS Code (Copilot)
Add to .vscode/mcp.json in your project:
Or add to your VS Code settings.json:
Zed
Add to Zed settings (~/.config/zed/settings.json):
OpenAI Agents SDK (Python)
Any MCP-compatible client
This package runs as a standard MCP server over stdio. To connect from any client:
The server communicates via stdin/stdout using the MCP protocol. Point your client's MCP configuration to this command.
3. Open WhatsApp Web
Open web.whatsapp.com in Chrome or Edge. The extension will auto-connect to the MCP server.
Tools
query
Query WhatsApp data — conversations, contacts, messages, transcriptions, labels, and communities.
summarize_conversation
Generate a summary of a conversation.
manage_labels
Manage WhatsApp Business labels — add, remove, create, or delete labels.
manage_lists
Manage personal chat lists (custom lists). The personal account equivalent of Business labels — organize chats into custom categories.
manage_chat
Manage chat state — archive, unarchive, mark as read/unread, pin, unpin, mute, unmute, set/clear draft messages.
manage_reminders
Create and manage personal reminders. Stored in the cloud and delivered via the Kaption extension.
manage_scheduled_messages
Schedule messages to be sent automatically at a specific time, in one of two modes:
bot(default) — sent from Kaption's WhatsApp number, not yours. Stored in Kaption's cloud and sent even when your computer is off. One-to-one chats only; one line, up to 800 characters.local("From this computer") — sent from your own WhatsApp number, as you, while this computer and WhatsApp are open. Nothing leaves your device. Kaption keeps it within safe limits automatically (a few messages an hour and a day, minutes apart, only to chats where the other person has written, at most 3 a day to groups) and refuses what doesn't fit, with the reason. The only mode that can send to groups (ones you can post in and posted in within the last 30 days). Text only. A message whose time passes while the computer is off is marked missed, never sent late on its own.
The local mode has to be turned on by you in Kaption first (the "From this computer" option in the scheduling picker, after reading the limits and risks). An AI assistant can't turn it on; until you do, local requests are refused with (reason: no-consent). It is also rolled out gradually: where it isn't available yet, local requests are refused with (reason: flag-off) and the bot works as before.
download_media
Download and decrypt media from a message (images, videos, audio, documents).
Returns base64-encoded media data with mimetype, size, duration, and caption.
manage_notes
Read and write contact notes (WhatsApp Business).
call_recordings
Read WhatsApp call recordings made by the Kaption extension and their transcripts, with every word timed. Each recording names its conversation (the other person, or the group for a group call). Recordings of locked chats are never returned.
get_api_info
Get HTTP REST API connection info for programmatic access without MCP overhead. Returns URL, auth token, and available endpoints.
Multi-account support
Multiple WhatsApp accounts can be connected simultaneously (e.g. personal + business). Use target_session on any tool to route to a specific account. Query entity: "session" to see all connected accounts and their session IDs.
Multi-instance support
Multiple AI tools can share the same extension connection. The first instance starts a WebSocket hub; subsequent instances auto-detect the existing hub and relay through it. If the hub stops, a relay automatically promotes itself.
WebMCP support
Kaption is WebMCP-ready. On browsers that support the W3C WebMCP draft (navigator.modelContext, Chrome 146+), the extension automatically registers all tools with the browser's native AI tool registry. This means browser-based AI agents can discover and invoke Kaption tools without any MCP server or WebSocket connection — zero configuration.
When WebMCP is available, the extension registers tools prefixed with kaption_ (e.g. kaption_query, kaption_manage_chat) complete with JSON Schema input definitions and readOnlyHint annotations. The tools use the same handlers as the MCP server, so behavior is identical across both paths.
Security
- Localhost only — no cloud relay, no external connections
- No messages sent — AI assistants can read, organize, schedule, and draft, but never send messages directly
- Locked chats hidden — WhatsApp-locked conversations are excluded from all queries
- Feature-gated — MCP bridge must be explicitly enabled in the extension
- Business features gated — labels and notes require a WhatsApp Business account
- Rate limited — draft messages limited to 10 conversations per 5-minute window; write operations include random delays
License
BSL 1.1 — free to use, converts to MIT after 4 years.
來源:README.md,提交 6880ae5
工具
0版本歷史
1- v0.5.6最新Oct 5, 2026


