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

mcp-stdio-proxy-reloadable

v0.2.3

Published

A stdio-to-stdio MCP proxy with binary file watching and hot reload support.

Downloads

384

Readme

mcp-stdio-proxy-reloadable

A stdio-to-stdio MCP proxy with binary file watching and hot reload support.

Spawns a child MCP server process, proxies all stdio messages, and monitors the command binary for changes. When the binary is rebuilt, the proxy sends tools/list_changed (and other list-changed notifications) so the LLM re-fetches capabilities without restarting the session.

Features

  • Stdio-to-stdio proxying — all MCP capabilities (tools, prompts, resources, logging, completions) are forwarded transparently
  • Binary file watching — polls the command binary's mtime every second; sends list-changed notifications on change
  • reload_mcp tool — explicitly restart the backend process and send notifications
  • Environment passthrough — optionally pass all or specific environment variables to the backend

Installation

npm install -g mcp-stdio-proxy-reloadable

Usage

usage: mcp-stdio-proxy [--pass-environment] [-e KEY VALUE ...] command [args ...]

Examples

# Run via npx
npx mcp-stdio-proxy-reloadable --pass-environment /path/to/your-mcp-server

# With environment variables
npx mcp-stdio-proxy-reloadable -e DISPLAY :0 /path/to/your-mcp-server

Claude Code integration

Use -- to separate claude mcp add flags from the proxy command and its arguments:

claude mcp add my-server -- \
  npx mcp-stdio-proxy-reloadable \
  --pass-environment /path/to/your-mcp-server

Without --, flags like --pass-environment are interpreted by claude mcp add instead of being passed to the proxy.

You can also combine with claude mcp add options such as -e and -s:

claude mcp add -s user my-server -e API_KEY=xxx -- \
  npx mcp-stdio-proxy-reloadable \
  --pass-environment /path/to/your-mcp-server

How it works

Client (Claude Code)
  │ stdio
  ▼
mcp-stdio-proxy-reloadable
  │ stdio
  ▼
Backend MCP server (child process)
  1. The proxy spawns the backend command as a child process and initializes the MCP session
  2. A proxy MCP server is created that forwards all requests to the backend
  3. The binary file is polled for mtime changes — on change, list-changed notifications are sent to the client
  4. When the LLM calls reload_mcp, the backend process is restarted and notifications are sent

License

LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only