Skip to main content
Glama

Whiskers logo

Whiskers

Self-hosted MCP control plane for Docker hosts and Kubernetes clusters. Humans and AI agents call scoped tools instead of holding SSH keys or the Docker socket. Every call is authenticated, scope-checked, guardrail-evaluated and logged.

Release License: Apache 2.0 MCP Badge

Status: stable (1.0). Run it on a trusted network and read SECURITY.md.

Scope of this README: main, i.e. the first release after 0.15.0. Releases up to 0.15.0 differ (installer defaults to latest, no generated vault key, no VAULT_KEY_FILE, no setup token); for those use the README at v0.15.0.

Facts

Interfaces

Web UI (Blazor Server) and MCP over Streamable HTTP at /mcp. No hosted or cloud endpoint.

Sign-in

Local accounts, Google, generic OIDC. AUTH_DISABLED=true (container variable Auth__Disabled) makes every request an Admin (trusted LAN trials only).

MCP keys

Read, Write or Admin scope, or an explicit tool list; checked on every call. Stored as SHA-256 hashes, shown once.

Guardrails

Per tool Allow / Confirm / Block, evaluated in code at the tool boundary. Confirm runs only the exact call a human approved.

Records

Agent History (every tool call) and a hash-chained Audit Log. Checkpoints are signed, and the trail is tamper-evident, only when a vault key (VAULT_KEY or VAULT_KEY_FILE) is set.

Host access

Onboarding uses SSH once. Onboarded hosts then run over a WireGuard mesh (Tailscale/NetBird), the Docker API over mTLS behind a verb-whitelisting socket proxy, and host commands via a one-shot nsenter container, with no standing SSH key. A server added as a plain SSH connection and never onboarded keeps using SSH (its key in ssh-keys/) until it is migrated.

Targets

Docker hosts, k3s/Kubernetes clusters (kubeconfig), Hetzner and Hostinger cloud APIs.

Storage

/app/data (WHISKERS_DATA_DIR). SQLite by default, PostgreSQL optional. Secrets vault AES-256-GCM with VAULT_KEY / VAULT_KEY_FILE; SSH and mTLS client keys are sealed with a key derived from it.

Images

ghcr.io/lupusmalusdeviant/whiskers, amd64 + arm64, Trivy-gated, SBOM + provenance, keyless cosign signature.

Stack

C# / .NET 10, ASP.NET Core, MudBlazor, EF Core, SignalR. License Apache 2.0.

What it does: features · governance and approvals · MCP tool list (generated from the code).

Related MCP server: Secure Ops Gateway

Install

VER=X.Y.Z   # a release from https://github.com/LupusMalusDeviant/Whiskers/releases
curl -fsSLO "https://github.com/LupusMalusDeviant/Whiskers/releases/download/v${VER}/install.sh"
curl -fsSLO "https://github.com/LupusMalusDeviant/Whiskers/releases/download/v${VER}/checksums.txt"
sha256sum --check --ignore-missing checksums.txt && bash install.sh

The installer installs exactly that release, generates the vault key on a new install (VAULT_KEY_FILE), verifies the image signature if cosign is installed, writes ./whiskers/ and waits until healthy. The UI is at http://127.0.0.1:5100. Flags: install.sh --help.

docker run, Compose, Helm, a reverse proxy, Tailscale, the hardened profile and verifying the image signature: installation guide.

First sign-in

docker exec whiskers cat /app/data/setup-token.txt      # installer or docker run
docker exec serverwatch cat /app/data/setup-token.txt   # release docker-compose.yml (container keeps its pre-rebrand name)

Enter the token in the setup wizard; it creates the first Admin. Unattended alternative: WHISKERS_ADMIN_EMAIL + WHISKERS_ADMIN_PASSWORD_FILE. Local accounts have no MFA in 1.0; for production, sign in through your OIDC provider with MFA.

Connect an MCP client

Create a key under Settings → MCP, then (Claude Code; other clients in the installation guide):

export WHISKERS_MCP_API_KEY=…
claude mcp add --transport http --scope project whiskers http://localhost:5100/mcp --header 'Authorization: Bearer ${WHISKERS_MCP_API_KEY}'

Configuration

Everything is optional. Where a setting goes depends on the install path:

  • Release docker-compose.yml: put the .env names below in a .env beside it; the compose file maps them to the container variables.

  • Installer: on a new install its compose file sets TZ, VAULT_KEY_FILE and, with --data, WHISKERS_DATA_HOST_DIR. Add container variables as environment: entries in ./whiskers/docker-compose.yml.

  • docker run: nothing is set; pass container variables with -e.

.env name (release compose)

Container variable

Effect

VAULT_KEY_FILE / VAULT_KEY

same

Encrypts stored secrets. Losing it makes them unreadable. The installer sets VAULT_KEY_FILE on a new install.

— (release or repository compose file: deploy/docker-compose.postgres.yml overlay from the repository; installer: environment: entries)

WHISKERS_DB_PROVIDER, WHISKERS_DB_CONNECTION (or _FILE)

sqlite (default) or postgres. The overlay needs WHISKERS_DB_PASSWORD in .env.

OIDC_ENABLED, OIDC_AUTHORITY, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET

Oidc__Enabled, Oidc__Authority, Oidc__ClientId, Oidc__ClientSecret

Sign-in through your identity provider.

HOST_BIND, HOST_PORT

— (port mapping; installer: --bind, --port)

Published address; default 127.0.0.1:5100.

PATH_BASE

PathBase

Subpath behind a reverse proxy.

— (not mapped; add an environment: entry)

ForwardedHeaders__TrustedNetworks__0

Proxy whose X-Forwarded-* headers are believed; loopback only by default.

All keys: configuration and .env.example.

Before production

Whiskers 1.0 has deliberate limits: an Admin is root on every managed host, it runs as a single instance, roles are global, terminal sessions are not transcribed, changes made outside Whiskers are not attributed, and local accounts have no second factor. Read the accepted limits and the remaining risks of the compose exposure checks in the production checklist.

Upgrade and rollback · Backup and recovery · Troubleshooting · all operations guides

Development

Requires the .NET SDK version in global.json.

dotnet build Whiskers.slnx -c Release
dotnet test Whiskers.slnx -c Release
dotnet run --project src/Whiskers/Whiskers.csproj   # http://localhost:5041 (launchSettings.json)

Pull requests: CONTRIBUTING.md. All documentation, by reader: docs/README.md. Security issues: report privately, see SECURITY.md.

License

Apache License 2.0, see LICENSE. Copyright © 2026 Whiskers Contributors.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients and AI agents to discover and invoke only explicitly authorized, resource-bounded operational capabilities through a policy-enforced gateway with confirmation, audit, and isolated executor routing. It separates trusted transport identity from execution and supports declared tools over stdio MCP without exposing generic shell or privileged API surfaces.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Unifies IoT devices, CLI tools, REST APIs, local scripts, databases, and multi-step workflows behind a single MCP endpoint so agents can discover and invoke them uniformly via tools/list and tools/call. Every call passes through a built-in Guard pipeline providing parameter validation, command-injection blocking, capability-level permissions, multi-dimensional rate limiting, and tamper-evident audit logging.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables teams to govern agent tool access with function-level allow-lists, credential modes, and audited execution, while exposing permitted MCP tools through a unified endpoint with search and execute functions.
      MIT