---
title: "monedula-sim-link"
description: "A read-only Go CLI that turns a real Kafka cluster into a shareable Kafka Simulator link, with an MCP server so AI agents can build the same links."
url: https://monedula.dev/flock/docs/sim-link/
---

The `monedula-sim-link` command-line tool connects read-only to a real Kafka cluster and prints a link to the [Kafka Simulator playground](/kafka-simulator/playground/) that visualizes it: brokers, topics, partition placement, failures, a sample of data volume, consumer groups and topic configs. It is also a reference generator for the [playground URL format](/flock/docs/kafka-simulator/reference/url-format/).

## What it does

`connect` sends only read requests ([the read-only guarantee](/flock/docs/sim-link/concepts/read-only-guarantee/)) and maps the snapshot to the playground's `size` parameter and an action log ([What the link shows](/flock/docs/sim-link/concepts/what-the-link-shows/)). The same snapshot always gives the same URL, and the tool refuses to print a link it cannot verify ([Self-validation before printing](/flock/docs/sim-link/concepts/self-validation/)). It connects over plaintext, TLS or mTLS, with SASL PLAIN, SCRAM-SHA-256 or SCRAM-SHA-512.

`monedula-sim-link mcp` is an MCP server over stdio. Its tools build a free-play session from a description, open a curated scenario, check what the playground would load from an actions string, and visualize a live cluster.

## Try it in one command

```bash
monedula-sim-link connect --brokers localhost:9092 --topics orders,payments
```

It prints one line, the link:

```text
https://monedula.dev/kafka-simulator/playground?scenario=free&actions=...&size=...
```

[`--dry-run`](/flock/docs/sim-link/how-to/preview-with-dry-run/) prints what the link is made of first, and `monedula-sim-link demo` runs a built-in fixture when you have no cluster at hand.

## Install

<Tabs group="sim-link-install" labels={['go install', 'GitHub Release']} label="Install method">

```bash
go install github.com/monedula-dev/monedula-sim-link/cmd/monedula-sim-link@latest
```

```bash
VERSION=0.25.0
curl -L -o monedula-sim-link.tar.gz \
  https://github.com/monedula-dev/monedula-sim-link/releases/download/v${VERSION}/monedula-sim-link_${VERSION}_linux_amd64.tar.gz
tar -xzf monedula-sim-link.tar.gz monedula-sim-link
```

</Tabs>

Building from source needs Go 1.26 or newer. The release example fetches `linux_amd64`; the [releases page](https://github.com/monedula-dev/monedula-sim-link/releases) has `linux`, `darwin` and `windows` archives for `amd64` and `arm64` (`.zip` on Windows), and a `checksums.txt`.

`monedula-sim-link version` prints the installed version.

## Tested Kafka versions

CI runs the end-to-end tests on every push to main and every pull request, against a three-node KRaft cluster on each of these images: `apache/kafka` 4.3.1 and 3.9.2, `confluentinc/cp-kafka` 8.3.2 and 7.9.10, and `confluentinc/cp-server` 8.3.2.

## Where to start

- [See your cluster in the simulator](/flock/docs/sim-link/tutorials/see-your-cluster-in-the-simulator/) turns a local Kafka in Docker into a link.
- [Connect to a secured cluster](/flock/docs/sim-link/how-to/connect-to-a-secured-cluster/), then [Choose which topics to show](/flock/docs/sim-link/how-to/choose-topics/), for a real cluster.
- [Handle large clusters](/flock/docs/sim-link/how-to/handle-large-clusters/) for a cluster over the simulator's limits.
- [Use the MCP server](/flock/docs/sim-link/how-to/use-the-mcp-server/) and the [MCP tools reference](/flock/docs/sim-link/reference/mcp-tools/) for AI agents.
- The [`connect`](/flock/docs/sim-link/reference/cli/connect/), [`demo`](/flock/docs/sim-link/reference/cli/demo/) and [`mcp`](/flock/docs/sim-link/reference/cli/mcp/) command pages for flags and exit codes.

## Version and license

These docs describe monedula-sim-link 0.25.0. The tool is open source under the Apache-2.0 license, and its source is on [GitHub](https://github.com/monedula-dev/monedula-sim-link).

Apache Kafka, Kafka and the Kafka logo are trademarks of the Apache Software Foundation. monedula-sim-link is an independent project that works with Kafka clusters; it is not affiliated with, endorsed by or sponsored by the ASF.