mcp-homelab-server

mcp-homelab-server

Enables AI agents to manage a homelab by providing tools for Docker, Ollama, and system monitoring through the Model Context Protocol.

Category
Visit Server

README

MCP Homelab Server šŸ 

Model Context Protocol server for homelab management Give AI agents access to your homelab: Docker, Ollama, system stats, and more.

What Is This?

An MCP (Model Context Protocol) server that exposes homelab tools to AI agents like Claude, GPT, or any MCP-compatible client. Instead of writing scripts yourself, just ask your AI agent to manage your infrastructure.

Example conversations:

  • "List all running Docker containers"
  • "How much RAM is Ollama using?"
  • "Pull the llama3 model"
  • "Show me disk usage on the server"

Tools Provided

Docker Management

Tool Description
docker_ps List running containers
docker_logs Get container logs
docker_restart Restart a container
docker_stop Stop a container
docker_stats Resource usage (CPU, RAM, network)

Ollama / LLM Management

Tool Description
ollama_list List installed models
ollama_pull Pull a new model
ollama_ps Show running models and memory usage
ollama_generate Run a quick inference test

System Monitoring

Tool Description
system_stats CPU, RAM, disk, uptime
disk_usage Detailed disk usage by mount
network_status Network interfaces and connections
process_top Top processes by CPU/RAM

Quick Start

With Claude Desktop / Cursor / any MCP client

Add to your MCP client configuration:

{
  "mcpServers": {
    "homelab": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-server-homelab"]
    }
  }
}

With OpenClaw

{
  "mcpServers": {
    "homelab": {
      "command": "python3",
      "args": ["path/to/mcp-homelab-server/src/server.py"]
    }
  }
}

Standalone (for testing)

git clone https://github.com/Proto-labs-rnd/mcp-homelab-server.git
cd mcp-homelab-server
pip install -r requirements.txt
python3 src/server.py

Requirements

  • Python 3.10+
  • Docker (for Docker tools)
  • Ollama (for LLM tools, optional)
  • Linux/macOS (system stats rely on standard Unix tools)

Architecture

MCP Client (Claude, Cursor, OpenClaw, etc.)
        │
        ā–¼
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│  MCP Server (stdio)  │
│  ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”  │
│  │ Docker Tools  │  │
│  │ Ollama Tools  │  │
│  │ System Tools  │  │
│  ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜  │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
        │
        ā–¼
   Your Homelab

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured