System Info MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
System Info MCP Server
A Model Context Protocol (MCP) server that exposes system monitoring and process management tools.
This project provides AI agents with safe access to system information such as CPU usage, memory usage, running processes, and controlled process termination with validation safeguards.
π Features
β Retrieve system information (CPU, RAM, Disk, Network, Uptime)
β List running processes
β Detect high resource usage processes
β Safe process termination with validation
β MCP tools integration
β Security checks preventing termination of critical system processes
Related MCP server: Windows MCP Server
π§± Project Structure
system-info/
β
βββ main.py # MCP server entry point
βββ services/
β βββ system_info_service.py # System monitoring logic
βββ models/
β βββ system_info.py
β βββ process_info.py
βββ validation.py # Safety validation rules
βββ tests.py # Unit tests
βββ README.mdβοΈ Requirements
Python 3.10+
psutil
MCP FastMCP
Install dependencies:
pip install psutil
pip install mcp
βΆοΈ Running the MCP Server
Start the server:
python main.py
The MCP server will start and expose registered tools to compatible MCP clients.
π§ Available MCP Tools
system_info_tool
Returns system information including:
OS details
CPU usage
RAM usage
Disk usage
Network statistics
Uptime
resource_usage_tool
Detects processes consuming excessive resources and returns only those safe to terminate.
list_processes_tool
Returns a list of currently running processes.
terminate_process_tool
Safely terminates a process after validation and user confirmation.
Parameters:
pid β Process ID
confirmed β must be true to execute termination
Safety protections include:
Prevents killing system-critical processes
Prevents terminating PID 0/1
Prevents self-termination
π Safety Model
Before terminating a process:
Process information is collected.
Validation rules are applied.
Critical OS processes are blocked.
User confirmation is required.
π§ͺ Running Tests
Run unit tests:
python -m unittest utils.testsTests use mocking to avoid interacting with real system processes.
π Adding This MCP Server to an MCP Client
Example configuration (Claude Desktop / MCP-compatible client):
{
"mcpServers": {
"system-info": {
"command": "python",
"args": ["PATH_TO_PROJECT/main.py"]
}
}
}Replace:
PATH_TO_PROJECT
with the absolute path to your project folder.
Example (Windows):
C:\Users\your-user\Desktop\system-info\main.py π§© How MCP Integration Works
This project uses:
mcp = FastMCP("system-info-mcp-server")
Each tool is registered using:
@mcp.tool()
When the server runs, MCP automatically exposes these tools to AI agents.
π‘οΈ Security Notes
Never expose this server publicly without authentication.
Process termination is restricted but still powerful.
Intended for local development or controlled environments.
π License
MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only Linux server and Docker monitoring for AI assistants: CPU, memory, disk, network.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Create, test, and manage uptime monitors for websites and APIs from your AI agent.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI to monitor and analyze local system processes through custom tools. Provides real-time access to process information including CPU usage, memory consumption, process counts, and process searching capabilities.-
- AlicenseAqualityDmaintenanceExposes Windows system information and control tools including hardware stats, network details, and process monitoring. It enables AI applications to retrieve real-time data about CPU, memory, drives, and active system processes.12GPL 3.0
- FlicenseNot gradedqualityDmaintenanceGives AI agents real-time access to system metrics, process management, and container orchestration.-
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to monitor system health, manage processes, execute shell commands, and inspect environment variables and directories.1MIT