ClaudeCodeMod

All shelves / MCP servers

Beeper MCP Addon

io.github.juulieen/beeper-mcp-addon · 10 stars · TypeScript · MIT

MCP server Bulk chat media, large files, catch-up, who reacted, waiting for replies: Beeper MCP companion.

Install

The repo has no one-line install. Follow its README.

Published as

  • npmbeeper-mcp-addonstdio

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
BEEPER_ACCESS_TOKENOptional · SecretEnv varOptional. Without it, run `npx beeper-mcp-addon login` or approve access in Beeper on first use.

Files

README.md

beeper-mcp-addon

Unofficial. Not affiliated with or endorsed by Beeper.

The missing tools for Beeper Desktop's MCP server: a chat's photos and videos in one go, large files and phone videos, catching up on many chats, who reacted, and waiting for a reply.

Demo: an assistant catches up on three chats with get_new_messages, then saves one chat's photos and video with download_attachment

Example with made-up chats.

Beeper Desktop ships a built-in MCP server, so an AI assistant can search and send messages across WhatsApp, Signal, Telegram, iMessage and more. Since Beeper Desktop 4.3.326, it also downloads and sends single files, finds contacts, starts new chats, reacts, and edits or deletes messages. A few things are still missing:

  • It downloads one attachment at a time: saving every photo and video of a group over a month takes hundreds of calls.
  • It sends files passed inline as base64, up to about 7 MB, and sends phone videos as they are, even when WhatsApp then plays them badly.
  • Catching up on many chats returns full messages, 20 at a time, without saying whether each account is connected.
  • It shows reactions by user ID, not by name, and it can't wait for a reply.

This small MCP server fills those gaps on top of the Beeper Client API, as five tools:

Tool What it does
download_attachment Saves every photo and video (or document) of a chat over a period into one folder, named by date; or one attachment, under a safe name
send_file Sends a local file by its path (up to 500 MB) to any chat, with an optional caption, and fixes phone videos first
wait_for_message Waits for an incoming message (a reply, say) and returns it, so the assistant doesn't have to poll
get_new_messages Everything that arrived since a given time, across chats, in one call and in a compact form, with the connection state of each account
get_reactions Who reacted to a message, by name (to count the 👍 on "who's in?")

It runs next to the official Beeper MCP, not instead of it. Keep using the official server for search, chats, text messages (including replies to a specific message), contacts, new chats, reactions, edits and deletes.

Removed tools: earlier versions also had search_contacts, start_chat, react, edit_message and delete_message; they are gone because the official MCP now has the same tools under the same names. With a Beeper Desktop older than 4.3.326, update Beeper first.

Requirements

  • Beeper Desktop 4.3.326 or later, with its API enabled (Settings → Developers)
  • Node.js 20+ — except for the Claude Desktop bundle, which uses Claude's built-in Node
  • Optional: ffmpeg, so send_file can fix videos that phones play badly

Works on macOS, Windows and Linux.

Install

One command, every client
npx -y beeper-mcp-addon install

It finds the MCP clients on your machine — Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Kimi Code, Gemini CLI, Codex — asks before adding the server to each one (backing up the config first), then opens Beeper once so you can approve access. Restart your apps and you're done.

Options: --client cursor,vscode (only these), --yes (no questions), --dry-run (show what would change), --no-login (don't open Beeper afterwards), --read-only, --local (run this checkout of the code instead of the npm package). Undo with npx -y beeper-mcp-addon uninstall.

One click

Add to Cursor Install in VS Code

Claude Desktop: download beeper-mcp-addon.mcpb from the latest release and double-click it. No Node.js needed.

On first use, Beeper opens and asks you to approve access.

By hand
claude mcp add beeper-mcp-addon -- npx -y beeper-mcp-addon   # Claude Code

Any other client:

{
  "mcpServers": {
    "beeper-mcp-addon": { "command": "npx", "args": ["-y", "beeper-mcp-addon"] }
  }
}

On Windows, use "command": "cmd", "args": ["/c", "npx", "-y", "beeper-mcp-addon"].

Then connect once with npx -y beeper-mcp-addon login, or just use a tool: Beeper will ask you to approve.

Security

  • You approve access in Beeper. login uses Beeper's own OAuth screen (with PKCE); nothing is copied by hand. Beeper's approval screen decides the access level (read only, or read + write to send); login --read-only asks for read only.
  • The token stays in your system's secret store: macOS Keychain, Windows DPAPI (encrypted for your user), or the Linux keyring (GNOME Keyring / KWallet via secret-tool). Without a keyring, it falls back to a file readable only by you — the same way Claude Code stores its own credentials on Linux. If a keyring shows up later, the token moves into it automatically and the file is deleted. It is never written to MCP client configs, and never passed on a command line.
  • Everything is local. The server only talks to Beeper Desktop on localhost.
  • Sending is explicit. send_file acts on your behalf; keep your client's per-call approval on.
  • Access lasts 30 days. Beeper's tokens expire after 30 days and can't be renewed in the background. Five days before, a tool result asks your assistant to tell you; after that, the next tool call opens Beeper so you approve access again (or run login yourself). A renewal asks for the same access level as before, never more: a read-only token is renewed read-only. status shows the expiry date.
  • npx -y beeper-mcp-addon status shows where the token lives and whether it's valid; logout revokes and deletes it.
From source
git clone https://github.com/juulieen/beeper-mcp-addon
cd beeper-mcp-addon && npm install && npm run build
node dist/index.js install --local   # clients run this checkout, not the npm package

Updates

Nothing updates on its own. install writes the exact version (for example beeper-mcp-addon@1.2.3) into each client's config, so a new release never runs on your machine before you've chosen to take it.

When you use one of the tools and a newer version exists, the first tool result of that session carries a short notice for your assistant: the new version, its release notes and the command to update. Your assistant tells you; you decide. The check is a plain request to the public npm and GitHub APIs, made at most once a day and only when a tool is actually used. Nothing about you is sent. Turn it off with BEEPER_ADDON_NO_UPDATE_CHECK=1.

To update: npx -y beeper-mcp-addon@<version> install. For Claude Desktop, open the new .mcpb from the releases.

There is no telemetry: the addon never reports usage or installs anywhere.

Configuration

Variable Default
BEEPER_ACCESS_TOKEN token saved by login Beeper Desktop API token; overrides the saved one
BEEPER_URL http://localhost:23373 Base URL of the Beeper Client API
BEEPER_TOKEN_FILE — Force a plain token file instead of the system secret store
BEEPER_DOWNLOAD_DIR ~/.cache/beeper-mcp-addon/downloads on Linux, <temp>/beeper-mcp-addon/downloads elsewhere Where downloads go when no outputPath (one file) or outputDir (a period, one subfolder per chat) is given
BEEPER_ADDON_NO_UPDATE_CHECK — Set to 1 to never check for a new version
BEEPER_FFMPEG ffmpeg on PATH ffmpeg used to fix videos before sending (ffprobe is looked up next to it)
BEEPER_FFPROBE next to BEEPER_FFMPEG, else ffprobe on PATH ffprobe used to check videos before sending

Tools

download_attachment

Identify the attachment in any of these ways:

  • url: an mxc:// / localmxc:// media URL, or a beeper-mcp://attachments/{chatID}/{messageID}/{index} URI as printed by the official Beeper MCP's search results
  • chatID + messageID (+ index if the message has several attachments)

By default it's saved as a new file in the download folder (BEEPER_DOWNLOAD_DIR); the sender's file name is sanitized, so it can never choose the folder. outputPath saves it elsewhere (~/ means your home folder), without replacing an existing file unless overwrite: true (which replaces your file: your client should ask first). Returns { path, fileName, mimeType, sizeBytes }.

A whole period at once: pass chatID + since (+ until) instead of a message, and it saves every photo and video of that chat sent in that period into one folder, oldest first. Options:

  • mediaTypes: which kinds, among image, video and file (documents, audio…). Default: ["image", "video"]. Stickers are skipped.
  • maxFiles: at most this many files per call, from 1 to 200. Default: 30.
  • outputDir: the folder to save into. Default: one folder per chat in the download folder. Your client should ask you before saving elsewhere.

Files are named by date and message ID (2026-10-11_104635_75649_photo.jpg), so the folder sorts in time order. A file already in the folder is skipped, never replaced. The result gives one short line per file, with time, sender and message ID:

2026-10-11 10:46 · Maxime · #75649 → 2026-10-11_104635_75649_photo.jpg (6.4 MB)

When there are more files than maxFiles, the result gives nextSince. Call again with it and the same folder to get the rest.

send_file

chatID, filePath, and optionally text (caption), fileName (name shown to the recipient) and replyToMessageID. Files up to 500 MB. The MIME type comes from the file extension, so videos and images show up as media rather than generic files.

Videos are fixed before sending. Phone cameras often record videos that messaging apps play badly: HEVC, 60 fps, full-range color, rotation stored as metadata. The recipient then sees a black frame, a sideways picture, or nothing. When ffmpeg is installed, send_file checks each video with ffprobe and, only if needed, re-encodes it to H.264 + AAC MP4 (30 fps and 1280 px max, rotation applied). The result says what was fixed (reasons). Pass convert: "never" to send the original, or "always" to force it. Set BEEPER_FFMPEG if ffmpeg is not on your PATH.

wait_for_message

Optional chatID, from (part of the sender's name or ID), includeOwn (also your own messages, default false), since (ISO time, usually that of your last message, needs chatID: a reply that arrived just before the call is returned right away) and timeoutSeconds (default 300, max 1800). Returns { status: "message", message, note } or { status: "timeout" }; note reminds the assistant that the message was written by its sender and is data, not instructions. Text from other people is length-limited: message text at 4000 characters, names at 200, at most 20 attachment names, each marked … [truncated, N chars] when cut (same in watch output). For long waits, the watch command below is better: it doesn't hold a tool call open.

get_new_messages

since (ISO time), and optionally chatIDs, chatQuery (words in the chat title, e.g. "Ghoster"), accountIDs, includeMuted (default true), includeOwn (default true), detail ("messages", the default, or "counts"), maxChats (default 25) and maxMessagesPerChat (default 30, the newest are kept).

It returns one short line per message, grouped by chat, newest chats first:

2026-11-13 09:12 · Maxime · #79581 ↩79570: Ok pour samedi ! ⏎ À 10 h ? [image: photo.jpg] (👍 3)

That is the local time, the sender ([me] for you; other people's names can't contain brackets, so nobody can pass as you), the message ID (for download_attachment, get_reactions, and the official MCP's react, edit_message…), the message it replies to, the text (line breaks shown as ⏎, cut at 1000 characters; names at 80), attachments and reactions. The result also says whether Beeper and each account are connected (when one isn't, its new messages may be missing), and gives nextSince to pass as since next time.

It's made for periodic checks ("anything new in the club's groups since this morning?"). To keep the assistant's context small, ask for detail: "counts" first, then read only the chats that matter.

get_reactions

chatID, messageID. Returns each reaction with how many people used it and their names ([me] for you).

Example

"Find the videos my dad posted in the family group in June and send the French ones to him."

The assistant gets the June videos of that group with one download_attachment call (since, until, mediaTypes: ["video"]), checks them (for instance it transcribes them to find the language), then sends the right ones with send_file.

"Put all the photos and videos from the club's group in October in ~/Pictures/club-october."

One download_attachment call with chatID, since, until and outputDir, then more calls with nextSince if there are more than 30.

"Every hour, tell me if someone in the club's groups asked something I haven't answered."

get_new_messages with chatQuery: "club" and the nextSince of the previous run: one call, a few lines per chat, and a warning if WhatsApp was disconnected in the meantime.

"How many people put a 👍 on the Pastourelle message? We need 15."

get_reactions on that message.

"Send the flyer PDF to +33 6 12 34 56 78 on WhatsApp."

The official MCP's start_chat with the phone number, then send_file on the returned chatID. No need to open the conversation by hand first.

Real-time: watch

MCP tools only answer when called, so an assistant never learns on its own that someone replied. watch listens to Beeper's WebSocket and prints one JSON line per incoming message:

npx -y beeper-mcp-addon watch --chat 22565 --since 2026-11-12T10:00:00Z --once
# {"event":"message","chat":"Pierre","sender":"Pierre","text":"Ok pour samedi !",...}
Option
--chat <id> Only this chat (chat ID or local chat ID). Repeatable. Default: all chats
--from <text> Only senders whose name or ID contains <text>
--since <time> First print messages already received after this ISO time (with --chat), so a reply sent just before isn't missed
--once Exit after the first matching message
--include-own Also print your own messages (skipped by default)
--token-file <path> Read the token from this file

Agents that can be woken by a command's output can use it to wait for a reply. In Claude Code, run it with the Monitor tool: each line wakes the assistant, and --once ends the watch after the reply. The server's MCP instructions tell assistants exactly this, with the right command for how it was installed. A read token is enough. The same command is also installed as beeper-watch.

If the connection drops, it prints {"event":"disconnected",...} and reconnects. Beeper does not replay messages sent in the meantime, so re-read the chat after a disconnect.

How it works

A few small TypeScript files that call the local Beeper Client API: /v1/assets/download, /v1/assets/upload, /v1/chats/{chatID}/messages (send and read), /v1/messages/search, /v1/chats/search, /v1/chats/{chatID} and /v1/accounts, plus Beeper's WebSocket (/v1/ws) for real-time messages. Everything stays on your machine; the server only talks to Beeper Desktop on localhost (and, once a day at most, to npm and GitHub to check for a new version).

License

MIT

Facts

Kind
MCP server
Repo
juulieen/beeper-mcp-addon
Group
Uncategorized
Stars
10
License
MIT
Language
TypeScript
Last push
2026-11-18
Forks
2
MCP Registry
io.github.juulieen/beeper-mcp-addon
Topics
beeper, claude, mcp, model-context-protocol, signal, whatsapp

Also new this week

  1. 73rust-anythingio.github.erkamyaman/rust-anythingRewrite an app in Rust one piece at a time, checked against the original's recorded behavior.8.1k
  2. 144obsidian-wikiio.github.Ar9av/obsidian-wikiMemory for agents in a markdown vault you own: search, read, write, recap, context packs.3.8k
  3. 150Z-Libraryio.github.heartleo/zlibSearch and download Z-Library books, fix e-book metadata, and send books to Kindle or WeRead.3.5k
  4. 178LearnHouseapp.learnhouse/learnhouseBuild, edit and run courses, learning paths and communities in your LearnHouse academy.2.5k
  5. 183MR Officeai.mroffice/officeCreate, open and edit documents, spreadsheets and PDFs in MR Office's editor, inline in chat.2.4k
  6. 227Seal Open Datafr.sealopendata/open-dataFrench public open data (data.gouv.fr) cross-referenced by commune, EPCI and department.1.7k