MCP Server Health Monitor
MCP Server Health Monitor
LLMがサーバーインフラストラクチャを監視できるようにするMCP(Model Context Protocol)サーバーです。OpenCode、Claude Code、またはMCP互換のクライアントに接続して、サーバーの健全性について自然言語で質問できます。
できること
LLMに次のような質問をしてみてください:
「Webサーバーは応答していますか?」
「残りのディスク容量はどのくらいですか?」
「最もメモリを使用しているプロセスはどれですか?」
「ポート3306は開いていますか?」
Related MCP server: MCP VPS Manager
ツール
ツール | 説明 |
| URLが200 OKで応答するか確認します |
| ディスク容量情報を取得します |
| RAMとスワップの使用状況を取得します |
| コアごとのCPU使用率を取得します |
| TCPポートが開いているか確認します |
| オプションのフィルタリング付きで実行中プロセスを一覧表示します |
リソース
リソース | 説明 |
| OS、ホスト名、稼働時間 |
| 集約されたヘルスステータス |
技術スタック
Python 3.12+
psutil(システムメトリクス)
httpx(HTTPチェック)
セットアップ
依存関係をインストール:
uv syncサーバーを実行:
uv run mcp-server-monitorまたは直接実行:
uv run python -m mcp_server_monitorMCP 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 deployed
Maintenance
Related MCP Connectors
Monitors TLS/SSL certificate expiry, DNS resolution, and TCP port status for AI agents.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Agent-native uptime monitoring. Create, inspect, and assert monitor health. Free 50-monitor tier.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides 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
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to securely manage Virtual Private Servers via SSH, with features including command execution, file operations, system monitoring, and service management.1MIT
- AlicenseAqualityDmaintenanceEnables 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.10MIT
- FlicenseNot gradedqualityBmaintenanceLets an LLM client monitor devices, services, disk usage, and uptime in a home network and home lab.-