system-status
system-status
Hermes スタイルの運用エージェント: Ubuntu / Docker / パブリック IP を監視し、アラートを飞书へプッシュします。
機能
🐳 Docker 監視:コンテナ状態、再起動回数、CPU/メモリ、ヘルスチェック
🖥️ システム監視:CPU、メモリ、ディスク、ロード
🌐 パブリック IP ドリフト検出:複数のソースで検証し、変化時にアラート
💬 飞书アラート:リッチテキストカード + @指定ユーザー
📊 SQLite 履歴データ:サンプリングごとにDBへ保存し、デフォルトで7日間保持
️ Web パネル:リアルタイムダッシュボード + トレンドグラフ + アラートストリーム
ブラウザで
http://localhost:8080/web/を開くだけでOKです。
🌐 HTTP / MCP インターフェース:Hermes / クライアントからの呼び出し用
GET /healthGET /api/docker/containersPOST /api/docker/restartGET /api/systemGET /api/ipGET /api/dashboardGET /api/history/system?inutes=60GET /api/history/ipGET /api/alarts/recentGET /mcp/tops
Related MCP server: 6amdev-server-mcp
クイックスタート
1. 飞书 ロボットを作成
グループチャット → 設定 → グループボット → 追加 → カスタムボット → Webhook と Secret を取得します。
2. 環境変数の設定
cp .env.example .env
# 编辑 .env,填入飞书 webhook 和 secret3. 起動
docker compose up -d4. 検証
curl http://localhost:8080/health
curl http://localhost:8080/api/docker/containers
curl http://localhost:8080/api/system
curl http://localhost:8080/api/ip設定説明
.env:
変数 | 必須 | 説明 |
| ✅ | 飞书 ロボット Webhook |
| ⭕ | 署名検証キー |
| ⭕ | @する電話番号、カンマ区切り |
| ⭕ | 全員に@するかどうか |
| ⭕ | チェック間隔(秒)、デフォルト 60 |
| ⭕ | HTTP ポート、デフォルト 8080 |
Hermes への連携
Hermes は HTTP MCP を経由してこれらのエンドポイントを直接呼び出すことができます。 Hermes の設定に次を追加します:
mcp_servers:
- name: system-status
type: http
base_url: http://localhost:8080
tools:
- name: list_containers
method: GET
path: /api/docker/containers
- name: system_health
method: GET
path: /api/system
- name: check_public_ip
method: GET
path: /api/ip
- name: restart_container
method: POST
path: /api/docker/restart
body_schema:
type: object
properties:
name: { type: string }すると、Hermes に次のように指示できます:
「終了したコンテナをすべて列挙して」 「mysql-01 を再起動して」 「現在のパブリック IP は?」 「システムの健全性はどう?」
プロジェクト構成
system-status/
├── src/
│ ├── index.ts # 入口
│ ├── config.ts # 配置加载
│ ├── mcp/server.ts # HTTP / MCP 接口
│ ├── monitor/
│ │ ├── docker.ts # Docker 监控
│ │ ├── system.ts # 系统监控
│ │ ├── ip.ts # 公网 IP 检测
│ │ └── loop.ts # 监控主循环
│ └── alert/
│ ├── feishu.ts # 飞书 Webhook + 签名
│ └── templates.ts # 告警模板
├── config/rules.yaml # 告警规则
├── Dockerfile
├── docker-compose.yml
└── .env.exampleアラートのクールダウン
同じ種類のアラートは、デフォルトでは 5 分 以内に重複してプッシュされません(アラートストーム防止)。
調整するには、src/monitor/loop.ts の COOLDOWN_MS を変更してください。
セキュリティ上の注意
⚠️
docker.sockは root 権限と同等です。必ず読み取り専用の:roでマウントしてください。⚠️ コンテナで
privileged: trueを有効にしている場合は、本番環境でのリスクを評価してください。⚠️ 飞书 Webhook は Git にコミットしないでください。
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 gradedqualityFmaintenanceMulti-machine system monitor with a built-in MCP server that enables AI agents to query health metrics, manage processes, schedule cron jobs, and run diagnostics across local and remote machines.133Apache 2.0

6amdev-server-mcpofficial
FlicenseBqualityDmaintenanceMCP server for managing Ubuntu servers with AI integration, enabling system monitoring, Docker control, Gitea repository management, Ollama LLM interaction, workspace file operations, and Claude Code assistant via natural language.34- AlicenseAqualityCmaintenanceEnables AI agents to monitor Docker containers, system resources, ports, and logs in real-time.5MIT
- FlicenseNot gradedqualityBmaintenanceServer Monitor MCP is a Linux server inspection service with web backend and MCP interface. It allows you to manage SSH hosts and query server metrics via natural language.
Related MCP Connectors
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Real-time health monitoring and heartbeat tracking for agent services
MCP uptime, schema, auth, and SLA receipt monitoring.
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/myclaw66/system-status'
If you have feedback or need assistance with the MCP directory API, please join our Discord server