Back to Home
promplate icon

hmr

Verified Safe

by promplate

Overview

Provides hot module reloading (HMR) for Python applications, specifically for MCP/FastMCP servers, significantly speeding up development by allowing code changes to take effect instantly without a full server restart.

Installation

Run Command
mcp-hmr main:app

Environment Variables

  • NO_HMR_DAEMON

Security Notes

The project uses `compile`/`exec` for dynamic module reloading and `subprocess.Popen` for daemon processes, which are core to its Hot Module Reloading (HMR) functionality. These are generally powerful features, but in this context, they execute the developer's *own* source code files from the local filesystem, making it an intended and justified use for a development tool rather than a vulnerability for arbitrary code execution. It's designed for development environments, where dynamic code changes are expected. Network communication for browser refresh is standard for development servers. No hardcoded secrets were found.

Similar Servers

Stats

Interest Score43
Security Score7
Cost ClassLow
Avg Tokens1
Stars38
Forks5
Last Update2025-12-03

Tags

hot-reloadingdevelopment-toolmcpfastmcppython-development