KSail
Lets your AI agent create, manage and operate Kubernetes clusters and workloads through KSail.
164 stars on GitHubby devantler-techLicense NOASSERTIONUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.212.4
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Create a local Kubernetes cluster and open K9s.
Deploy this Helm chart to my cluster.
What it is
KSail is one tool for Kubernetes setup and everyday operations. It can create local clusters with Docker (Kind, K3d, Talos, vCluster) or work with cloud providers, deploy apps with Helm, Flux and ArgoCD, and encrypt secrets. Its MCP server lets an AI assistant do these jobs.
What it can do
- Create and delete clusters
- Deploy applications with kubectl, Helm, Kustomize, Flux or ArgoCD
- Encrypt secrets with SOPS and Age
- Validate manifests with Kubeconform
- Back up and restore a cluster
When to use
- βΊWhen you want a local Kubernetes cluster for testing without manual setup
- βΊWhen you want your agent to deploy and check an app on a cluster
- βΊWhen you manage GitOps with Flux or ArgoCD
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
offensive-k8s-attacksHelps your agent test a Kubernetes cluster for authorized security flaws, from a pod foothold to RBAC gaps and exposed secrets.gitops-workflowImplements GitOps workflows with ArgoCD and Flux. It automates Kubernetes deployments securely.helm-chartsHelps your agent manage and deploy applications using Helm. It's useful for simplifying package management on Kubernetes systems.Frequently asked questions
Is it free?
It is source-available under PolyForm Shield 1.0.0, with use, redistribution and noncompetition terms. Read the license before reusing it.
What does it need?
Docker for local clusters, or a supported cloud provider for EKS, GKE and AKS.
Which cluster types does it support?
Kind, K3d, Talos, vCluster, KWOK, EKS, GKE and AKS.
What is KWOK?
A simulator. The readme says it does not run applications.
Does it cost money to use cloud clusters?
Cloud providers need their own setup and incur charges.
Where can I use it?
In the terminal, in VS Code or through an AI assistant.
If it does not work
- βΊMake sure Docker Engine or Docker Desktop is running before ksail cluster create.
- βΊFollow the PATH instruction the install script prints if ksail is not found.
- βΊCheck the support matrix on the KSail site if a distribution and provider pair fails.
5 new skills a week. 1 minute to read.