mcp_python_server

washyu/mcp_python_server

3.3

If you are the rightful owner of mcp_python_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Homelab MCP Server is a comprehensive solution for managing, deploying, and monitoring homelab infrastructure using AI-driven tools and protocols.

The Homelab MCP Server is designed to streamline the management of homelab infrastructure by leveraging AI-powered tools and protocols. It offers a robust framework for automated service installation, Terraform state management, AI accelerator support, and virtual machine operations. This server enables users to efficiently manage their homelab environments with minimal manual intervention, providing a seamless experience for deploying and monitoring various services. With its advanced capabilities, the Homelab MCP Server supports a wide range of applications, from AI-powered security systems to smart home automation, making it an ideal choice for tech enthusiasts and professionals alike. The server's integration with AI assistants through the Model Context Protocol further enhances its functionality, allowing for intuitive and intelligent infrastructure management.

Features

  • AI-Driven Service Installation: Automate the deployment and management of services with AI optimization.
  • AI Accelerator Support: Enhance performance with auto-detection and optimization for various AI hardware.
  • VM Infrastructure Management: Manage VMs and containers with SSH-based discovery and automated user setup.
  • Enterprise-Grade Infrastructure as Code: Utilize Terraform for state management and idempotent deployments.
  • Ultra-Fast Development: Benefit from the uv package manager for rapid dependency installation and reproducible builds.

Usages

usage with Claude Desktop uv

{
  "mcpServers": {
    "homelab": {
      "command": "/opt/homebrew/bin/uv",
      "args": ["run", "python", "/Users/your-username/workspace/mcp_python_server/run_server.py"],
      "cwd": "/Users/your-username/workspace/mcp_python_server"
    }
  }
}

usage with Claude Desktop python

{
  "mcpServers": {
    "homelab": {
      "command": "python3",
      "args": ["/path/to/your/mcp_python_server/run_server.py"],
      "env": {
        "PYTHONPATH": "/path/to/your/mcp_python_server/src"
      }
    }
  }
}

Tools

  1. list_available_services

    List all available service templates including AI accelerator-optimized services.

  2. install_service

    Deploy services with automatic AI accelerator detection and optimization.

  3. plan_terraform_service

    Generate Terraform execution plans to preview infrastructure changes without applying them.

  4. destroy_terraform_service

    Cleanly destroy Terraform-managed services and remove all associated resources.