System Monitor MCP server

Provides real-time system metrics for CPU, memory, disk, network, host, and process statistics using Go and gopsutil, enabling detailed performance monitoring and diagnostics across Windows, macOS, and Linux.
Back to servers
Setup instructions
Provider
Seekrays
Release date
Mar 19, 2025
Language
Go
Stats
54 stars

The Model Context Protocol (MCP) System Monitor allows Large Language Models (LLMs) to retrieve real-time system information through an MCP-compatible interface. This tool provides monitoring capabilities for CPU, memory, disk, network, host, and process information, making it easy for LLMs to access and analyze system metrics.

Installation

To install the MCP System Monitor, follow these steps:

git clone https://github.com/seekrays/mcp-monitor.git
cd mcp-monitor
make build

Usage

After installation, you can run the compiled binary using:

./mcp-monitor

The server will start in stdio mode, ready to communicate with an MCP-compatible LLM client.

Available Tools

The MCP System Monitor provides several tools for accessing different system metrics:

CPU Information

Tool: get_cpu_info
Description: Get CPU information and usage
Parameters:
  - per_cpu (boolean, default: false): Whether to return data for each core

Memory Information

Tool: get_memory_info
Description: Get system memory usage information
Parameters: None

Disk Information

Tool: get_disk_info
Description: Get disk usage information
Parameters:
  - path (string, default: "/"): Specify the disk path to query
  - all_partitions (boolean, default: false): Whether to return information for all partitions

Network Information

Tool: get_network_info
Description: Get network interface and traffic information
Parameters:
  - interface (string, optional): Specify the network interface name to query

Host Information

Tool: get_host_info
Description: Get host system information
Parameters: None

Process Information

Tool: get_process_info
Description: Get process information
Parameters:
  - pid (number, optional): Process ID to get detailed information for a specific process
  - limit (number, default: 10): Limit the number of processes returned
  - sort_by (string, default: "cpu"): Sort field (cpu, memory, pid, name)

Example Queries

Here are some example queries you might use with the MCP System Monitor:

Getting Basic CPU Information

To retrieve basic CPU information:

{
  "tool": "get_cpu_info",
  "parameters": {}
}

Getting Detailed CPU Information for Each Core

To get detailed information for each CPU core:

{
  "tool": "get_cpu_info",
  "parameters": {
    "per_cpu": true
  }
}

Getting Disk Information for a Specific Path

To check disk usage for a specific directory:

{
  "tool": "get_disk_info",
  "parameters": {
    "path": "/home"
  }
}

Getting Information About the Top Memory-Consuming Processes

To retrieve the top 5 processes consuming the most memory:

{
  "tool": "get_process_info",
  "parameters": {
    "limit": 5,
    "sort_by": "memory"
  }
}

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mcp-monitor" '{"command":"./mcp-monitor","args":[]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mcp-monitor": {
            "command": "./mcp-monitor",
            "args": []
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "mcp-monitor": {
            "command": "./mcp-monitor",
            "args": []
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later