
MimiOps mcp server for Kubernetes
io.github.sergelogvinov由 GitHub 账号 sergelogvinov 发布v0.5.0更新于 Oct 24, 2026
MimiOps is an opinionated MCP server for Kubernetes
概览
一个本地运行的、有明确取舍的 MCP 服务器,为 AI 助手提供受限且可控的 Kubernetes 工具,用于查看集群和排查工作负载问题。
- 可以做什么
- 列出并描述集群、命名空间、节点、Pod、工作负载、服务、自动扩缩、配额、存储类和事件,并读取 Pod 与 Job 日志用于排查。查看 Job 和 CronJob,包括创建 Job。启用 Helm 扩展后可列出发布并查看发布状态。启用 FluxCD 扩展后可查看 GitRepository、OCIRepository、HelmRelease 和 Kustomization。启用 Karpenter 扩展后可列出 NodePool 及其容量和就绪信息。启用破坏性工具后可删除 Pod 和 Job、暂停或恢复 CronJob、扩缩工作负载、回滚 Helm 发布以及触发或暂停 Flux 协调。
- 适用场景
- 适合让助手排查 Kubernetes 问题、读取日志和事件并说明故障原因,同时不授予其不受限制的集群访问权限。也适合使用 Helm、FluxCD 或 Karpenter、希望以只读查看为主并保留少量受控恢复操作的团队。
- 运行要求
- 以 stdio 本地进程运行,可通过 Homebrew 或 OCI 镜像安装,也可作为 MCPB 包导入 Claude Desktop 等客户端。需要 kubeconfig 文件,通过 KUBECONFIG 环境变量或 kubeconfig 参数传入,并需指定上下文和可选的命名空间。破坏性工具需开启 allow-destructive 参数;扩展通过 extensions 参数选择。
安装
在 SourceWeft 中
- 打开 控制台中的 MimiOps mcp server for Kubernetes,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Mimiops MCP Server
Motivation
There are many ways to manage Kubernetes workloads, but there are also many ways to break them by accident. We have already seen cases where AI agents did something that we did not expect. Giving an AI agent full access to Kubernetes can be risky, especially when it can create, update, or delete resources directly.
In my opinion, we need to provide safe and well-defined tools for AI agents. These tools should limit what an agent can do, validate changes before applying them, and help prevent dangerous operations.
We also need tools that can help investigate and fix workload issues. Many workloads are already managed by well-known tools such as Argo CD, FluxCD, Helm, and other GitOps or deployment systems. An AI agent should understand who manages a resource and avoid making direct changes that can conflict with these tools.
The goal is not to give AI full control of Kubernetes. The goal is to give AI a safe interface that allows it to understand problems, suggest changes, and perform only controlled operations.
Overview
Mimi OPS is not designed to give AI agents unrestricted Kubernetes access. Instead, it provides a small set of well-known and controlled operations.
The agent can observe, investigate, and perform a limited number of safe recovery actions. More dangerous operations, such as editing arbitrary resources, applying YAML, changing secrets, or deleting persistent data are strongly restricted.
This makes Mimi OPS an opinionated interface between AI agents and Kubernetes: powerful enough for common troubleshooting, but limited enough to reduce the risk of unexpected changes.
Keep your AI on the leash.
Kubernetes core tools
Core tools are always registered. The names below are the MCP tool names exposed by the server:
- Clusters:
clusters_list(multi-cluster configurations only),clusters_describe. - Pods:
pods_list,pods_get,pods_describe,pods_log. - Jobs:
jobs_list,jobs_get,jobs_describe,jobs_log,jobs_create. - CronJobs:
cronjobs_list,cronjobs_get,cronjobs_describe. - Nodes:
nodes_list,nodes_get,nodes_describe. - Namespaces:
namespaces_list,namespaces_describe. - Resource configuration:
resourcequotas_list,resourcequotas_describe,limitranges_list,limitranges_describe,storageclasses_list,persistentvolumeclaims_list,persistentvolumeclaims_describe,priorityclasses_list. - Events:
events_get. - Workloads (Deployments, StatefulSets, and DaemonSets):
workloads_list,workloads_get,workloads_describe. - Autoscaling:
hpa_list,hpa_describe. - Services:
services_list,services_describe.
The following additional recovery tools are registered only when --allow-destructive is enabled:
pods_delete— delete a pod so its controller can recreate it.jobs_delete— delete a Job.cronjobs_suspend,cronjobs_resume— suspend or resume scheduled runs.workloads_scale— scale a Deployment, StatefulSet, or DaemonSet.
Helm extension
Helm tools are enabled by default with --extensions helm:
helm_list— list Helm releases.helm_status— inspect release status, revision, and related information.helm_rollback— roll back a release to its previous revision; available only with--allow-destructive.
FluxCD extension
Enable FluxCD tools with --extensions fluxcd (or --extensions all). Read-only inspection tools include:
- GitRepository:
flux_gitrepositories_list,flux_gitrepositories_describe. - OCIRepository:
flux_ocirepositories_list,flux_ocirepositories_describe. - HelmRelease:
flux_helmreleases_list,flux_helmreleases_describe. - Kustomization:
flux_kustomizations_list,flux_kustomizations_describe.
With --allow-destructive, Flux also exposes:
flux_reconcile— trigger an immediate reconciliation of a GitRepository, HelmRelease, or Kustomization.flux_reconciliation— suspend or resume a Flux HelmRelease or Kustomization.
Karpenter extension
Enable Karpenter tools with --extensions karpenter (or --extensions all). Read-only inspection tools include:
- NodePool:
karpenter_nodepools_list— list NodePools with node class, node count, readiness, weight, and CPU/memory provisioned vs limits.
Installation
MCPB-compatible clients
MimiOPS includes an MCPB manifest for clients that support MCP bundles, such as Claude Desktop.
Download the .mcpb release bundle and open/import it in the client. The bundle:
- starts
server/mimiops-mcp mcp; - prompts for a kubeconfig file; and
- passes that file as
KUBECONFIGto the server.
Manual editor configuration
For clients that use a JSON MCP configuration, add a server entry similar to the following:
Zed uses a command object under context_servers:
Restart or reload the client after saving its configuration.
The server will then appear as mimiops and expose the tools listed below.
Running
Common flags
Kubernetes and application flags are global (persistent) and inherited by mcp, server, and tools:
The Kubernetes client also exposes the standard genericclioptions connection and authentication flags. The tools command adds this command-specific flag:
Available commands are mcp (stdio), server (HTTP/SSE), tools (direct CLI invocation), and version.
Examples
License
来源:README.md,提交 e1ba863
工具
0版本历史
2- v0.5.0最新Sep 30, 2026
- v0.4.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分