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

@mulmobridge/mock-server

v1.1.0

Published

Mock MulmoClaude server for testing MulmoBridge bridges — no Claude API key needed

Readme

@mulmobridge/mock-server

Experimental — this package is under active development. We'd love your help testing it! If something doesn't work, please open an issue and paste the --verbose terminal output. Your reports help us ship better bridges faster.

A mock MulmoClaude server for testing messaging bridges. It speaks the full MulmoBridge protocol (socket.io + bearer auth) and echoes your messages back — no Claude API key needed, no MulmoClaude installation required.

What is MulmoClaude?

MulmoClaude is a GUI-chat agent app powered by Claude Code. It produces rich visual output — documents, spreadsheets, charts, images — and maintains a personal wiki as long-term memory. MulmoClaude runs as a local server and can be accessed from messaging apps like Telegram, Slack, LINE, Discord, and more through bridge processes.

This mock server lets you test your bridge without running the full MulmoClaude stack.

Quick Start

# Terminal 1: start the mock server
npx @mulmobridge/mock-server

# Terminal 2: connect the CLI bridge
MULMOCLAUDE_AUTH_TOKEN=mock-test-token npx @mulmobridge/cli

Type a message in the CLI — the mock echoes it back with [echo] prefix.

Testing with Telegram

# Terminal 1: mock server
npx @mulmobridge/mock-server --verbose

# Terminal 2: Telegram bridge
MULMOCLAUDE_AUTH_TOKEN=mock-test-token \
TELEGRAM_BOT_TOKEN=<your-bot-token> \
TELEGRAM_ALLOWED_CHAT_IDS=<your-chat-id> \
npx @mulmobridge/telegram

Send a message from your phone → the bot echoes it back. Send a photo or document — the echo shows the attachment type and size, confirming the file was received.

For Telegram bot setup (BotFather, getting your chat ID), see the Telegram bridge docs.

Options

| Flag | Default | Description | |---|---|---| | --port <n> | 3001 | Listen port | | --token <s> | mock-test-token | Bearer token for auth | | --slow <ms> | 0 | Delay before replies (simulates agent thinking time) | | --error | off | Always return error acks (test error handling) | | --reject-auth | off | Reject all connections (test auth error paths) | | --verbose, -v | off | Full protocol trace (recommended for bug reports) | | --log-file <path> | — | Write verbose log to a file |

What the mock supports

  • Socket.io handshake — same auth: { transportId, token } as production
  • message event with ack — echoes text + lists attachments
  • push event — trigger via POST /mock/push (see below)
  • Slash commands — /help, /reset, /roles, /role <id>, /status
  • Bearer token auth — rejects wrong tokens with the same error messages as production

Simulating server→bridge push

curl -X POST http://localhost:3001/mock/push \
  -H "Content-Type: application/json" \
  -d '{"transportId":"cli","chatId":"terminal","message":"Scheduled reminder!"}'

The mock delivers the push to all connected bridges with matching transportId.

Reporting bugs

Run with --verbose and copy the terminal output:

npx @mulmobridge/mock-server --verbose 2>&1 | tee debug.log

The verbose log includes everything we need to diagnose the issue:

  • Server + Node + OS versions
  • Auth handshake details
  • Full message payloads (attachment data shown as size, not content)
  • Ack payloads
  • Latency per message
  • Disconnect reasons

Before pasting: the mock token is a placeholder (mock-test-token), but review the log for any real tokens, chat IDs, or message text you don't want public. Redact them with [REDACTED]. If the log contains sensitive content, use a private security report instead of a public issue.

Paste the log into your GitHub issue.

Switching to real MulmoClaude

Once your bridge works with the mock, switch to the real server:

# 1. Unset MULMOCLAUDE_AUTH_TOKEN — the mock's token is not the real server's
#    (stopping the mock is optional; see the note below)
# 2. Install and start MulmoClaude
git clone https://github.com/receptron/mulmoclaude.git
cd mulmoclaude && yarn install && yarn dev

# 3. Connect your bridge (token is auto-read from the workspace)
npx @mulmobridge/telegram

Important: unset MULMOCLAUDE_AUTH_TOKEN before you switch. The port is no longer the thing that bites. Both default to 3001, but MulmoClaude walks forward off a busy default and publishes the port it actually bound to <workspace>/.server-port, which is where the bridge reads it — so the two can run side by side and the bridge still finds the real server. What does bite is the token: leave mock-test-token exported and the bridge presents the mock's credential to MulmoClaude, which rejects it (bearer token rejected), and it will keep retrying with the wrong one. A pinned token is also the one case where a bridge still falls back to http://localhost:3001 while the real server has not published a port yet — and that address is the mock. Unset it and the bridge reads the workspace for both halves.

Supported bridge platforms

| Platform | Package | Status | |---|---|---| | CLI | @mulmobridge/cli | Stable | | Telegram | @mulmobridge/telegram | Stable | | Discord | @mulmobridge/discord | Experimental | | Slack | @mulmobridge/slack | Experimental | | LINE | @mulmobridge/line | Experimental | | WhatsApp | @mulmobridge/whatsapp | Experimental | | Matrix | @mulmobridge/matrix | Experimental | | IRC | @mulmobridge/irc | Experimental |

Want to build a bridge for your platform? The bridge protocol docs cover the full wire-level contract. Any language with a socket.io 4.x client works.

Ecosystem

Part of the @mulmobridge/* package family.

Shared libraries:

Bridges (one npm package per platform):

Related projects

Published from the MulmoClaude monorepo by Receptron.

  • MulmoClaude — an open-source AI assistant platform that runs on your own computer. Claude Code as the engine, a personal wiki for long-term memory, schema-driven collections for your data, and chat that summons the right GUI (markdown, charts, forms, spreadsheets, wikis) for each task.
  • MulmoTerminal — a terminal-first cockpit for running many AI coding agents in parallel. One roster showing every session's summary and PR status, tmux-backed session persistence, git-worktree isolation, one-click PRs, and mobile push with remote reply.
  • MulmoTerminal manual — setup, workflows, feature reference, configuration, mobile notifications, and alternative / local model providers. Available in English and Japanese.

License

MIT