MCP monitoring server for MCP services, GitHub Actions, GitLab CI/CD, and HTTP/HTTPS endpoints, with SQLite health history, TLS expiry checks, assertions, diagnostics, and operational reports.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add health-monitor --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env GITLAB_TOKEN='<GITLAB_TOKEN>' -- npx -y health-monitor-mcp~/.codex/config.toml
[mcp_servers.health-monitor]
command = "npx"
args = ["-y", "health-monitor-mcp"]
env = { GITHUB_TOKEN = "<GITHUB_TOKEN>", GITLAB_TOKEN = "<GITLAB_TOKEN>" }
# codex mcp add health-monitor --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env GITLAB_TOKEN='<GITLAB_TOKEN>' -- npx -y health-monitor-mcp~/.cursor/mcp.json
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"GITLAB_TOKEN": "<GITLAB_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"health-monitor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"GITLAB_TOKEN": "<GITLAB_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"GITLAB_TOKEN": "<GITLAB_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"GITLAB_TOKEN": "<GITLAB_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"health-monitor": {
"command": "npx",
"args": [
"-y",
"health-monitor-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"GITLAB_TOKEN": "<GITLAB_TOKEN>"
}
}
}
}需要的环境变量
GITHUB_TOKENGITLAB_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。