KSail — Claude Code MCP server: features and setup
KSail connects an AI assistant to Kubernetes cluster and workload operations. Use it when you want to set up a cluster or deploy an application through an assistant.
claude mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30What KSail does
KSail brings cluster creation, application deployment, and routine Kubernetes operations together. Its listed options include local and cloud clusters, plus tools such as kubectl, Helm, Kustomize, Flux, and ArgoCD. The MCP server connects KSail with an AI assistant, though the available assistant actions aren’t described here.
In Claude Code, the server runs through Docker. Creating a local cluster also requires a running Docker Engine or Docker Desktop; that step won’t work without one. KSail can also work with cloud providers and existing clusters. Cloud providers need separate setup and may incur charges.
What it helps with
- create a local Kubernetes cluster
- initialize a KSail project with a name and provider
- deploy an application to a Kubernetes cluster
- connect to a cluster and inspect it with K9s
- delete a trial cluster and its applications
Example prompts for the agent
- Initialize the
my-appproject with the namemy-appand Docker as its provider. - Create a local cluster for this project, then connect to it.
- Delete the
my-appcluster and its applications using Docker as the provider.
How to install KSail
Platform CLI
claude mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30Platform CLI
codex mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30Config file
{
"mcpServers": {
"ksail": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/devantler-tech/ksail:v7.204.30"
]
}
}
}Config file
{
"servers": {
"ksail": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/devantler-tech/ksail:v7.204.30"
]
}
}
}Platform CLI
gemini mcp add ksail docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about KSail
How do I install KSail in Claude Code?
Run claude mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30. Docker is needed to run the MCP server.
What does KSail do?
KSail handles Kubernetes cluster setup, application deployment, and routine operations. Its MCP server connects KSail to an AI assistant.
Do I need Docker to use KSail?
A running Docker Engine or Docker Desktop is required to create a local cluster. KSail also supports cloud providers and existing Kubernetes clusters.