home-network-mcp
Allows checking the status of a Homebridge service (or other systemd services) running on a Raspberry Pi, via SSH.
Provides monitoring tools for a Raspberry Pi host, including disk usage, system uptime, and systemd service status via SSH.
Click on "Install 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., "@home-network-mcpscan my network and tell me what's online"
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.
home-network-mcp
A personal MCP server that lets an LLM client (Claude Desktop, etc.) monitor my home network and home lab: which devices are online, whether key services are healthy, disk space, and uptime — across both my Windows Server 2022 home lab and a Raspberry Pi running Homebridge.
Why I built this
I wanted to understand how MCP actually works under the hood — not just use it, but build a server from scratch and see how tool schemas, async dispatch, and client/server message flow fit together. Wiring it up against my own home lab (a Windows Server 2022 environment) rather than a toy example forced me to deal with real problems: WinRM auth, parsing PowerShell's JSON output cleanly, timeouts on unreachable hosts, and so on.
It's also a deliberate split of responsibilities:
Python / MCP — protocol layer: tool definitions, schemas, async orchestration
PowerShell — automation layer for Windows targets: the actual Windows-native work (
Get-Volume,Get-Service, WMI queries,Invoke-Commandover WinRM)Bash over SSH — automation layer for Linux targets: querying
systemd,df,/proc/uptimeon my Raspberry Pi
Rather than reimplementing OS-native administration primitives in Python, the server shells out to the right tool for the target platform (PowerShell for Windows, Bash/SSH for Linux) and just handles the plumbing. Extending it to the Pi was also a deliberate push on Bash specifically — my PowerShell is much stronger day-to-day, so building the disk-usage script's field-parsing logic in pure Bash (rather than reaching for Python) was the point, not just a means to an end.
Related MCP server: mcp-openmediavault
Status
scan_network is built and tested end-to-end on macOS against my home subnet, both via the MCP Inspector and Claude Desktop. The Windows-specific tools (check_service_health, check_disk_usage, check_uptime) are implemented but not yet verified against a live host — next step is pointing them at my Windows Server 2022 home lab VM over WinRM. The Raspberry Pi / Homebridge tools (check_pi_service, check_pi_disk_usage, check_pi_uptime) are newly added and not yet tested against the real Pi — next step there is confirming SSH key auth is set up and running each tool once against it.
Tools exposed
Tool | Description |
| Ping-sweeps a subnet, returns which hosts are up and their latency |
| Checks status of named Windows services on a host |
| Reports free/used space per volume on a Windows host, flags low free space |
| Returns last boot time and uptime for a Windows host |
| Checks status of a systemd service (defaults to Homebridge) on the Pi over SSH |
| Reports free/used space per mounted filesystem on the Pi, flags low free space |
| Returns last boot time and uptime for the Pi |
Requirements
Python 3.10+
PowerShell 7+ (
pwsh) on PATHmcp[cli]— this repo was built and tested againstmcp==2.0.0. Note that this version's Python SDK exposesMCPServerdirectly frommcp.server(notFastMCPfrommcp.server.fastmcp, which is what older versions/tutorials use). If you're on a different version and imports fail, checkpython3 -c "import mcp.server as s; print(dir(s))"to see what's actually available in your installed version before assuming the API.For remote hosts: WinRM enabled and reachable (
Enable-PSRemoting), and the account running the server needs appropriate rights on target machinesFor the Raspberry Pi: SSH key-based auth set up (
ssh-copy-id pi@<pi-host>) — password auth is intentionally not supported by the SSH tools, sinceBatchMode=yesis used to fail fast rather than hang waiting for a promptuv— only needed for local dev testing viamcp dev(the MCP Inspector shells out to it). Not required to actually run the server day-to-day. Install withbrew install uv.
Setup
git clone https://github.com/mirenchaps/home-network-mcp.git
cd home-network-mcp
python3 -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
pip install "mcp[cli]"
cp config.example.json config.json # then edit with your own hostsmacOS-specific notes
PowerShell isn't native to macOS but runs fine via pwsh:
brew install --cask powershell@preview # cask name may vary by Homebrew versionIf pwsh isn't found on PATH after install, locate the binary and symlink it manually:
find /usr/local/microsoft/powershell -name pwsh
sudo ln -sf /usr/local/microsoft/powershell/<version>/pwsh /usr/local/bin/pwshscan_network (Get-DeviceStatus.ps1) works locally on macOS since it only uses cross-platform .NET networking APIs. check_service_health, check_disk_usage, and check_uptime call Windows-only cmdlets (Get-Service, Get-Volume, Win32_OperatingSystem via CIM) and will only work against a remote Windows host passed via -ComputerName / computer_name — they can't run locally on a Mac.
Testing locally with the MCP Inspector
Before wiring this into Claude Desktop, it's worth confirming the server works in isolation:
mcp dev server.pyThis launches a local web UI (via uv run under the hood) where you can call each tool directly and inspect the generated schema and raw JSON-RPC traffic — much faster to iterate on than restarting Claude Desktop every time.
Register with Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and point at your venv's Python directly, so it has access to the installed mcp package:
{
"mcpServers": {
"home-network": {
"command": "/absolute/path/to/home-network-mcp/.venv/bin/python3",
"args": ["/absolute/path/to/home-network-mcp/server.py"]
}
}
}Fully quit (Cmd+Q) and reopen Claude Desktop — the tools above will then be available in conversation, e.g. "check disk usage on HOMELAB-FILESRV" or "scan my network and tell me what's online."
Project structure
home-network-mcp/
├── server.py # MCP server + tool definitions
├── scripts/
│ ├── Get-DeviceStatus.ps1 # subnet ping sweep
│ ├── Get-ServiceHealth.ps1 # Windows service status
│ ├── Get-DiskUsage.ps1 # disk/volume free space (Windows)
│ ├── Get-SystemUptime.ps1 # uptime / last boot (Windows)
│ └── pi/
│ ├── check-service.sh # systemd service status (e.g. Homebridge)
│ ├── check-disk.sh # disk/volume free space (Linux)
│ └── check-uptime.sh # uptime / last boot (Linux)
├── config.example.json # example host inventory
└── requirements.txtNotes / limitations
This is a personal project for my own home lab, not hardened for production or multi-tenant use — no auth on the PowerShell remoting beyond standard WinRM, no rate limiting, no retry logic beyond a basic timeout.
Local (non-domain) WinRM setups may need
TrustedHostsconfigured for cross-machine calls without Kerberos.Tested against Windows Server 2022 and Windows 11 hosts on PowerShell 7.4.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides read-only server monitoring and diagnostic tools for AI assistants to manage Linux and Unraid systems via SSH. It enables natural language interactions for container management, storage health checks, and system log analysis while keeping credentials secure.Last updated17ISC
- FlicenseBqualityCmaintenanceEnables AI assistants to monitor and manage OpenMediaVault NAS systems by providing access to storage, network shares, user accounts, and system services. It supports OMV 5 and 6 via the JSON-RPC API for comprehensive hardware and configuration oversight through natural language.Last updated392
- Alicense-qualityAmaintenanceSelf-hosted AI orchestrator that monitors and manages homelab services, exposing them as MCP tools for LLMs to drive.Last updatedMIT
- FlicenseAqualityDmaintenanceExposes homelab and IT-ops tools to Claude, including system health monitoring, Grafana alert states, Docker container status, Loki logs, SMART disk health, and more.Last updated81
Related MCP Connectors
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Operate your own Linux servers from your LLM. Requires the SentinelX agent installed per host.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mirenchaps/home-network-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server