monedula-sim-link mcp
Serve the Model Context Protocol over stdio for AI agents. Usage and flags for monedula-sim-link mcp.
Reference 5 of 5
Reference for monedula-sim-link v0.25.0
Updated 24 November 2026
On this page
monedula-sim-link mcp [flags] Serve the Model Context Protocol over standard input and output, so an MCP client such as Claude Code or Claude Desktop can generate playground links. The server exposes four tools: build_playground_url, open_scenario, validate_actions and cluster_to_url.
The TLS files and the broker allow-list of cluster_to_url are flags of this command, never tool inputs, because the model that drives the MCP client picks the tool inputs. The MONEDULA_SIM_LINK_PASSWORD environment variable of the server is sent only to brokers on --allowed-brokers.
Logs go to standard error; standard output carries only the protocol stream.
Read-only: this command does not change the cluster.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--base-url | string | https://monedula.dev/kafka-simulator/playground | Playground base URL used in every generated link. |
--ca-cert | string | PEM CA certificate file that cluster_to_url trusts, appended to the system trust pool. Turns TLS on for every call. | |
--client-cert | string | PEM client certificate file for mTLS. Needs --client-key and --allowed-brokers, and turns TLS on for every call. | |
--client-key | string | PEM client key file for mTLS. Needs --client-cert. | |
--allowed-brokers | string | Comma-separated bootstrap brokers (host:port) that cluster_to_url may connect to. When set, a call to any other broker fails. The client certificate and the MONEDULA_SIM_LINK_PASSWORD password are used only for these brokers. Matching ignores the case of the host. |
Global flags
None.
Examples
monedula-sim-link mcp
monedula-sim-link mcp --base-url http://localhost:4321/kafka-simulator/playground
# TLS with a private CA, and the SASL password from the environment for two brokers:
export MONEDULA_SIM_LINK_PASSWORD='...'
monedula-sim-link mcp --ca-cert ./cluster-ca.pem \
--allowed-brokers broker1.example.com:9093,broker2.example.com:9093
# mTLS:
monedula-sim-link mcp --ca-cert ca.pem --client-cert client.pem --client-key client.key \
--allowed-brokers broker:9093 Exit codes
| Code | Meaning |
|---|---|
0 | The client disconnected and the server stopped. |
1 | The server failed. The reason is printed to standard error. |
2 | Usage error: a flag could not be parsed, --client-cert and --client-key are not given together, --client-cert is given without --allowed-brokers, or an --allowed-brokers entry is not host:port. |