Strimzi Kafka CLI logo

Strimzi Kafka CLI

Organization
SystemCraftsman

Command Line Interface and MCP Server for the Strimzi Kafka Operator

PublisherSystemCraftsman
Repositorystrimzi-kafka-cli
LanguagePython
Forks
15
Stars
92
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Strimzi Kafka CLI exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    92 stars and 15 forks from the linked repository.

Build Integration Test Deploy PyPI Downloads License Strimzi MCP Server

Strimzi CLI logo

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:

bash
Usage: kfk [OPTIONS] COMMAND [ARGS]...

  Strimzi Kafka CLI.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  acls              Manages ACLs on Kafka.
  backup            Backs up and restores Strimzi resources.
    kafka             Backs up or restores a Kafka cluster and its resources.
    connect           Backs up or restores a Kafka Connect cluster and its connectors.
  clusters          Creates, alters, deletes, describes Kafka cluster(s).
  configs           Adds/Removes entity config for a topic, client, user...
  connect           Manages Kafka Connect clusters, connectors, and MirrorMaker2.
    clusters          Creates, alters, deletes, describes KafkaConnect cluster(s).
    connectors        Creates, alters, deletes, describes KafkaConnector(s).
    mirror-maker      Lists, describes, creates, deletes KafkaMirrorMaker2(s).
  console-consumer  Reads data from Kafka topics and outputs it to...
  console-producer  Reads data from standard input and publish it to Kafka.
  mcp               Starts the Strimzi MCP server.
  node-pools        Lists, describes, creates, deletes KafkaNodePool(s).
  operator          Installs/Uninstalls Strimzi Kafka Operator.
  topics            Creates, alters, deletes, describes Kafka topic(s).
  users             Creates, alters, deletes, describes Kafka users(s).

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

bash
pip install strimzi-kafka-cli --user

Or to install Strimzi Kafka CLI in an isolated environment, you can simply use pipx:

bash
pipx install strimzi-kafka-cli

To install with MCP server support:

bash
pip install strimzi-kafka-cli[mcp] --user

Or with pipx:

bash
pipx install strimzi-kafka-cli[mcp]

Using Homebrew

bash
#Tap the homebrew repository first.
brew tap systemcraftsman/strimzi-kafka-cli

#Install Strimzi Kafka CLI
brew install strimzi-kafka-cli

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

bash
kfk mcp

Registering with Claude Code

bash
claude mcp add strimzi-kafka-cli -- kfk mcp

Available Tools (42)

CategoryTools
Kafka Clusterslist_kafkas, get_kafka, get_kafka_status, create_kafka, delete_kafka, alter_kafka_config
Topicslist_topics, get_topic, create_topic, delete_topic, alter_topic
Userslist_users, get_user, create_user, delete_user, alter_user
Connect Clusterslist_connects, get_connect, create_connect, delete_connect, alter_connect
Connectorslist_connectors, get_connector, create_connector, delete_connector, alter_connector
MirrorMaker2list_mirror_maker_2s, get_mirror_maker_2, create_mirror_maker_2, delete_mirror_maker_2
Backupbackup_kafka, restore_kafka, backup_connect, restore_connect
ACLsadd_or_remove_acls
Operatorinstall_operator, uninstall_operator
Node Poolslist_node_pools, get_node_pool, create_node_pool, delete_node_pool
Versionget_version

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:

bash
kfk --version

Installation

TypingMind
{
  "mcpServers": {
    "strimzi-kafka-cli": {
      "command": "kfk",
      "args": [
        "mcp"
      ]
    }
  }
}

Use Strimzi Kafka CLI MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Strimzi Kafka CLI is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Strimzi Kafka CLI as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Strimzi Kafka CLI MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "strimzi-kafka-cli": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Strimzi Kafka CLI MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Strimzi Kafka CLI MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Strimzi Kafka CLI to help me with this task?
Strimzi Kafka CLI
Sure. I read it.
Here is what I found using Strimzi Kafka CLI.

Frequently asked questions

What is the Strimzi Kafka CLI MCP server used for?

Strimzi Kafka CLI is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Strimzi Kafka CLI MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Strimzi Kafka CLI with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Strimzi Kafka CLI MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Strimzi Kafka CLI connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Strimzi Kafka CLI MCP to TypingMind?

Strimzi Kafka CLI runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Strimzi Kafka CLI MCP provide in TypingMind?

Strimzi Kafka CLI exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Strimzi Kafka CLI MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Strimzi Kafka CLI requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇