Back to Home
promplate icon

hmr

Verified Safe

by promplate

Overview

Provides a fine-grained hot module reloading (HMR) engine for Python applications like FastAPI, Uvicorn, and Model Context Protocol (MCP) servers, including a browser auto-refresh feature for development.

Installation

Run Command
mcp-hmr main.py:app

Environment Variables

  • NO_HMR_DAEMON
  • VIRTUAL_ENV

Security Notes

The project is a development tool that employs runtime code execution (via `compile` and `exec`) to achieve hot module reloading. This is inherent to its functionality and is applied to local source code files detected as changed, not arbitrary external input. Network risks include exposed ports for ASGI/MCP servers and a long-polling connection for browser refresh, which are standard for the respective server types. No hardcoded secrets or malicious patterns were identified. The tool is safe for its intended development-only use.

Similar Servers

Stats

Interest Score31
Security Score8
Cost ClassLow
Stars45
Forks7
Last Update2025-12-30

Tags

Hot Module ReloadingPythonDevelopment ToolsASGIFastAPIUvicornMCPBrowser Refresh