Back to MCP Servers
🧩

homelab-infra-mcp

API key required

Homelab: Nginx Proxy Manager, Docker and Cloudflare DNS, with approval for every change.

To add homelab-infra-mcp to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 27 environment variables, listed below.

CloudDevTools

Install

uvx homelab-infra-mcp@2.1.1

Environment variables

HOMELAB_PROXY_URLSet in your MCP config
HOMELAB_PROXY_EMAILSet in your MCP config
HOMELAB_PROXY_PASSWORDSet in your MCP config
HOMELAB_DOCKER_HOSTSet in your MCP config
HOMELAB_DOCKER_PORTAINER_URLSet in your MCP config
HOMELAB_DOCKER_PORTAINER_TOKENSet in your MCP config
HOMELAB_DOCKER_PORTAINER_ENDPOINT_IDSet in your MCP config
HOMELAB_DNS_API_TOKENSet in your MCP config
HOMELAB_DNS_ZONE_IDSet in your MCP config
HOMELAB_HOME_ASSISTANT_URLSet in your MCP config
HOMELAB_HOME_ASSISTANT_TOKENSet in your MCP config
HOMELAB_UPTIME_ENABLEDSet in your MCP config
HOMELAB_UPTIME_URLSet in your MCP config
HOMELAB_UPTIME_API_KEYSet in your MCP config
HOMELAB_TUNNEL_ENABLEDSet in your MCP config
HOMELAB_TUNNEL_API_TOKENSet in your MCP config
HOMELAB_TUNNEL_ACCOUNT_IDSet in your MCP config
HOMELAB_TUNNEL_TUNNEL_IDSet in your MCP config
HOMELAB_DNS_FILTER_ENABLEDSet in your MCP config
HOMELAB_DNS_FILTER_URLSet in your MCP config
HOMELAB_DNS_FILTER_USERNAMESet in your MCP config
HOMELAB_DNS_FILTER_PASSWORDSet in your MCP config
HOMELAB_SSO_ENABLEDSet in your MCP config
HOMELAB_SSO_URLSet in your MCP config
HOMELAB_SSO_TOKENSet in your MCP config
HOMELAB_SSO_FLOW_SLUGSet in your MCP config
HOMELAB_READ_ONLYSet in your MCP config

Install with your client

Terminal
claude mcp add homelab-infra --env HOMELAB_PROXY_URL=<YOUR_HOMELAB_PROXY_URL> --env HOMELAB_PROXY_EMAIL=<YOUR_HOMELAB_PROXY_EMAIL> --env HOMELAB_PROXY_PASSWORD=<YOUR_HOMELAB_PROXY_PASSWORD> --env HOMELAB_DOCKER_HOST=<YOUR_HOMELAB_DOCKER_HOST> --env HOMELAB_DOCKER_PORTAINER_URL=<YOUR_HOMELAB_DOCKER_PORTAINER_URL> --env HOMELAB_DOCKER_PORTAINER_TOKEN=<YOUR_HOMELAB_DOCKER_PORTAINER_TOKEN> --env HOMELAB_DOCKER_PORTAINER_ENDPOINT_ID=<YOUR_HOMELAB_DOCKER_PORTAINER_ENDPOINT_ID> --env HOMELAB_DNS_API_TOKEN=<YOUR_HOMELAB_DNS_API_TOKEN> --env HOMELAB_DNS_ZONE_ID=<YOUR_HOMELAB_DNS_ZONE_ID> --env HOMELAB_HOME_ASSISTANT_URL=<YOUR_HOMELAB_HOME_ASSISTANT_URL> --env HOMELAB_HOME_ASSISTANT_TOKEN=<YOUR_HOMELAB_HOME_ASSISTANT_TOKEN> --env HOMELAB_UPTIME_ENABLED=<YOUR_HOMELAB_UPTIME_ENABLED> --env HOMELAB_UPTIME_URL=<YOUR_HOMELAB_UPTIME_URL> --env HOMELAB_UPTIME_API_KEY=<YOUR_HOMELAB_UPTIME_API_KEY> --env HOMELAB_TUNNEL_ENABLED=<YOUR_HOMELAB_TUNNEL_ENABLED> --env HOMELAB_TUNNEL_API_TOKEN=<YOUR_HOMELAB_TUNNEL_API_TOKEN> --env HOMELAB_TUNNEL_ACCOUNT_ID=<YOUR_HOMELAB_TUNNEL_ACCOUNT_ID> --env HOMELAB_TUNNEL_TUNNEL_ID=<YOUR_HOMELAB_TUNNEL_TUNNEL_ID> --env HOMELAB_DNS_FILTER_ENABLED=<YOUR_HOMELAB_DNS_FILTER_ENABLED> --env HOMELAB_DNS_FILTER_URL=<YOUR_HOMELAB_DNS_FILTER_URL> --env HOMELAB_DNS_FILTER_USERNAME=<YOUR_HOMELAB_DNS_FILTER_USERNAME> --env HOMELAB_DNS_FILTER_PASSWORD=<YOUR_HOMELAB_DNS_FILTER_PASSWORD> --env HOMELAB_SSO_ENABLED=<YOUR_HOMELAB_SSO_ENABLED> --env HOMELAB_SSO_URL=<YOUR_HOMELAB_SSO_URL> --env HOMELAB_SSO_TOKEN=<YOUR_HOMELAB_SSO_TOKEN> --env HOMELAB_SSO_FLOW_SLUG=<YOUR_HOMELAB_SSO_FLOW_SLUG> --env HOMELAB_READ_ONLY=<YOUR_HOMELAB_READ_ONLY> -- uvx homelab-infra-mcp@2.1.1

Run this in a terminal to add the server to Claude Code.

What this does

homelab-infra-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

HOMELAB_PROXY_URL
HOMELAB_PROXY_EMAIL
HOMELAB_PROXY_PASSWORD
HOMELAB_DOCKER_HOST
HOMELAB_DOCKER_PORTAINER_URL
HOMELAB_DOCKER_PORTAINER_TOKEN
HOMELAB_DOCKER_PORTAINER_ENDPOINT_ID
HOMELAB_DNS_API_TOKEN
HOMELAB_DNS_ZONE_ID
HOMELAB_HOME_ASSISTANT_URL
HOMELAB_HOME_ASSISTANT_TOKEN
HOMELAB_UPTIME_ENABLED
HOMELAB_UPTIME_URL
HOMELAB_UPTIME_API_KEY
HOMELAB_TUNNEL_ENABLED
HOMELAB_TUNNEL_API_TOKEN
HOMELAB_TUNNEL_ACCOUNT_ID
HOMELAB_TUNNEL_TUNNEL_ID
HOMELAB_DNS_FILTER_ENABLED
HOMELAB_DNS_FILTER_URL
HOMELAB_DNS_FILTER_USERNAME
HOMELAB_DNS_FILTER_PASSWORD
HOMELAB_SSO_ENABLED
HOMELAB_SSO_URL
HOMELAB_SSO_TOKEN
HOMELAB_SSO_FLOW_SLUG
HOMELAB_READ_ONLY

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install homelab-infra-mcp?

Run the Claude Code command in the install section to add homelab-infra-mcp to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with homelab-infra-mcp?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to homelab-infra-mcp as well.

Does homelab-infra-mcp need an API key?

Yes. Before it can run, set these environment variables: HOMELAB_PROXY_URL, HOMELAB_PROXY_EMAIL, HOMELAB_PROXY_PASSWORD, HOMELAB_DOCKER_HOST, HOMELAB_DOCKER_PORTAINER_URL, HOMELAB_DOCKER_PORTAINER_TOKEN, HOMELAB_DOCKER_PORTAINER_ENDPOINT_ID, HOMELAB_DNS_API_TOKEN, HOMELAB_DNS_ZONE_ID, HOMELAB_HOME_ASSISTANT_URL, HOMELAB_HOME_ASSISTANT_TOKEN, HOMELAB_UPTIME_ENABLED, HOMELAB_UPTIME_URL, HOMELAB_UPTIME_API_KEY, HOMELAB_TUNNEL_ENABLED, HOMELAB_TUNNEL_API_TOKEN, HOMELAB_TUNNEL_ACCOUNT_ID, HOMELAB_TUNNEL_TUNNEL_ID, HOMELAB_DNS_FILTER_ENABLED, HOMELAB_DNS_FILTER_URL, HOMELAB_DNS_FILTER_USERNAME, HOMELAB_DNS_FILTER_PASSWORD, HOMELAB_SSO_ENABLED, HOMELAB_SSO_URL, HOMELAB_SSO_TOKEN, HOMELAB_SSO_FLOW_SLUG, HOMELAB_READ_ONLY. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-seayniclabs-homelab-infra-mcp)](https://clauderules.net/mcp/io-github-seayniclabs-homelab-infra-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-seayniclabs-homelab-infra-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-seayniclabs-homelab-infra-mcp" alt="Listed on clauderules.net" /></a>