Skip to main content
Glama
.env.example909 B
# =========================================== # Homelab MCP Server Configuration # =========================================== # Capability level (1-4) # 1 = Monitor (read-only) # 2 = Operate (start/stop/restart) # 3 = Configure (read configs) # 4 = Manage (write configs, exec) CAPABILITY_LEVEL=1 # API authentication (generate with: openssl rand -hex 32) API_KEY=your-secure-api-key-here # Server settings PORT=3005 # OPNsense API credentials # Get from: OPNsense UI → System → Access → Users → API keys OPNSENSE_HOST=10.0.0.1 OPNSENSE_API_KEY=your-opnsense-api-key OPNSENSE_API_SECRET=your-opnsense-api-secret # TrueNAS API credentials # Get from: TrueNAS UI → Top-right menu → API Keys TRUENAS_HOST=10.0.0.105 TRUENAS_API_KEY=your-truenas-api-key # Docker socket path (usually don't need to change) DOCKER_SOCKET=/var/run/docker.sock # Dockge stacks path DOCKGE_STACKS_PATH=/opt/stacks

Latest Blog Posts

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/bshandley/homelab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server