NNNNzs_server-status-mcp-server

NNNNzs_server-status-mcp-server

0

This project is a server monitoring tool based on FastMCP, designed to monitor CPU, memory, and uptime for both local and remote servers. It can function as a standalone server or be used as an npm package for easy integration.

Server Status Monitoring Tool

This is a server status monitoring tool based on FastMCP, capable of retrieving CPU, memory, and uptime information from local or remote servers.

Features

  • Supports retrieving local server status
  • Supports retrieving remote server status via SSH
  • Automatically reads SSH configuration files (~/.ssh/config)
  • Customizable SSH connection parameters
  • Can run as an independent server or be integrated as an npm package in other applications

Installation

Install via npm

  • Install globally via npm install -g server-status-mcp-server
  • Install as a project dependency with npm install server-status-mcp-server

Install from source

  1. Clone the repository: git clone https://github.com/nnnnzs/server-status-mcp-server.git
  2. Install dependencies with npm install
  3. Build the project using npm run build

Usage

Run as an independent service

  1. Start the server using either the globally installed package or from source.
  2. Run a test client with node client.js
  3. Communicate with the server using stdio method or retrieve remote server status.

Integrate as an npm package

  1. Create and configure MCP service instances and clients to utilize the monitoring tool.