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

コメント

「メモリとナレッジ」の他のコンテンツ