hmr
Docs for hot-module-reload and reactive programming for Python (`hmr` on PyPI)
我该使用它吗
质量与安全性
发现(3)
- LOW在 learn-hmr-basics 中
- LOW在 view-hmr-core-sources 中
- LOW在 view-hmr-unit-tests 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"hmr": {
"url": "https://pyth-on-line.promplate.dev/hmr/mcp"
}
}
}远程端点
https://pyth-on-line.promplate.dev/hmr/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢learn-hmr-basics
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.
输入模式
{
"type": "object",
"properties": {}
}🟢view-hmr-core-sources
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.
输入模式
{
"type": "object",
"properties": {}
}🟢view-hmr-unit-tests
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.
输入模式
{
"type": "object",
"properties": {}
}社区
证据