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
- Clone the repository:
git clone https://github.com/nnnnzs/server-status-mcp-server.git
- Install dependencies with
npm install
- Build the project using
npm run build
Usage
Run as an independent service
- Start the server using either the globally installed package or from source.
- Run a test client with
node client.js
- Communicate with the server using
stdio
method or retrieve remote server status.
Integrate as an npm package
- Create and configure MCP service instances and clients to utilize the monitoring tool.