Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
Monitor MCP, CI, and HTTP targets with health history, TLS expiry, assertions, and diagnostics
作者提供的原文
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 6/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 0/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 6/100 |
质量: 基础检查通过 2/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 MCP Health Monitor。按照 https://mcp.popnx.com/i/oaslananka-health-monitor-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 2/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server MCP Health Monitor,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "health-monitor": { "command": "npx", "args": [ "-y", "health-monitor-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Health Monitor 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
]
}
}
}用 MCP Health Monitor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 MCP Health Monitor,或回答中出现 MCP Health Monitor 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
HEALTH_MONITOR_DB SQLite 数据库的自定义路径 HEALTH_MONITOR_AUTO_CHECK 设为 '1' 可启用后台定时检查 HEALTH_MONITOR_RETENTION_DAYS 保留健康检查历史记录的天数 HEALTH_MONITOR_MAX_CONCURRENCY 同时进行的定时和交互式服务器检查的最大数量。 GITHUB_TOKEN 可选的 GitHub 令牌,具有读取私有仓库 Actions 的权限,并提供更高的 API 速率限制。 GITLAB_TOKEN 可选的 GitLab 令牌,具有读取私有项目、流水线、作业和跟踪信息的权限。 HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST 允许用于监控的自托管 GitLab HTTPS 源地址列表,以逗号分隔 HEALTH_MONITOR_HTTP_TARGET_ALLOWLIST 以逗号分隔的私有 HTTP(S) 来源,仅在完整运行时配置文件中允许使用 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 MCP Health Monitor
MCP Health Monitor 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 MCP Health Monitor 的应用
B · 诊所与健康 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server MCP Health Monitor,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user health-monitor -- npx -y health-monitor-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Health Monitor 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user health-monitor -- npx -y health-monitor-mcp应能看到 MCP Health Monitor 在列表中并显示已连接
用 MCP Health Monitor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 MCP Health Monitor,或回答中出现 MCP Health Monitor 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
HEALTH_MONITOR_DB SQLite 数据库的自定义路径 HEALTH_MONITOR_AUTO_CHECK 设为 '1' 可启用后台定时检查 HEALTH_MONITOR_RETENTION_DAYS 保留健康检查历史记录的天数 HEALTH_MONITOR_MAX_CONCURRENCY 同时进行的定时和交互式服务器检查的最大数量。 GITHUB_TOKEN 可选的 GitHub 令牌,具有读取私有仓库 Actions 的权限,并提供更高的 API 速率限制。 GITLAB_TOKEN 可选的 GitLab 令牌,具有读取私有项目、流水线、作业和跟踪信息的权限。 HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST 允许用于监控的自托管 GitLab HTTPS 源地址列表,以逗号分隔 HEALTH_MONITOR_HTTP_TARGET_ALLOWLIST 以逗号分隔的私有 HTTP(S) 来源,仅在完整运行时配置文件中允许使用 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server MCP Health Monitor,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "health-monitor": { "command": "npx", "args": [ "-y", "health-monitor-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Health Monitor 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 MCP Health Monitor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 MCP Health Monitor,或回答中出现 MCP Health Monitor 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
HEALTH_MONITOR_DB SQLite 数据库的自定义路径 HEALTH_MONITOR_AUTO_CHECK 设为 '1' 可启用后台定时检查 HEALTH_MONITOR_RETENTION_DAYS 保留健康检查历史记录的天数 HEALTH_MONITOR_MAX_CONCURRENCY 同时进行的定时和交互式服务器检查的最大数量。 GITHUB_TOKEN 可选的 GitHub 令牌,具有读取私有仓库 Actions 的权限,并提供更高的 API 速率限制。 GITLAB_TOKEN 可选的 GitLab 令牌,具有读取私有项目、流水线、作业和跟踪信息的权限。 HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST 允许用于监控的自托管 GitLab HTTPS 源地址列表,以逗号分隔 HEALTH_MONITOR_HTTP_TARGET_ALLOWLIST 以逗号分隔的私有 HTTP(S) 来源,仅在完整运行时配置文件中允许使用 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server MCP Health Monitor,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "health-monitor": { "type": "stdio", "command": "npx", "args": [ "-y", "health-monitor-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Health Monitor 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 MCP Health Monitor 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 MCP Health Monitor,或回答中出现 MCP Health Monitor 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
HEALTH_MONITOR_DB SQLite 数据库的自定义路径 HEALTH_MONITOR_AUTO_CHECK 设为 '1' 可启用后台定时检查 HEALTH_MONITOR_RETENTION_DAYS 保留健康检查历史记录的天数 HEALTH_MONITOR_MAX_CONCURRENCY 同时进行的定时和交互式服务器检查的最大数量。 GITHUB_TOKEN 可选的 GitHub 令牌,具有读取私有仓库 Actions 的权限,并提供更高的 API 速率限制。 GITLAB_TOKEN 可选的 GitLab 令牌,具有读取私有项目、流水线、作业和跟踪信息的权限。 HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST 允许用于监控的自托管 GitLab HTTPS 源地址列表,以逗号分隔 HEALTH_MONITOR_HTTP_TARGET_ALLOWLIST 以逗号分隔的私有 HTTP(S) 来源,仅在完整运行时配置文件中允许使用 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user health-monitor -- npx -y health-monitor-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"health-monitor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
]
}
}
}HEALTH_MONITOR_DB envHEALTH_MONITOR_AUTO_CHECK envHEALTH_MONITOR_RETENTION_DAYS envHEALTH_MONITOR_MAX_CONCURRENCY envGITHUB_TOKEN 机密 envGITLAB_TOKEN 机密 envHEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST envHEALTH_MONITOR_HTTP_TARGET_ALLOWLIST env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月21日
注册名称已通过 GitHub 账户 oaslananka 验证,该账户拥有此仓库
超过一年没有代码更新,或仓库已归档
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 health-monitor-mcp@1.4.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/oaslananka-health-monitor-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于28天前,最新版本(1.4.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Medplum MCP, Mirobody, Codescene MCP Server, Marrow, WHOOP — MissingMCP
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
An MCP server that provides CodeScene Code Health analysis tools.
Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
| 本项 MCP Health Monitor | Medplum MCP | Mirobody | Codescene MCP Server | Marrow | WHOOP — MissingMCP | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 需要安装在电脑上 | 需要安装在电脑上 | 需要安装在电脑上 | 在云端运行,无需安装 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 2/3 | 4/4 | 3/3 | 2/3 | 3/3 | 2/4 |
| 许可证 | MIT | Apache-2.0 | Apache-2.0 | NOASSERTION | MIT | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server, CI workflow, and generic HTTP endpoint monitoring with health history, TLS expiry, assertions, diagnostics, and operational reports.
health-monitor-mcp keeps local registries of MCP servers, GitHub Actions workflows, GitLab pipelines, and generic HTTP endpoints. It performs live checks, records bounded evidence in SQLite, evaluates MCP alert thresholds, and returns JSON or Markdown diagnostics suitable for agents and operators.
Supported target transports:
Azure DevOps monitoring was retired in v1.1.0. GitHub Actions shipped in v1.2.0 and GitLab CI/CD in v1.3.0; generic HTTP/TLS monitoring completes the current multi-provider feature line.
Run the published package noninteractively with Node.js 24:
npx -y health-monitor-mcp --version
Example MCP client configuration:
{
"mcpServers": { "health-monitor": { "command": "npx", "args": ["-y", "health-monitor-mcp"] } } }
| Tool | Purpose | Typical prompt |
|---|---|---|
register_server | Register an MCP target | Register inventory-prod |
check_server | Run one MCP health check | Check inventory-prod now |
register_github_actions | Register a GitHub workflow | Monitor ci.yml in owner/repo |
check_github_actions | Check latest GitHub run and failed job/step diagnostics | Check repo-ci now |
register_gitlab_pipeline | Register a GitLab project pipeline | Monitor group/project on GitLab |
check_gitlab_pipeline | Check latest pipeline and bounded failed-job traces | Check gitlab-ci now |
register_http_target | Register a GET-only HTTP/HTTPS endpoint | Monitor the public health endpoint |
check_http_target | Check response assertions and TLS expiry | Check service-health now |
register_webhook | Register a webhook target for alert delivery | Register alert-webhook for notifications |
test_webhook | Send a test payload and return delivery diagnostics | Test alert-webhook delivery |
check_all | Check all target kinds with bounded concurrency | Check all production targets |
get_uptime | Return MCP uptime and latency history | Show 24h uptime for inventory-prod |
get_dashboard | Return a cross-provider JSON dashboard | Give me a 24h dashboard |
get_report | Return a cross-provider Markdown report | Generate a 24h health report |
list_servers | List registered MCP targets | List monitored MCP servers |
list_github_actions | List registered GitHub workflow targets | List monitored workflows |
list_gitlab_pipelines | List registered GitLab pipeline targets | List monitored GitLab pipelines |
list_http_targets | List registered HTTP targets | List monitored HTTP endpoints |
list_webhooks | List registered webhook targets | List webhook targets |
unregister_server | Remove an MCP target | Stop monitoring local-debugger |
unregister_github_actions | Remove a GitHub target and its history | Stop monitoring repo-ci |
unregister_gitlab_pipeline | Remove a GitLab target and its history | Stop monitoring gitlab-ci |
unregister_http_target | Remove an HTTP target and its history | Stop monitoring service-health |
unregister_webhook | Remove a webhook target and its history | Stop monitoring alert-webhook |
set_alert | Configure MCP health thresholds | Alert if inventory-prod exceeds 500ms |
get_monitor_stats | Inspect cross-provider monitor activity | How many checks are stored? |
Expected configuration mistakes return stable error codes and remediation hints, including SERVER_NOT_FOUND, GITHUB_ACTIONS_TARGET_NOT_FOUND, GITLAB_PIPELINE_TARGET_NOT_FOUND, GITLAB_BASE_URL_NOT_ALLOWED, HTTP_TARGET_NOT_FOUND, HTTP_TARGET_URL_NOT_ALLOWED, NO_SERVERS_REGISTERED, STDIO_DISABLED, STDIO_COMMAND_REJECTED, WEBHOOK_ENCRYPTION_KEY_REQUIRED, WEBHOOK_REGISTRATION_FAILED, and WEBHOOK_NOT_FOUND.
Streamable HTTP:
register_server name="inventory-prod" type="http" url="https://inventory.example.com/mcp" tags=["production","inventory"]
Legacy SSE:
register_server name="legacy-search" type="sse" url="https://search.example.com/sse" tags=["legacy"]
Trusted local stdio:
export HEALTH_MONITOR_ALLOW_STDIO=1
export HEALTH_MONITOR_STDIO_ALLOWLIST=npx,node
register_server name="local-debugger" type="stdio" command="npx" args=["-y","mcp-debug-recorder"] tags=["local"]
The command field must contain one executable only. Put package names and flags in args. Remote-safe runtime profiles always disable stdio.
Public repositories can be checked without authentication. Private repositories and higher API rate limits require a token with Actions read access:
export GITHUB_TOKEN=your-runtime-secret
register_github_actions name="repo-ci" owner="oaslananka" repository="health-monitor-mcp" workflow="ci.yml" branch="main" token_env="GITHUB_TOKEN" tags=["production","ci"]
check_github_actions name="repo-ci" timeout_ms=5000
Only the environment-variable name in token_env is stored. The token value is read at check time and is never written to SQLite, logs, reports, or tool responses.
Public GitLab.com projects can be checked without authentication. Private projects require a token exposed only through the runtime environment:
export GITLAB_TOKEN=your-runtime-secret
register_gitlab_pipeline name="gitlab-ci" project="group/project" ref="main" token_env="GITLAB_TOKEN" tags=["production","ci"]
check_gitlab_pipeline name="gitlab-ci" timeout_ms=5000
GitLab.com is allowed by default. A self-hosted instance must use an HTTPS origin and be explicitly allowed:
export HEALTH_MONITOR_GITLAB_BASE_URL_ALLOWLIST=https://gitlab.internal.example
register_gitlab_pipeline name="private-gitlab" base_url="https://gitlab.internal.example" project="platform/service" token_env="GITLAB_TOKEN"
Only token_env is persisted. Token values, response bodies, and full traces are never stored or returned. Failed-job trace excerpts are range-requested, sanitized, and bounded.
Public HTTP and HTTPS endpoints are allowed by default. The provider sends GET requests only and supports bounded status, header, body-substring, JSON scalar, and TLS-expiry assertions:
register_http_target name="service-health" url="https://status.example.com/health" expected_statuses=[200] header_assertions=[{"name":"x-ready","equals":"yes"}] body_contains=["ready"] json_assertions=[{"path":"status","equals":"ready"}] tls_expiry_days=30 tags=["production","http"]
check_http_target name="service-health" timeout_ms=5000
Private, loopback, link-local, and other non-public addresses are blocked. A trusted private origin is available only in the full runtime profile and must be explicitly listed:
export HEALTH_MONITOR_HTTP_TARGET_ALLOWLIST=https://status.internal.example:8443
Every DNS answer and every redirect destination is revalidated. Responses are capped at 262144 bytes; full response bodies and certificate chains are never stored or returned.
Webhook targets receive alert notifications via HTTPS POST with optional HMAC-SHA256 signing. Secrets are encrypted at rest when HEALTH_MONITOR_WEBHOOK_ENCRYPTION_KEY is configured (32+ characters); otherwise secret registration is rejected.
register_webhook name="alert-webhook" url="https://hooks.example/alerts" secret="webhook-secret" events=["down","alert"] tags=["production","alerts"]
test_webhook name="alert-webhook"
Secrets are never returned in listings or diagnostics—always redacted. Delivery diagnostics include status, latency, HTTP status code, and error message.
check_server name="inventory-prod" timeout_ms=5000
check_all timeout_ms=5000 tags=["production"] get_uptime name="inventory-prod" hours=24 get_dashboard hours=24 include_tool_stats=true get_report hours=24
HEALTH_MONITOR_MAX_CONCURRENCY limits MCP, GitHub Actions, GitLab, and HTTP checks through one shared scheduled and interactive queue. Results preserve MCP-then-GitHub-then-GitLab-then-HTTP registration order even when checks complete out of order.
set_alert name="inventory-prod" max_response_time_ms=500 min_uptime_percent=99 consecutive_failures_before_alert=2
Alert findings are evaluated by check_server, check_all, and get_dashboard. Configure webhook targets with register_webhook to receive alert notifications.
| Variable | Default | Purpose |
|---|---|---|
HEALTH_MONITOR_DB | ~/.mcp-health-monitor/health.db | SQLite database path |
HEALTH_MONITOR_AUTO_CHECK | 0 | Enable scheduled checks with 1 |
HEALTH_MONITOR_RETENTION_DAYS | 30 | Health-history retention |
| HEALTH_MONITOR_MAX_CONCURRENCY