Skip to main content

CLI usage

The CLI entrypoint is the broxy jar produced by :cli:shadowJar.

Command

java -jar broxy-cli.jar proxy \
--config-dir ~/.config/broxy \
--preset-id developer \
--inbound stdio \
--log-level info

Flags

  • --config-dir: Directory containing mcp.json and presets.
  • --preset-id: Preset to apply at startup.
  • --inbound: stdio or http (streamable HTTP).
  • --url: URL to bind for HTTP inbound (for example http://0.0.0.0:3335/mcp).
  • --log-level: debug, info, warn, or error.

The CLI watches config files and reloads on changes.