Sandbox
@devantler-tech/ksail

Kubernetes SDK and MCP server for cluster operations

KSail bundles Kubernetes tools into one binary for local and cloud cluster work. You can create clusters, connect to them, manage workloads, and wire in GitOps, secrets, and AI assistants through the CLI, VS Code extension, chat UI, or MCP server.

165 starsโ€ข11 forksโ€ขGoโ€ขUpdated 6d ago
Who it's for

Builders who want one tool to provision and operate Kubernetes clusters from CLI, chat, or agent plugins.

What it delivers

You can manage clusters and GitOps workflows without stitching together separate Kubernetes tools by hand.

What it does

Cluster provisioning

Creates clusters with Kind, K3d, Talos, VCluster, KWOK, and EKS support across Docker and cloud providers.

GitOps and manifests

Includes Flux, ArgoCD, Helm, Kustomize, and kubeconform for deploying and validating workloads.

Secrets management

Uses SOPS with Age encryption for secret handling.

Cluster operations

Provides kubectl, K9s, backup and restore, and multi-tenancy commands like `ksail tenant`.

AI and agent integrations

Ships an MCP server, Copilot-based chat assistant, VS Code extension, and plugin support for Claude Code and Copilot CLI.

How to get it

  1. 1Run
    # Linux / macOS (checksum-verified release)
    curl -fsSL https://github.com/devantler-tech/ksail/releases/latest/download/install.sh | sh
    
    # macOS (Homebrew)
    brew install --cask devantler-tech/tap/ksail
  2. 2Run
    ksail project init --name my-app   # scaffold project + native configs
    ksail cluster create               # spin up the cluster (Docker only)
    ksail cluster connect              # open K9s

README

GitHub Stars Latest Release License Go Reference CI - KSail MCP Registry

๐Ÿ›ฅ๏ธ๐Ÿณ KSail

ksail

KSail bundles common Kubernetes tooling into a single binary. Spin up local clusters, deploy workloads, and operate cloud-native stacks across distributions and providers through a CLI, VS Code extension, AI chat TUI, or MCP server โ€” with only Docker or access to a Cloud Provider required.

๐Ÿ“– Full documentation: https://ksail.devantler.tech

Quick Install

# Linux / macOS (checksum-verified release)
curl -fsSL https://github.com/devantler-tech/ksail/releases/latest/download/install.sh | sh

# macOS (Homebrew)
brew install --cask devantler-tech/tap/ksail

See the Installation Guide for binary downloads and more options.

AI Assistant Plugins

Install the ksail plugin for GitHub Copilot CLI or Claude Code to auto-register ksail's MCP server and a ksail expertise skill.

Copilot CLI:

copilot plugin marketplace add devantler-tech/ksail
copilot plugin install ksail

Claude Code:

/plugin marketplace add devantler-tech/ksail
/plugin install ksail@ksail

Requires ksail on PATH.

Quick Start

ksail project init --name my-app   # scaffold project + native configs
ksail cluster create               # spin up the cluster (Docker only)
ksail cluster connect              # open K9s

Continue with the Getting Started guide for GitOps, workloads, and multi-tenancy.

What KSail Bundles

CategoryBuilt-in Capabilities
Cluster ProvisioningKind, K3d, Talos, VCluster (Vind), KWOK (kwokctl), EKS
Container Orchestrationkubectl, Helm, Kustomize
GitOps EnginesFlux, ArgoCD
Secrets ManagementSOPS with Age encryption
Manifest ValidationKubeconform
Cluster OperationsK9s, backup & restore, multi-tenancy (ksail tenant)
AI IntegrationChat assistant (Copilot SDK), MCP server, VS Code extension
Infrastructure ProvidersDocker (local), Kubernetes (nested), Hetzner Cloud, Sidero Omni, AWS

See the feature overview and architecture guide for details.

Supported Platforms

OSArchitecture
๐Ÿง Linuxamd64, arm64
๐ŸŽ macOSarm64
โŠž Windows (native untested; WSL2 recommended)amd64, arm64
ProviderVanillaK3sTalosVClusterKWOKEKS
Dockerโœ… (Kind)โœ… (K3d)โœ…โœ… (Vind)โœ… (kwokctl)โ€”
Kubernetesโœ…โœ…โœ…โœ…โœ…โ€”
Hetznerโ€”โ€”โœ…โ€”โ€”โ€”
Omniโ€”โ€”โœ…โ€”โ€”โ€”
AWSโ€”โ€”โ€”โ€”โ€”๐Ÿšง

Community & Support

Contributing

Contributions are welcome! See CONTRIBUTING.md for the development process, coding standards, and PR guidelines. Start with issues labeled good first issue.

Related Projects

ProjectDescriptionType
devantler-tech/platformThe maintainer's personal kubernetes platformPlatform

Using KSail in your project? Open a PR to add it here.

License

KSail is licensed under the PolyForm Shield License 1.0.0. You may use, modify, and distribute KSail for any purpose โ€” except providing a product that competes with KSail. When redistributing, you must include the license terms and the required copyright notice.

What this means in practice:

  • โœ… Use KSail as a CLI tool in any project (open-source or proprietary)
  • โœ… Embed or link KSail as a library in your own software
  • โœ… Fork and modify KSail for internal or non-competing use
  • โœ… Use any license for your own project โ€” no copyleft requirement
  • โŒ Build and distribute a product that competes with KSail

For the full license text including notice and non-compete details, see LICENSE. For common questions, see the Licensing FAQ.

Star History

Star History ChartStar History Chart

Files in the repo

Repository payloadโ€ข48 top-level entries
  • .agents
  • .claude
  • .claude-plugin
  • .github
  • .vscode
  • charts
  • copilot-plugin
  • desktop
  • docs
  • internal
  • pkg
  • schemas
  • scripts
  • third_party
  • vsce
  • web
  • .coderabbit.yaml
  • .dockerignore
  • .gitignore
  • .golangci.yml
  • .goreleaser.desktop.yaml
  • .goreleaser.yaml
  • .govulncheck-allow.txt
  • .jscpd.json
  • .lycheeignore
  • .markdownlint.json
  • .mega-linter.yml
  • .mockery.yml
  • .releaserc
  • .yamllint.yml
  • AGENTS.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • Dockerfile
  • Dockerfile.steer
  • go.mod
  • go.sum
  • install.sh
  • LICENSE
  • lychee.toml
  • main_test.go
  • main.go
  • Makefile
  • README.md
  • SECURITY.md
  • server.json
  • skills-lock.json
  • zizmor.yml

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tools

JuliusBrussee/
caveman

๐Ÿชจ why use many token when few token do trick โ€” Claude Code skill that cuts 65% of tokens by talking like caveman

105k
1 add
MemPalace/
mempalace

The best-benchmarked open-source AI memory system. And it's free.

59k
stablyai/
orca

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

66k

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

132k

Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors

64k
headroomlabs-ai/
headroom

Compress 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.

71k