Token导航 LogoToken导航TokenDH.com
MCP Health Server logo
运维云端stdio官方级别未说明来源级核验

MCP Health Server

MCP Server

MCP Health Server是一个为MCP服务器生态系统提供实时健康状态监测的服务,帮助AI代理在工具失败前获得完整的生态系统状态可见性。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
PythonClaude实时监控Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

caio313

提供方

caio313

最后核验

2026/5/17 20:23

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python -m venv venv

详细介绍

MCP健康服务器

MCP服务器生态系统的完整性监视器。 任何AI代理都可以使用这些工具来了解 实时了解其生态系统的真实状态。

______________________________________________________________________

它解决的问题

当AI代理的工具发生故障时,他们会默默地失败。

Agent calls tool → tool responds slowly or incorrectly → agent makes wrong decision
                                                        → nobody knows why

MCP Health Server为任何代理提供完全可见性 在事情发生之前,进入其生态系统的状态。

______________________________________________________________________

可用工具

健康检查

实时验证MCP服务器的状态。 检测延迟、可用性和暴露的工具。 与可流式传输的http和SSE兼容。

check_health("https://my-server.com/mcp")

→ {
    "status": "healthy",
    "latency_ms": 226,
    "tools_available": ["ping", "get_time", "get_random_metric"],
    "uptime_24h": 99.5
  }

______________________________________________________________________

get_summary

单个呼叫中多个MCP服务器的状态。 并行运行所有检查。

get_summary([
  "https://server-a.com/mcp",
  "https://server-b.com/mcp"
])

→ {
    "total": 2,
    "healthy": 1,
    "degraded": 1,
    "unhealthy": 0,
    "ecosystem_health_score": 50.0
  }

______________________________________________________________________

check_drift

检测服务器的行为是否已更改 与历史基线相比。

发现传统的逐渐退化 正常运行时间警报永远不会触发。

check_drift("https://my-server.com/mcp", baseline_days=7)

→ {
    "drift_detected": false,
    "baseline_avg_latency_ms": 93.7,
    "current_latency_ms": 93.9,
    "overall_severity": "NONE"
  }

______________________________________________________________________

calculate_blast_radius

计算特定服务停机时的级联影响。 显示哪些其他服务直接受到影响 间接地。

calculate_blast_radius(
  "auth-mcp",
  ["data-mcp", "trading-mcp", "report-mcp"]
)

→ {
    "directly_affected": ["data-mcp", "trading-mcp"],
    "cascade_affected": ["report-mcp"],
    "ecosystem_impact_percent": 100.0,
    "severity": "CRITICAL"
  }

______________________________________________________________________

连接到您的代理

{
  "mcpServers": {
    "mcp-health": {
      "url": "https://mcp-health-server.onrender.com/mcp"
    }
  }
}

______________________________________________________________________

本地设置

# 1. Clone the repository
git clone https://github.com/caio313/mcp-health-server
cd mcp-health-server

# 2. Create virtual environment and install dependencies
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# 3. Configure environment variables
cp .env.example .env
# Edit .env with your DATABASE_URL

# 4. Initialize the database
python -c "import asyncio; from core.db import init_db; asyncio.run(init_db())"

# 5. Run the server
python main.py
# Available at: http://localhost:8000/mcp

______________________________________________________________________

协议兼容性

支持两种MCP传输,无需额外配置:

  • streamable-http --现行标准
  • SSE --服务器发送的事件

______________________________________________________________________

AI代理的技能

包括针对Claude和OpenCode的优化SKILL.md 它根据上下文自动编排工具。

要在OpenCode中激活它,请将SKILL.md复制到: ~/.config/opencode/skills/mcp-health.md

______________________________________________________________________

定价

计划价格限额
自由0美元100张支票/天
建造者19美元/月10000张支票/天
团队49美元/月无限制+电子邮件提醒

目录标签

目录标签

PythonClaude实时监控健康监测本地部署AI工具服务器管理故障检测

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP