MCP.so
登录

HMR Docs MCP Server

@promplate

基本信息

分类

记忆与知识

传输方式

stdio

作者

promplate

提交者

Muspi Merol

关于 HMR Docs MCP Server

Real hot-module reload for Python—side effects handled reactively. https://py3.online/hmr

#python#develop#dx#reload

HMR Docs MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "hmr-docs": {
      "type": "http",
      "url": "https://pyth-on-line.promplate.dev/hmr/mcp"
    }
  }
}

HMR Docs MCP Server 工具

3

A brief and concise explanation of the `hmr` library. This tool provides information on how to use reactive programming or use hot module reloading in Python. As long as the user mentions HMR / Reactive Programming, this tool must be called first! Don't manually view the resource, call this tool instead.

The full source code (core only) of the HMR library. Always call `learn-hmr-concepts` to learn the core concepts before calling this tool. These files are the full source code of the HMR library, which would be very helpful because good code are self-documented. For a brief and concise explanation, please refer to the `hmr-docs://about` MCP resource. Make sure you've read it before calling this tool. To learn how to use HMR for reactive programming, read the unit tests later. The response is identical to the MCP resource with the same name. Only use it once and prefer this tool to that resource if you can choose.

The unit tests (code examples) for HMR. Always call `learn-hmr-basics` and `view-hmr-core-sources` to learn the core functionality before calling this tool. These files are the unit tests for the HMR library, which demonstrate the best practices and common coding patterns of using the library. You should use this tool when you need to write some code using the HMR library (maybe for reactive programming or implementing some integration). The response is identical to the MCP resource with the same name. Only use it once and prefer this tool to that resource if you can choose.

概览

What is HMR Docs?

HMR Docs is a server that implements a reactive programming engine and a fine-grained, on-demand hot‑module reload (HMR) tool for Python. It allows part of your app to be updated at runtime without a full restart, keeping your application state intact.

How to use HMR Docs?

Install the hmr package with pip install hmr and run your entry file using hmr path/to/your/entry-file.py. Alternatively, use uvx hmr path/to/your/entry-file.py if you have uv installed. The server monitors

评论

记忆与知识 分类下的更多 MCP 服务器