MCP Server Health Monitor
MCP Server Health Monitor
一个 MCP(模型上下文协议)服务器,让 LLM 能够监控服务器基础设施。将其连接到 OpenCode、Claude Code 或任何兼容 MCP 的客户端,即可用自然语言询问服务器的健康状况。
功能
你可以向 LLM 询问以下内容:
"我的 Web 服务器是否在响应?"
"我还剩多少磁盘空间?"
"哪些进程占用的内存最多?"
"3306 端口是否开放?"
Related MCP server: System Monitor MCP Server
工具
工具 | 描述 |
| 检查 URL 是否返回 200 OK |
| 获取磁盘空间信息 |
| 获取内存和交换分区使用情况 |
| 获取每个核心的 CPU 使用率 |
| 检查 TCP 端口是否开放 |
| 列出正在运行的进程,支持可选过滤 |
资源
资源 | 描述 |
| 操作系统、主机名、运行时间 |
| 汇总的健康状态 |
技术栈
Python 3.12+
psutil(系统指标)
httpx(HTTP 检查)
设置
安装依赖:
uv sync运行服务器:
uv run mcp-server-monitor或者直接运行:
uv run python -m mcp_server_monitor使用 MCP Inspector 进行测试
uv run mcp dev src/mcp_server_monitor/server.py这将在浏览器中打开 MCP Inspector,你可以在其中交互式地调用工具。
连接到 OpenCode
添加到你的 opencode.json:
{
"mcpServers": {
"server-monitor": {
"command": "uv",
"args": ["run", "--project", "C:\\Users\\nikol\\Documents\\mcp-server-monitor", "mcp-server-monitor"]
}
}
}运行测试
uv run pytest项目结构
src/mcp_server_monitor/
├── __init__.py Package metadata
├── __main__.py Entry point
├── server.py MCP server setup
├── tools/
│ ├── http.py HTTP endpoint checking
│ ├── system.py CPU, memory, disk
│ ├── network.py Port checking
│ └── processes.py Process listing
└── resources/
└── status.py System info and health许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides read-only server monitoring and diagnostic tools for AI assistants to manage Linux and Unraid systems via SSH. It enables natural language interactions for container management, storage health checks, and system log analysis while keeping credentials secure.17ISC
- FlicenseNot gradedqualityDmaintenanceGives AI agents real-time access to system metrics, process management, and container orchestration.
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to securely manage Virtual Private Servers via SSH, with features including command execution, file operations, system monitoring, and service management.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to monitor and manage Linux infrastructure including services, logs, processes, disk, memory, ports, cron, nginx, Docker, and system health checks via the Model Context Protocol.MIT
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolapP1/mcp-server-monitor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server