
Strimzi Kafka Cli
io.github.SystemCraftsman由 GitHub 账号 SystemCraftsman 发布v1.0.0b11更新于 Oct 24, 2026
Manage Apache Kafka on Kubernetes via Strimzi. Clusters, topics, users, connectors, MM2.
概览
让 AI 助手通过 Strimzi 管理 Kubernetes 上的 Apache Kafka:集群、主题、用户、连接器、MirrorMaker2、ACL 以及 Operator 本身。
- 可以做什么
- 列出、查看、创建、修改和删除 Kafka 集群,包括状态与配置变更
- 管理主题、用户和 ACL,并增删实体配置
- 管理 Kafka Connect 集群、连接器和 MirrorMaker2 实例
- 备份与恢复 Kafka 及 Connect 资源
- 安装或卸载 Strimzi Operator,并管理 Kafka 节点池
- 查询 CLI 版本
- 适用场景
- 适用于在 Kubernetes 上用 Strimzi Operator 运行 Apache Kafka 的场景,希望助手在对话中查看或变更集群、主题、用户、连接器或镜像复制,而不必手动输入 kfk 命令。
- 运行要求
- 本地 Python 包(Python 3.11 及以上),需安装 MCP 附加组件,或通过 Homebrew 安装(默认含 MCP 支持);用 kfk mcp 命令启动。需要已配置好的 Kubernetes 集群和 Strimzi 资源(首次运行命令时自动下载),并通过 Python Kubernetes 客户端访问集群。
安装
在 SourceWeft 中
- 打开 控制台中的 Strimzi Kafka Cli,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Build] [Integration Test] [Deploy] [PyPI] [Downloads] [License] [Strimzi] [MCP Server]
Strimzi Kafka CLI
Strimzi Kafka CLI is a CLI that helps traditional Apache Kafka users -both developers and administrators- to easily adapt to Strimzi, a Kubernetes operator for Apache Kafka.
The main intention is to ramp up Strimzi usage by creating a similar CLI experience with the traditional Apache Kafka tools that mostly starts with kafka-* prefix under the bin directory in an ordinary Kafka package.
Strimzi Kafka CLI uses the kfk command as an abbreviation for "Kafka For Kubernetes" or simply "k a f k a" which reminds of the kafka-* prefix of the ordinary Kafka script file names.
While having similar set of commands or options for some of the common objects, Strimzi Kafka CLI has some extra capabilities for managing or configuring Strimzi related resources.
Following are the commands of the current version of Strimzi Kafka CLI, that are used for different purposes:
Please take a look at the relevant article Strimzi Kafka CLI: Managing Strimzi in a Kafka Native Way for more details.
Installation
Using Python Package Installer
Or to install Strimzi Kafka CLI in an isolated environment, you can simply use pipx:
To install with MCP server support:
Or with pipx:
Using Homebrew
Installing the CLI by using Homebrew already uses a virtual environment, so you don't have to worry about your main Python environment. MCP server support is included by default.
Project requires: Python >=3.11
Examples
MCP Server
Strimzi Kafka CLI includes an MCP (Model Context Protocol) server that allows AI assistants to manage Strimzi Kafka deployments on Kubernetes.
Starting the MCP Server
Registering with Claude Code
Available Tools (42)
Dependencies
Python Dependencies
Please see pyproject.toml file.
External Dependencies
Strimzi resources are automatically downloaded when the first kfk command is run. Strimzi Kafka CLI uses the Python Kubernetes client to interact with the cluster directly. You can check the dependency versions with:
来源:README.md,提交 1727572
工具
0版本历史
1- v1.0.0b11最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分