homelab-infra-mcp
v2.1.1Homelab: Nginx Proxy Manager, Docker and Cloudflare DNS, with approval for every change.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
proxy_hosts
Proxy hosts. list/get are read-only. create, update and delete change NPM and need the person's approval (or HOMELAB_PROXY_ALLOW_WRITES=true). dry_run=true previews without asking.
| Parameter | Type | Description |
|---|---|---|
action | string | |
block_exploits | boolean | |
domain_names | string | |
dry_run | boolean | |
force_ssl | boolean | |
forward_host | string | |
forward_port | integer | |
host_id | integer | |
limit | integer | |
offset | integer | |
ssl | boolean |
proxy_redirections
HTTP redirections. list is read-only; create and delete need approval (or ALLOW_WRITES).
| Parameter | Type | Description |
|---|---|---|
action | string | |
domain_names | string | |
dry_run | boolean | |
forward_domain | string | |
forward_scheme | string | |
limit | integer | |
offset | integer | |
preserve_path | boolean | |
redirection_id | integer |
proxy_certificates
SSL certificates. list is read-only. request asks Let's Encrypt for a new certificate (needs approval, or ALLOW_WRITES). Let's Encrypt must be able to reach the domains.
| Parameter | Type | Description |
|---|---|---|
action | string | |
domain_names | string | |
dry_run | boolean | |
limit | integer | |
offset | integer |
proxy_access_lists
IP access lists. list is read-only. create and delete need approval (or ALLOW_WRITES). allow and deny are comma-separated IPs or CIDRs. Deleting a list affects every proxy host that uses it.
| Parameter | Type | Description |
|---|---|---|
action | string | |
allow | string | |
deny | string | |
dry_run | boolean | |
limit | integer | |
list_id | integer | |
name | string | |
offset | integer |
docker_containers
Containers. list, get, logs and stats are read-only. start, stop, restart, remove and prune change state and need the person's approval (or HOMELAB_DOCKER_ALLOW_WRITES=true). remove deletes a container permanently. prune removes ALL stopped containers. container is a name or id (not needed for list or prune).
| Parameter | Type | Description |
|---|---|---|
action | string | |
all | boolean | |
container | string | |
dry_run | boolean | |
limit | integer | |
offset | integer | |
since | string | |
tail | integer | |
timeout | integer |
docker_images
Images. list is read-only. pull, remove and prune change the host and need approval (or HOMELAB_DOCKER_ALLOW_WRITES=true). remove deletes an image; prune removes dangling and unused images.
| Parameter | Type | Description |
|---|---|---|
action | string | |
dry_run | boolean | |
force | boolean | |
image | string | |
limit | integer | |
offset | integer | |
tag | string |
docker_inventory
Read-only lists: volumes, networks, or Portainer stacks (stacks need the Portainer backend). Pass stack_id with kind=stacks to get that stack's compose file.
| Parameter | Type | Description |
|---|---|---|
kind | string | |
limit | integer | |
offset | integer | |
stack_id | integer |
dns_zones
Zones for the Cloudflare account (action=list), or one zone exported in BIND format (action=export).
| Parameter | Type | Description |
|---|---|---|
action | string | |
limit | integer | |
page | integer | |
zone_id | string |
dns_records
DNS records. list and get are read-only. create, update and delete change the zone and need the person's approval (or HOMELAB_DNS_ALLOW_WRITES=true). create needs name, record_type and content; update needs record_id and any field to change; delete removes the record permanently.
| Parameter | Type | Description |
|---|---|---|
action | string | |
content | string | |
dry_run | boolean | |
limit | integer | |
name | string | |
page | integer | |
proxied | ||
record_id | string | |
record_type | string | |
ttl | integer | |
zone_id | string |
expose_service
Expose a container: check it runs, add a Cloudflare CNAME to tunnel_hostname (only if given), and add an Nginx Proxy Manager host that forwards domain to forward_host:forward_port. The plan is shown to the person before anything changes.
| Parameter | Type | Description |
|---|---|---|
container_name * | string | |
domain * | string | |
forward_port * | integer | |
dns_zone_id | string | |
dry_run | boolean | |
forward_host | string | |
tunnel_hostname | string |
teardown_service
Reverse expose_service: delete the proxy host for domain (found by name unless proxy_host_id is given) and, if dns_record_id is given, that DNS record. The exact plan is shown to the person first.
| Parameter | Type | Description |
|---|---|---|
domain * | string | |
dns_record_id | string | |
dns_zone_id | string | |
dry_run | boolean | |
proxy_host_id | integer |
service_status
One view of a service: the container, the proxy hosts that name the domain, and its DNS records.
| Parameter | Type | Description |
|---|---|---|
container_name * | string | |
dns_zone_id | string | |
domain | string |
infrastructure_overview
Counts across Docker, Nginx Proxy Manager and Cloudflare DNS, in one call.
diagnose_service
Check each hop between a public domain and its upstream container, and name the first one that fails with the fix for it. Hops: DNS record, tunnel route (if the tunnel module is on), Nginx Proxy Manager host, TLS certificate (expiry and trust), upstream container running (Docker), upstream port answering, uptime monitor (if on), Authentik login in front (if on). Read-only: it changes nothing.
| Parameter | Type | Description |
|---|---|---|
domain * | string |
homelab_modules
Which modules are on, which settings are missing, whether writes are pre-approved, and what each tool does. Pass a module name for its full settings list (values are never shown, only whether they are set).
| Parameter | Type | Description |
|---|---|---|
module |
homelab_health
Connectivity and version for every enabled module. A module with missing settings reports the variable it needs.