How unxai/monitor-mcp-server works
Project type and purpose
• This is an open-source, single-service Python monitoring server (“Monitor MCP Server”) that uses the MCP (Message Control Protocol) to expose Mac system metrics (CPU, memory, disk) to any MCP-capable client (e.g., CLI or other services).
File structure
• Top-level files:
• README.md (project description, features)
• pyproject.toml (build and dependency definitions)
• .python-version, .gitignore, uv.lock (environment and lock files)
• src/monitor-mcp-server/
• __init__.py (package marker)
• server.py (main entry point implementing the MCP server and handlers)
• No separate frontend or database directories—this is a backend-only service.
README for additional insights
• Describes system-level metrics collected via psutil functions: get_cpu_info(), get_memory_info(), get_disk_info().
• Declares dependencies on mcp[cli] (the MCP protocol library) and psutil.
• No other external services beyond the MCP clients.