npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

beeper-mcp-file-proxy

v1.0.0

Published

Stdio-to-HTTP proxy for Beeper Desktop MCP with file attachment support

Readme

beeper-mcp-file-proxy

Stdio-to-HTTP proxy for Beeper Desktop MCP (Model Context Protocol) that adds file attachment support.

Beeper Desktop exposes an MCP server over Streamable HTTP, but Claude Code only supports stdio transports. This proxy bridges the two and injects a send_file tool that lets Claude send images, videos, audio, and documents to any chat.

Install

Run directly with npx (no install needed):

npx beeper-mcp-file-proxy

Or install globally:

npm install -g beeper-mcp-file-proxy

Configuration

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | BEEPER_ACCESS_TOKEN | Yes | - | Your Beeper Desktop API access token. Find it in Beeper Desktop: Settings > Advanced > API Access Token. | | BEEPER_URL | No | http://localhost:23373 | Base URL for the Beeper Desktop API. |

Claude Code Setup

Add to your ~/.claude.json (or project .claude/settings.json) under mcpServers:

{
  "mcpServers": {
    "beeper": {
      "command": "npx",
      "args": ["beeper-mcp-file-proxy"],
      "env": {
        "BEEPER_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "beeper": {
      "command": "beeper-mcp-file-proxy",
      "env": {
        "BEEPER_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

How It Works

  1. Stdio-to-HTTP bridge: Reads JSON-RPC messages from stdin, forwards them to Beeper Desktop's Streamable HTTP endpoint (/v0/mcp), and writes responses back to stdout.

  2. SSE parsing: Beeper responds with Server-Sent Events (SSE). The proxy extracts data: lines and converts them back to JSON-RPC for Claude Code.

  3. send_file tool injection: When Claude calls tools/list, the proxy appends the send_file tool to the response. When send_file is invoked:

    • Uploads the file to Beeper via POST /v1/assets/upload (multipart form)
    • Sends a message with the attachment via POST /v1/chats/{chatID}/messages
    • Beeper Desktop handles E2EE transparently

Tools Added

send_file

Send a file (image, video, audio, document) to a chat.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | chatID | string | Yes | Unique identifier of the chat. | | filePath | string | Yes | Absolute path to the file on disk. | | text | string | No | Caption/text to send with the file. | | replyToMessageID | string | No | Message ID to reply to. |

Supported formats: MP4, MOV, AVI, WebM, JPEG, PNG, GIF, WebP, HEIC, PDF, DOC, ZIP, MP3, OGG, WAV, M4A, and any other file type (sent as application/octet-stream).

Why This Exists

Beeper Desktop's built-in MCP server does not support file attachments. This proxy adds that capability by using Beeper's REST API for uploads and message sending.

Feature request: beeper/desktop-api-js#35

License

MIT