kowan
Free, self-hosted Docker manager: deploy Compose stacks and manage containers across many hosts, with agents that work behind NAT. Web UI, CLI and MCP server. MIT-licensed Portainer alternative.
Install / Use
claude mcp add kowan-lab -- npx -y github:kowan-lab/kowanIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
OperationsSupported Platforms
Our assessment of kowan
kowan scores 79/100 on our quality scale, 679th of 759 Operations skills we index.
Its MCP Server is 8.3 KB long, well organised into 8 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 2 days ago, so kowan is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
kowan compared with similar skills
All 4 of these similar skills score higher than kowan; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| kowan (this skill)by kowan-lab | 79 | 3 | 2d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 81.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install kowan?
- Run
claude mcp add kowan-lab -- npx -y github:kowan-lab/kowan. The install tabs above show the steps for each supported agent. - Which AI agents does kowan work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is kowan safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is kowan still maintained?
- The repository was last updated 2 days ago, so kowan is actively maintained.
Skill content
View source on GitHubThe name comes from the Japanese 港湾 (kōwan): a harbour and its port facilities, where containers are loaded, stored and shipped.
Features
- Multi-host by design: an agent on each host, connecting out from behind NAT or a firewall (edge) or accepting the server's connection (direct).
- Containers, images, volumes, networks and stacks across all your hosts, with live logs, a web console and a file browser inside containers.
- Compose deployments with validation before you deploy, from an editor, a template or a git repository; every change is a revision you can diff and roll back.
- Preview environments for branches and pull requests, and promotion from staging to production of exactly what was tested.
- Import stacks from Portainer or from a folder of compose files.
- Safe updates: image vulnerability scans with Trivy, auto-update policies with maintenance windows, and automatic rollback when a new version fails its health check.
- Self-update with rollback for the server and every agent.
- Exposure and HTTPS: see what is published to the internet and expose services through Traefik with certificates.
- Network map of containers, networks, published ports and domains.
- Volume backups with restic to local disk, S3 or SFTP, with browsing and restore.
- Scheduled start and stop for containers and stacks.
- GitOps: export your configuration to git and sync it back with a reviewed diff.
- Workflows and webhooks to automate redeploys and maintenance.
- Teams and resource-scoped permissions, SSO with OpenID Connect, API keys and an audit log.
- Alerts by email and chat channels, and a daily or weekly digest of updates, vulnerabilities, failed backups and expiring certificates.
- Uptime checks for URLs and ports, with an optional public status page.
- Retained, searchable logs per workload across hosts, and resource history with a warning when memory keeps growing.
- Guided disk cleanup with size estimates, on demand or on a schedule.
- Works on a phone and installs as an app.
- MCP server so Claude and other AI assistants can inspect and operate your hosts with an API key's permissions.
- Light and fast: a small Python server with SQLite and no external database, a UI that updates from Docker events, and six built-in themes.
Quick start
Run the server on a machine with Docker:
docker run -d --name kowan --restart unless-stopped \
-p 5081:5081 \
-v kowan-data:/data \
-v /var/run/docker.sock:/var/run/docker.sock \
ghcr.io/kowan-lab/kowan:latest
Open http://localhost:5081 and create the admin account. The first-run screen asks for a one-time setup token: the server prints it in its log (docker logs kowan). The local Docker host is ready to manage.
Prefer Compose? Download docker-compose.yml and run docker compose up -d.
Mounting the Docker socket gives Kowan root-equivalent control of the host. Put the server behind HTTPS before exposing it beyond your network.
Add more hosts
In Hosts → Add host, Kowan shows a one-line docker run command for the agent. Two connection modes are available:
- Edge: the agent dials the server. Use it for hosts behind NAT or a firewall.
- Direct: the server dials the agent. Use it when the server can reach the host.
Admins can rename any host, the local one included, from its page, the Hosts list or kowanctl hosts rename. Only the displayed name changes: deployments, permissions and history stay attached to the host.
Configuration
The server works without configuration. The URL users and agents reach the server at, needed for remote agents and SSO, is set from Settings > Server address. On the first start, KOWAN_EXTERNAL_URL fills it in if set; after that the variable is ignored.
These environment variables are the ones you are most likely to set:
| Variable | Purpose |
|---|---|
| KOWAN_ADMIN_USER, KOWAN_ADMIN_PASSWORD | Create the first admin without the setup screen. |
| KOWAN_SECRET_KEY | Key that encrypts stored secrets. Generated and kept in /data when unset. |
| KOWAN_JWT_SECRET | Session signing key. Generated and kept in /data when unset. |
| KOWAN_SETUP_TOKEN | One-time token for the first-run setup screen. Generated and printed in the log when unset. |
Security settings, all optional. Admins can also narrow the two allowlists from Settings > Network access (never widen them, and never in a way that locks out their own connection):
| Variable | Purpose |
|---|---|
| KOWAN_UI_ALLOW_CIDRS | Addresses or CIDRs allowed to reach the web UI, the API and MCP, comma-separated. Webhooks and /health stay open. |
| KOWAN_EDGE_ALLOW_CIDRS | Addresses allowed to connect edge agents to the server. |
| KOWAN_AGENT_ALLOW_CIDRS | Set on an agent in direct mode: addresses allowed to connect to it (the server's). |
| KOWAN_TRUSTED_PROXIES | Reverse proxies allowed to state the client's address. From anyone else the header is ignored. |
| KOWAN_PROXY_HEADER | The header those proxies use: X-Forwarded-For (default) or X-Real-IP. |
| KOWAN_SERVER_SCRIPTS | off disables workflow script steps, which run bash on the server. Only admins can create them. |
Back up the /data volume: it holds the database and the keys.
CLI and AI assistants
kowanctl controls the server from a terminal:
pip install git+https://github.com/kowan-lab/kowan
kowanctl --server https://kowan.example.com login
kowanctl hosts list
The built-in MCP server is described in the MCP documentation. The AI assistants page in the UI shows ready-to-paste setups for Claude Code, Claude Desktop and Cursor.
Documentation
The full documentation is at kowan.io/docs: installation, adding servers, guides for every feature, and the reference for configuration, container labels, the CLI, the REST API and the MCP server. Its sources are in site/_docs.
Notes on how Kowan works inside, for contributors, are in docs/, starting from the architecture and testing. The changelog lists what changed in each release.
Contributing
Issues and pull requests are welcome. Start with CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.
License
Related Skills
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
81.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
