KSail

SDK for creating, managing, and operating Kubernetes clusters and workloads with ease.

OtherGov7.202.4

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 from the devantler-tech agent plugin marketplace 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/agent-plugins
copilot plugin install ksail@devantler-plugins

Claude Code:

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

Requires ksail on PATH.

If you installed the plugin earlier from this repository's own marketplace, remove that marketplace first. Its copy no longer updates, and removing the marketplace also uninstalls the plugin it provided:

  • Copilot CLI: copilot plugin marketplace remove ksail --force
  • Claude Code: /plugin marketplace remove ksail

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

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
docker run -i --rm ghcr.io/devantler-tech/ksail:v7.202.4

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-devantler-tech-ksail": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/devantler-tech/ksail:v7.202.4"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

ghcr.io/devantler-tech/ksail:v7.202.4docker

Compatible MCP Clients

KSail works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More