System Information MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@System Information MCP Server get a quick system overview with uptime and memory usage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
System Information MCP Server
A modular FastMCP server providing focused system diagnostic tools for efficient troubleshooting and environment analysis. Each tool targets specific system aspects for optimal performance and clarity.
š Features
š Modular Tool Design
10 specialized tools for targeted diagnostics
Efficient data collection with minimal overhead
Raw text output for optimal performance
Cross-platform compatibility (macOS, Linux, Windows)
š§ Available Tools
Tool | Purpose | Key Information |
| Quick system overview | Hostname, OS, CPU, RAM, uptime |
| Comprehensive hardware specs | CPU cores, memory, GPU detection |
| Display/monitor analysis | Resolution, refresh rate, HDR status |
| Network diagnostics | Interfaces, IPs, DNS, VPN detection |
| Storage overview | Disk usage, partitions, filesystem types |
| Peripheral inventory | USB and Bluetooth devices |
| Session context | User info, timezone, locale settings |
| Process analysis | Top processes by CPU/memory usage |
| Network security | Listening ports and services |
| Complete analysis | All diagnostics in one comprehensive report |
Installation
# Clone and setup
git clone <repository>
cd mcp-sysinfo
# Install dependencies
uv add fastmcp psutil requests
# Test the server
uv run python main.pyUsage
MCP Configuration
Add to your MCP client configuration:
Local/stdio Configuration
{
"mcpServers": {
"sysinfo": {
"type": "stdio",
"command": "uv",
"args": ["run", "--directory", "/path/to/mcp-sysinfo", "python", "main.py"]
}
}
}Remote/HTTP Configuration
{
"mcpServers": {
"sysinfo": {
"type": "http",
"url": "http://localhost:8000/mcp/"
}
}
}For HTTP mode, set the PORT environment variable:
PORT=8000 uv run python main.pyTool Usage Examples
Quick System Check
# Get essential system overview
result = await client.call_tool("get_system_summary", {})Targeted Diagnostics
# Network troubleshooting
network_info = await client.call_tool("get_network_status", {})
# Storage analysis
storage_info = await client.call_tool("get_storage_analysis", {})
# Security audit
ports_info = await client.call_tool("get_open_ports", {})Complete System Analysis
# Full diagnostic report
full_report = await client.call_tool("get_full_system_report", {})Platform Support
macOS 10.15+ (tested on Apple Silicon)
Linux Ubuntu/Debian-based distributions
Windows 10/11 (basic support)
Architecture
src/sysinfo/
āāā __init__.py # Package exports
āāā collectors.py # Modular info collection functions
āāā server.py # FastMCP server implementation
main.py # Entry pointKey Design Principles
Modular Tools: Each diagnostic function is a separate MCP tool for targeted usage
Performance Optimized: Raw text output without JSON wrapping overhead
Error-resilient: Graceful handling of missing/inaccessible data
Cross-platform: Platform-specific detection with intelligent fallbacks
Agent-friendly: Clean markdown output optimized for LLM consumption
Minimal Dependencies: Uses only
fastmcp,psutil, andrequests
Development
Testing
# Test with in-memory client
uv run python test_refactored.py
# Test individual collectors
uv run python -c "from src.sysinfo.collectors import get_hardware_info; print(get_hardware_info())"Adding New Collectors
Add function to
collectors.pyExport in
__init__.pyCall from
server.pytoolTest cross-platform compatibility
License
MIT License - see LICENSE file for details.
Available Tools
10 toolsget_connected_devicesA
Get USB and Bluetooth device information.
Lists all connected USB devices and paired/active Bluetooth devices. Useful for peripheral troubleshooting and device inventory.
Inputs: no named parameters.
get_display_infoB
Get connected display information - resolution, refresh rate, HDR status.
Shows details for all connected monitors including resolution, refresh rates, connection types, and HDR capabilities. Essential for display troubleshooting and multi-monitor setup verification.
Inputs: no named parameters.
get_full_system_reportA
Get complete system analysis - runs all diagnostic tools.
Comprehensive system report including hardware, network, storage, devices, and user environment. Use for complete system analysis and thorough troubleshooting sessions.
Inputs: no named parameters.
get_hardware_detailsA
Get comprehensive hardware information - CPU, RAM, GPU, storage overview.
Detailed hardware specs including performance metrics and device detection. Use for hardware diagnostics and system capability assessment.
Inputs: no named parameters.
get_network_statusA
Get network configuration and connectivity - interfaces, IPs, DNS, VPN status.
Complete network diagnostics including external connectivity and VPN detection. Essential for troubleshooting network issues and security analysis.
Inputs: no named parameters.
get_open_portsA
Get list of open network ports and listening services.
Shows listening ports with associated processes and active network connections. Critical for security analysis, service monitoring, and network troubleshooting.
Inputs: no named parameters.
get_running_processesA
Get list of running processes with resource usage and executable paths.
Shows top processes by CPU/memory usage with PIDs, names, and executable paths. Essential for performance analysis, troubleshooting resource issues, and security auditing.
Inputs: no named parameters.
get_storage_analysisB
Get disk and storage analysis - all partitions, capacity, usage.
Comprehensive storage overview including all mounted volumes and usage stats. Critical for disk space management and storage troubleshooting.
Inputs: no named parameters.
get_system_summaryA
Get essential system overview - hostname, OS, CPU, RAM, uptime.
Quick system identity check without heavy data collection. Perfect for basic system verification and health checks.
Inputs: no named parameters.
get_user_environmentB
Get user session and locale information - current user, timezone, language.
User context including session details, timezone, and system language settings. Important for environment-specific troubleshooting and localization issues.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose targeting specific system components like hardware, network, processes, storage, displays, devices, and user environment. There is no overlap in functionality; for example, get_hardware_details focuses on CPU/RAM/GPU, while get_storage_analysis covers disk partitions, and get_display_info handles monitor details. The descriptions reinforce these boundaries, making tool selection unambiguous for an agent.
All tool names follow a consistent 'get_*' verb_noun pattern with snake_case, such as get_connected_devices, get_display_info, and get_running_processes. This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming conventions across all 10 tools.
With 10 tools, the server is well-scoped for system information gathering, covering key areas like hardware, network, processes, storage, and user environment. Each tool earns its place by addressing a distinct aspect of system diagnostics, avoiding bloat while ensuring comprehensive coverage for troubleshooting and analysis tasks.
The tool set provides complete coverage for system information diagnostics, including hardware details, network status, running processes, storage analysis, display info, connected devices, user environment, and a full system report. There are no obvious gaps; agents can perform thorough system analysis without dead ends, from basic summaries to in-depth reports.
Related MCP Connectors
Read-only Linux server and Docker monitoring for AI assistants: CPU, memory, disk, network.
Read-only server insight: why a Linux server or K8s cluster is slow, failing or changed.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
12 Binary/Forensics MCP tools: entropy triage, ELF/PE/WASM disasm, PCAP, EXIF, SQLite, ZIP.
Appeared in Searches
- A Linux system administration tool for viewing system details and files
- MCP tools for monitoring application memory and CPU usage
- MCP servers for retrieving system information
- MCP servers for monitoring power and memory usage of applications on Windows and macOS
- MCP servers for monitoring application power and memory usage on Windows and macOS