Skip to content
LabTether

How LabTether fits together.

One hub runs in Docker with its own PostgreSQL database. Agents on your machines connect out to it, and the hub reads Proxmox, TrueNAS, Portainer and Home Assistant through their APIs.

Facts for version 1.7.1, with the defaults from the release compose file.

  • BrowserThe web console.http://localhost:3000
  • AI clientMCP, with a scoped API key.https://hub:8443/mcp
  • CLI and scriptsREST API, with a scoped API key.https://hub:8443/api/v2

Docker hostPorts 3000, 8080 and 8443 bind to 127.0.0.1

  • HubAPI, web console, alerts, schedules and the Audit Log.
  • PostgreSQL 18All hub data, on an internal-only network.
  • guacdGateway for RDP. Off until you turn it on.
  • AgentsLinux, macOS and Windows (partial). Docker hosts run the agent.agent → wss://hub:8443/ws/agent
  • ConnectorsProxmox VE, Proxmox Backup Server, TrueNAS, Portainer and Home Assistant.hub → each platform’s API
  • Manual devicesAnything with SSH, Telnet, VNC, RDP or ARD, including FreeBSD.hub → SSH, Telnet, VNC, RDP, ARD
Browsers, AI clients, scripts and agents open their connections to the hub. The hub opens its own connections to platform APIs and manual devices.

The hub.

One Docker Compose stack for amd64 or arm64 hosts. It needs Docker Engine with Compose 2.33.1 or newer.

  • One imageghcr.io/labtether/labtether runs the hub API and the web console. The installer pins it by digest.
  • PostgreSQLPostgreSQL 18 ships in the same stack on an internal-only network. You can use your own PostgreSQL instead. Run one hub per database.
  • Ports3000 for the console over HTTP, 8443 for HTTPS (agents, API and MCP) and 8080 for HTTP. All three bind to 127.0.0.1 until you change the bind address or put Tailscale Serve or your own HTTPS proxy in front.
  • TLSOn from first boot. The hub makes its own CA and a one-year server certificate that it renews 30 days before expiry. You can upload your own, or use tailscale cert.
  • ContainersThe hub and console run as a non-root user on a read-only filesystem, with every Linux capability dropped.
  • OfflineAgent binaries are built into the image and the hub makes no update checks, so it keeps working without internet.

Agents.

A Go binary for Linux and Windows. On macOS, a menu bar app runs it.

  • Connects outThe agent opens wss://hub:8443/ws/agent, so its machine needs no open inbound port. It keeps a token-protected status API on 127.0.0.1.
  • EnrollmentTokens are one-time and expire after 24 hours by default, and only their hash is stored. An agent installed without a token waits until an admin approves it.
  • IdentityEach agent has its own Ed25519 key and its own credential. Shared owner tokens are refused, and TLS verification is on by default.
  • UpdatesUpdates come from the hub, not GitHub. The agent checks the Ed25519 signature and SHA-256 before it replaces itself.
  • PlatformsLinux on amd64 and arm64. Windows is partial: metrics and the terminal so far. FreeBSD has no agent yet.
  • What it sendsNo telemetry or crash reports. WebRTC sessions use Google’s public STUN server unless you set LABTETHER_WEBRTC_STUN_URL.

Connectors.

The hub talks to each platform’s own API. Nothing is installed on Proxmox, TrueNAS, Portainer or Home Assistant.

ConnectorWhat shows upActions
Proxmox VENodes, VMs and LXCsStart, stop, shut down, reboot, snapshot, roll back, back up, clone, migrate, resize a VM disk
Proxmox Backup ServerDatastores, backup jobs, task history and capacityGarbage collection, prune, verify
TrueNASPools, datasets, SMART, apps and VMsScrub, SMART test, snapshots, start and stop apps and VMs, reboot
PortainerEnvironments, containers and stacksStart, stop, restart and remove containers; start, stop and redeploy stacks
Home AssistantEntities and their stateToggle an entity, call a service
Docker, through the agentContainers, images and Compose stacksStart, stop, restart and remove containers; pull images; Compose up, down, pull and restart

Connectors cannot reach loopback or link-local addresses, so they cannot reach the hub’s own container or cloud metadata endpoints. Private LAN ranges are allowed. TrueNAS is read through its JSON-RPC API only. Connector setup

Access.

People sign in to the console. The REST API, the CLI and the MCP server use API keys.

  • AccountsLocal accounts with bcrypt-hashed passwords and TOTP two-factor sign-in, or OIDC single sign-on.
  • RolesOne owner, then admin, operator and viewer. Viewers cannot open terminals, files or logs.
  • API keysEach key has a role, scopes, an optional device list and an optional expiry, and never more rights than the user who made it. Keys are refused over plain HTTP, and only a hash is stored.
  • MCP32 tools and 3 resources at https://hub:8443/mcp. A key without the assets:exec scope can read but cannot run commands.
  • No built-in AIThe hub has no AI model and calls no AI service. MCP lets your own client connect.
  • Audit LogEvery API request, with who made it, method, path, status and duration, kept 180 days by default. The log lives in the hub’s database and is not tamper-evident.

What leaves your network.

The hub sends no telemetry or analytics and makes no update checks. These are the outside requests that do happen.

  • Push relaypush.labtether.com forwards alerts to Apple once the iPhone app registers for them. The app is not released yet. Turn the relay off with LABTETHER_PUSH_RELAY_URL=off.
  • In your browserThe console’s Terminal page loads its fonts from Google Fonts. WebRTC sessions use Google’s public STUN server.
  • macOS and Windows appsEach checks GitHub once a day for a new version. You can turn this off on macOS.
  • Your alert channelsAlerts go to the channels you add: email, Slack, ntfy, Gotify or a webhook.

Install the hub.

The installer checks each download against the release checksums, and GitHub build attestations when the GitHub CLI is installed.