kubeaid-mcp
Integrates with ArgoCD to manage KubeAid-managed applications, offering tools to list, describe, and sync ArgoCD Application resources, including checking sync status, health, and drift.
Provides tools to inspect and manage Kubernetes cluster resources, including namespaces, nodes, pods, deployments, events, and custom resources, using kubeconfig credentials.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kubeaid-mcpwhich apps are out of sync?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KubeAid MCP
An MCP server for KubeAid-managed Kubernetes clusters. Plug it into Claude Code, Claude Desktop, Cursor or any MCP-compatible client and ask questions like "which apps are out of sync?", "why is kube-prometheus degraded?" or "sync the cert-manager app" — the model answers by calling this server's tools, which talk to your cluster through your own kubeconfig credentials.
Built in TypeScript on the official
@modelcontextprotocol/sdk
and @kubernetes/client-node.
Author: Deep Poharkar
Why KubeAid-specific?
KubeAid runs clusters the GitOps way: every application is an ArgoCD
Application generated from your kubeaid-config repo, and auto-sync is
disabled by default — drift between Git and the cluster is normal and waits
for a deliberate sync. A generic Kubernetes assistant doesn't understand
that workflow. This server does:
The ArgoCD
ApplicationCR is a first-class citizen: sync status, health, failing conditions and drifted resources are one tool call away.Syncing is modeled as the explicit "deploy now" decision it is in KubeAid — gated behind an opt-in flag, with
dry_runsupport, and never allowed on contexts you mark as protected.The bundled prompts encode KubeAid operational habits: review drift before syncing, fix things in the kubeaid-config repo rather than hand-editing the cluster.
Tools
Read tools — always registered:
Tool | What it does |
| Kubeconfig contexts the server can target, with default and write-protection flags. |
| Every KubeAid-managed ArgoCD app with sync status, health, revision and auto-sync flag. Supports |
| One app in depth: sources, error conditions, drifted/unhealthy resources, last sync result, deploy history. |
| Namespaces with status and age. |
| Nodes with Ready status, roles, kubelet version, internal IP. |
| Pods with kubectl-style derived status (CrashLoopBackOff etc.), ready count, restarts, node, age. |
| Per-container states and last-crash details, conditions, and the pod's recent events. |
| Tail container logs; |
| Deployments with ready/up-to-date/available counts. |
| Recent events, optionally warnings-only, per namespace or cluster-wide. |
| Any resource by apiVersion/kind/name — including CRDs like |
Write tools — registered only when KUBEAID_MCP_ALLOW_WRITES=true:
Tool | What it does |
| Trigger an ArgoCD sync (the KubeAid "deploy now" action). Supports |
| Set a deployment's replica count. |
| Rolling-restart a deployment/statefulset/daemonset. |
| Delete a stuck pod so its controller replaces it. |
Every tool takes an optional context argument to target any cluster in your
kubeconfig from a single server process.
Prompts
Prompts appear as slash commands / menu items in the client and walk the model through a workflow using the tools above:
Prompt | Workflow |
| Root-cause a Degraded/OutOfSync app: conditions → resources → pod logs → recommendation. |
| List all drifted apps, assess the risk of each pending sync, then ask before syncing anything. |
| Sweep nodes, apps, pods and warning events; report findings by severity. |
Quick start
Requires Node.js 20+.
git clone <your-repo-url> kubeaid-mcp
cd kubeaid-mcp
npm install
npm run buildClaude Code
claude mcp add kubeaid -- node "$(pwd)/dist/index.js"Read-only by default. To enable writes while keeping production untouchable:
claude mcp add kubeaid \
-e KUBEAID_MCP_ALLOW_WRITES=true \
-e KUBEAID_MCP_PROTECTED_CONTEXTS=prod-cluster-1,prod-cluster-2 \
-- node "$(pwd)/dist/index.js"Claude Desktop
Enable Settings → Developer → Local MCP servers, then add to the config file that page opens:
{
"mcpServers": {
"kubeaid": {
"command": "node",
"args": ["/absolute/path/to/kubeaid-mcp/dist/index.js"],
"env": {
"KUBEAID_MCP_ALLOW_WRITES": "true",
"KUBEAID_MCP_PROTECTED_CONTEXTS": "prod-cluster-1"
}
}
}
}Fully quit and reopen the app afterwards.
Configuration
All configuration is environment variables, read once at startup:
Variable | Default | Meaning |
| client-node default lookup ( | Kubeconfig path. |
| follows current-context live | Pin a fixed default context. When unset, |
|
| Namespace holding ArgoCD's |
|
| Register the mutating tools at all. |
| none | Comma-separated contexts that refuse every mutating call, even with writes enabled. |
Safety model
Three independent layers:
Capability gating — with writes disabled (the default), mutating tools are never registered, so the model cannot even see them.
Protected contexts — every mutating handler re-checks the target context against
KUBEAID_MCP_PROTECTED_CONTEXTSand refuses protected ones, whatever the model asks for.Client confirmation — tools carry MCP
readOnlyHint/destructiveHintannotations, so well-behaved clients prompt you before risky calls.
The server holds no credentials of its own; it can only do what your kubeconfig identity is already authorized to do via RBAC.
Development
npm run typecheck # strict TS, no emit
npm run build # compile to dist/
npm run smoke # spawn the server, MCP handshake, list tools + prompts
KUBEAID_MCP_ALLOW_WRITES=true npm run smoke # verify write tools registerThe smoke test needs no cluster — it drives the raw JSON-RPC protocol over stdio.
Roadmap
check_chart_updates: compare deployed chart versions against the upstream KubeAidargocd-helm-chartsdirectory.Sealed-secrets helpers: list
SealedSecretstatus, flag failed unseals.Prometheus/Alertmanager tools: surface firing alerts from the kube-prometheus stack KubeAid ships.
Acknowledgements
KubeAid by Obmondo — the cluster management stack this server is built for.
Argo CD — the GitOps engine underneath KubeAid.
License
MIT © 2026 Deep Poharkar
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deep-poharkar/kubeaid-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server