# KSail

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 164
- Author: devantler-tech
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/devantler-tech/ksail
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/ksail

## What it 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.

## Requirements
- Needs: Docker
- Works with: Kubernetes

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30
```

### Codex

**Platform CLI**
```bash
codex mcp add ksail -- docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "ksail": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/devantler-tech/ksail:v7.204.30"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "ksail": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/devantler-tech/ksail:v7.204.30"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add ksail docker run -i --rm ghcr.io/devantler-tech/ksail:v7.204.30
```

## When to use it
- 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
- Initialize the `my-app` project with the name `my-app` and Docker as its provider.
- Create a local cluster for this project, then connect to it.
- Delete the `my-app` cluster and its applications using Docker as the provider.

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23643
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17160
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12109

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
