BootUI
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
    • Try the sample app
    • Setup
    • Spring WebFlux
    • Quarkus
    • CI/CD and GitHub Actions
    • Java agent
    • Activation and safety
    • Non-standard runtimes
    • Troubleshooting
    • All features
    • Scorecard
    • Live Activity
    • Runtime Insights
    • Advisors
    • Runtime
    • Configuration
    • Database
    • Security
    • Services
    • Diagnostics
    • Java Agent
    • Developer tools
    • Workshop overview
    • 00 - Runtime understanding
    • 01 - Setup and tooling
    • 02 - Configuration and wiring
    • 03 - Runtime journal
    • 04 - Runtime Insights
    • 05 - Java instrumentation
    • 06 - Assessment and impact
    • 07 - Agent change loop
    • 08 - Going further
    • Participant worksheet
    • A - Prompts
    • B - Troubleshooting
    • C - Frameworks
    • D - Extensions
    • Properties
    • Framework support
    • AI agents
    • Command line
    • Framework-managed CI tests
    • CI reference
    • BootUI family
    • Known limitations
    • Architecture
    • REST API
    • Spring
    • Hibernate
    • Database
    • Security
    • Vulnerabilities
    • Memory
    • Pentesting
    • GraalVM readiness
    • CRaC readiness
    • Quarkus
    • Quarkus security
    • Repository
    • Specification
    • Roadmap
    • 2.0 design record
    • Try 2.0 early
    • v2 validation report
    • Releasing 2.0
    • Quarkus design notes
    • WebFlux design notes
  • Privacy

Command line

BootUI's diagnostics are reachable from a terminal. The bootui CLI works with Spring Boot and Quarkus: it asks a running application one question and prints the answer — no browser, no MCP client, no hand-written curl.

$ bootui beans --query dataSource
$ bootui hibernate scan --json | jq '.topFindings[] | select(.severity == "HIGH")'
$ bootui http exchanges --limit 20

Every diagnostic command is one BootUI MCP tool, projected mechanically from the same registry. The CLI cannot offer a diagnostic the MCP server does not, and cannot lack one it does: the command table is generated from the registry at build time and a test fails when the two disagree. tools reads the CLI catalog, and mcp status|enable|disable call the MCP Server panel directly rather than invoking catalog tools. docs, update, ci, init, and instances are client-side commands, not MCP tools.

The Quarkus generations use different application extension coordinates, not different CLI commands or platform discriminators. See Quarkus setup for release availability and Java minimums. The CLI itself still needs Java 17+, even when a Quarkus 4 application needs Java 21+. A JVM CLI response does not prove native-console support.

Offline documentation

The runnable all JAR ships its own release's documentation. No application or network is needed:

bootui docs                              # every topic and what it covers
bootui docs cli                          # the command-line guide as raw Markdown
bootui docs properties                   # configuration reference
bootui docs --search "blocking sensor"   # matching source lines

Topics include setup, agent and CI usage, framework availability, feature guides, and check references. Output is UTF-8, independently of the JVM's default charset. bootui docs lists their stable IDs. Contributor plans, workshop material, and images are not bundled. Search is a case-insensitive literal substring, not a regular expression. Matches follow topic-list order and ascending source line number, printed as file:line:text, with one-based lines. No matches exits 0; unknown topics, blank searches, or combining a topic with --search exit 1.

All three modes accept --json, before or after the command. Unlike application diagnostics, docs stay text/raw Markdown when piped unless --json is explicit. JSON shapes are:

{"version":"<cli-version>","topics":[{"id":"cli","title":"Command line","description":"CLI installation, commands, output, and exit codes","file":"CLI.md"}]}
{"version":"<cli-version>","topic":"cli","file":"CLI.md","content":"<raw Markdown>"}
{"version":"<cli-version>","query":"blocking sensor","matches":[{"topic":"java-agent","file":"features/java-agent.md","line":123,"text":"<matching source line>"}]}

The version describes the installed CLI, not the connected application. Use bootui tools for that application's actual diagnostic availability. Docs and help/version requests never start the background update check.

Install

The CLI is a single runnable jar. It needs a JDK 17 or later — the machine that builds your application already has one.

On Linux and macOS:

curl -fsSL https://www.julien-dubois.com/boot-ui/install.sh | sh

On Windows, in PowerShell:

irm https://www.julien-dubois.com/boot-ui/install.ps1 | iex

That asks Maven Central for the newest release, tries its published SHA-512, SHA-256, then SHA-1 checksum, and leaves a bootui command in ~/.local/bin — %LOCALAPPDATA%\BootUI\bin on Windows, which it adds to your user PATH. It needs no administrator rights, does not edit your shell profile, and contacts the Maven repository and, when GnuPG is available, BootUI's published signing-key asset. Running it again upgrades in place, and --uninstall — -Uninstall in PowerShell — reverses it.

The installer changes below are unreleased source changes; the published installers may still use the earlier behavior.

Missing, malformed or mismatched checksums abort without installing. --allow-unverified (-AllowUnverified in PowerShell) explicitly permits a missing/uncomputable checksum after independent verification, never a mismatch. When GnuPG is available, a valid OpenPGP signature from the pinned BootUI release key is also mandatory; signature failures cannot be bypassed. Output distinguishes repository checksums from signer authentication and warns when only legacy SHA-1 is available. See manual verification.

On Linux and macOS, when switching versions, the installer keeps the previous bootui launcher and JAR if it cannot prepare or replace the launcher for the new version.

To pin a version or install somewhere else, pass options after sh -s --:

curl -fsSL https://www.julien-dubois.com/boot-ui/install.sh | sh -s -- --version <version> --bin-dir ~/bin

The PowerShell script takes -Version and -BinDir, but has to be run rather than piped to read them:

& ([scriptblock]::Create((irm https://www.julien-dubois.com/boot-ui/install.ps1))) -Version <version>

The Windows installer stages its files before switching versions and restores the previous installation if the file switch fails. If it reports that a file could not be restored, it lists any backup it retained for recovery. After the switch succeeds, cleanup, Java checks, or PATH problems are reported as warnings without undoing the install.

The shell script explains itself with --help. Both read BOOTUI_VERSION, BOOTUI_INSTALL_DIR, BOOTUI_BIN_DIR and BOOTUI_MAVEN_REPO, so a build agent behind a mirror can be pointed at its own repository.

If you would rather not pipe a script into a shell — a fair position, and both are short enough to read first — there are two other ways in.

With JBang, which downloads and runs it for you:

jbang bootui@jdubois/boot-ui --url http://localhost:8080 beans

Install it as a real command with jbang app install bootui@jdubois/boot-ui, and then just bootui beans.

Or download the jar and run it directly:

VERSION=2.6.0
BASE=https://repo1.maven.org/maven2/com/julien-dubois/bootui/bootui-cli
curl -fLO "${BASE}/${VERSION}/bootui-cli-${VERSION}-all.jar"
java -jar "bootui-cli-${VERSION}-all.jar" beans

An alias keeps that readable:

alias bootui='java -jar ~/tools/bootui-cli-all.jar'

Staying up to date

bootui update --check        # fresh metadata lookup, no local changes
bootui update               # replace a recognized installer-owned CLI
bootui update --check --json

--check exits 0 when the installed version is current or newer, 3 when an update is available, and 1 when the check fails. It never downloads a jar or writes update/cache files. This explicit check works even when output is piped or BOOTUI_NO_UPDATE_CHECK=1. It needs network access, but no running application.

bootui update recognizes script installations using the running jar, installation record, and generated launcher. Older script installations can be recognized from their launcher on PATH or in BOOTUI_BIN_DIR. It respects BOOTUI_MAVEN_REPO, then the repository recorded by the installer, then Maven Central. It downloads the shaded jar and requires a published SHA-512, SHA-256, or SHA-1 checksum, in that preference order. A missing checksum tries the next algorithm; a malformed or mismatched checksum aborts. Unlike an explicitly bypassed installer, self-update never installs an unverified download. Checksums do not verify a GPG signature.

Only the proven managed jar is replaced, atomically, after checking its entry point and version. The launcher and historical filename stay unchanged; bootui --version reads the installed jar's manifest. Interrupted downloads, concurrent updates, or failed replacements do not delete the working jar. No downgrade is performed.

On Windows, the running jar cannot replace itself. Before downloading an update, the command instead reports manual-action-required and asks you to download and review install.ps1. It prints the PowerShell command to run that local script after the CLI exits, preserving your version, install directory, bin directory, and repository. It does not download or execute the script, change files, or schedule a background replacement.

For a recognized JBang installation, the command prints, but does not execute:

jbang app install --force --fresh bootui@jdubois/boot-ui

That result is manual-action-required, not a completed upgrade. Direct/manual jars and unrecognized installations are not modified; automatic replacement exits 1 with manual guidance. Development builds cannot perform a release check. Agents must obtain the user's approval before invoking bootui update or executing either printed command.

Update output is text on a terminal and JSON when piped or with --json. The JSON envelope has status, installedVersion, latestVersion (null if unknown), installation (installer, jbang, or unmanaged), and message, plus command for JBang or Windows installer guidance. Status is current, available, updated, manual-action-required, or failed. Normal updates exit 0 for current, updated, or manual guidance, and 1 on failure; only --check uses exit 3. Progress never appears on JSON stdout.

Once a newer release reaches Maven Central, the CLI says so — on a terminal, after the answer, on standard error:

bootui: version 1.17.0 is available; you have 1.16.0.
        Update with: bootui update
        Silence this with BOOTUI_NO_UPDATE_CHECK=1.

The notice reads the cached result in ~/.bootui — %LOCALAPPDATA%\BootUI on Windows, or BOOTUI_INSTALL_DIR wherever you pointed it. That check reads the same maven-metadata.xml the installer does, at most once a day, on a background thread that the command gives at most 250 ms to finish at shutdown. A still-running refresh is abandoned when the JVM exits. An interrupted refresh may be retried by a later run; a completed attempt is normally throttled to once a day. Nothing is written to standard output and the exit code is untouched, so a pipeline sees exactly what it saw before.

A piped diagnostic run says nothing and asks nothing, so CI does no unexpected network traffic. BOOTUI_NO_UPDATE_CHECK=1 turns off the passive notice everywhere, and BOOTUI_MAVEN_REPO points it at a mirror.

Turn it on

The CLI talks to GET /bootui/api/cli and POST /bootui/api/cli/tools/{name}, which are enabled by default. Nothing needs configuring for a normal local application, and bootui.mcp.enabled is not required — the command-line endpoint is separate from the MCP one.

To turn it off:

bootui.cli.enabled=false

See Properties for bootui.cli.max-results, bootui.cli.execution-timeout, and bootui.cli.max-concurrent-calls.

Global options

OptionEnvironment variableDefaultPurpose
--url <url>BOOTUI_URLhttp://localhost:8080Where the application is listening. A bare host:port is accepted.
--app <name>——Target a running local application by spring.application.name / quarkus.application.name or instanceId prefix. Cannot be combined with --url.
--api-path <path>BOOTUI_API_PATH/bootui/apiOnly needed when bootui.api-path is customised.
--token <token>BOOTUI_TOKENnoneSent as an Authorization: Bearer <token> header. Needed for an untrusted non-loopback caller, using the configured or generated BootUI token; loopback, trusted proxies, and trusted container gateways need none.
--timeout <seconds>—60How long to wait for an answer. Raise it for a slow scan.
--json—autoPrint the application's JSON verbatim. Implied when output is not a terminal.
--no-colorNO_COLOR—Disable ANSI colour.
-v, --verbose——Show the underlying failure when a request does not complete.

Local instance discovery (bootui instances and --app)

Active development-mode BootUI instances on Spring MVC, Spring WebFlux, and Quarkus write an owner-only (0600) lease file ~/.bootui/instances/<instanceId>.json (inside an 0700 directory, overridable via BOOTUI_HOME on both the application and CLI, bootui.cli.instances-dir on the application, or BOOTUI_INSTANCES_DIR on the CLI) once the web server port is bound, and delete it on shutdown. Instance discovery is gated by bootui.cli.instance-discovery.enabled (off in tests by default unless explicitly set to true, and off when bootui.cli.enabled=false). Lease files record {instanceId, runId, pid, processStartEpochMillis, appName, framework, baseUrl, apiPath, startedAt} and never store tokens or secrets.

List running local applications or target one by name without looking up its dynamic port:

bootui instances                        # list live local BootUI instances (pruning dead/reused PIDs)
bootui instances --json                 # structured JSON list
bootui --app order-service overview     # resolve by application name or instanceId prefix

Before sending any command or attaching a token on --app <name>, the CLI verifies that the lease's PID and process start timestamp match the live OS process, confirms baseUrl is a literal loopback address, and performs an unauthenticated handshake check against /overview confirming run.instanceId matches the lease. If multiple live instances share the same appName (for example default application), --app fails closed (1) and prints each candidate's --url and instanceId so you can disambiguate.

Agent & IDE MCP setup (bootui init)

bootui init previews or idempotently writes local MCP configuration without ever writing Authorization headers or tokens to disk:

bootui init --vscode                              # merge BootUI into .vscode/mcp.json (default target)
bootui init --cursor --url http://localhost:8081  # merge BootUI into ~/.cursor/mcp.json
bootui init --claude                              # print the claude mcp add command
bootui init --app order-service --vscode          # use a running local instance's resolved URL and API path
bootui init --vscode --print                      # preview JSON (--dry-run is an alias) without writing files

When .vscode/mcp.json or ~/.cursor/mcp.json already exists, bootui init parses it strictly and updates only the bootui server entry, preserving all other MCP servers and top-level keys.

Advisor commands take --fail-on <severity>. Runtime Insights and exception-list commands take --fail-on insufficient to fail CI when evidence is insufficient or partial.

Options work before or after the command, so both bootui --url :9000 beans and bootui beans --url :9000 do the same thing.

Output

On a terminal, BootUI renders the payload for a human: arrays of like-shaped records become tables, everything else becomes an indented key/value tree.

When output is piped, or with --json, the CLI prints exactly the bytes the application sent — the same JSON the MCP tool returns, unmodified. That is the form to parse:

bootui security scan --json | jq -r '.topFindings[] | "\(.severity)\t\(.title)"'

Every scan command answers with the same compact summary: findingsFound, severityCounts, at most ten topFindings (id, title, severity, count, most severe first), moreFindings for the rest, and reportTool, the MCP name of the report that holds the rest (get_security_report, which bootui security report prints without scanning again). Reports differ in how they name their finding array — pentest report has findings, the rule-based advisors results — so check the shape with bootui <command> --json | jq keys before filtering one. What every scan and report shares is severityCounts, which is what the CI gate below uses.

bootui rest-api report --json includes the cached exposure inventory from the last explicit REST API scan. Unknown authentication and unavailable OpenAPI are not findings; Quarkus routes are partial build-time declarations. The inventory does not change the advisor score.

The capture controls (sql pause, tx clear, rest-client resume, exceptions clear, traces clear, ...) answer with a one-line acknowledgement — action, available, unavailableReason, capturing, retained, capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset — and the matching read command (sql traces, tx list, ...) prints the rows. See Compact answers from scans and capture controls.

bootui tx list --json preserves the server's observed boundary labels: NEW, REQUIRES_NEW, NESTED, or UNKNOWN, not declared annotation values. A parent id does not imply participation in the same physical transaction. See Transactions for semantics and the legacy PARTICIPATING caveat.

Search commands such as bootui config --query share a page envelope instead, where total counts everything the panel can see before the query is applied and matched counts what the query kept. A large total beside matched: 0 therefore means the query found nothing, not that the data is missing — retry with a shorter query. See Reading a bounded result for the full envelope, including the relaxed name matching that lets bootui config --query bootui.mcp.enabled find a value supplied as BOOTUI_MCP_ENABLED.

Large reads answer with a short first page when no --limit is given, such as the newest 20 statements for bootui sql traces, the newest 20 calls for bootui rest-client traces, or 25 entries for bootui activity, and page.hasMore says when rows were left out: narrow --query or raise --limit. Agent-sized defaults lists each command's default. An older CLI keeps calling existing commands, without the newer options, and gets the same short first page.

Auto-detection is a convenience, not a contract: on a JDK 22 or later runtime a redirected stream can still report a console. Pass --json explicitly in scripts.

Successful tool calls must contain JSON. An empty or whitespace-only response, including HTTP 204, exits 1 without printing a fabricated result; literal JSON null, objects, arrays, and evolving tool payloads remain valid. bootui tools validates the BootUI catalog in both text and JSON modes, while accepting older catalogs and unknown extra fields.

Low-footprint mode

bootui low-footprint status reads the mode without changing capture. With the user's approval, bootui low-footprint enable pauses existing BootUI recorders, clears buffered diagnostics irreversibly, and requests GC; bootui low-footprint disable releases the hold. Both are idempotent Live Memory actions under the existing disabled/read-only gates. The mode lasts until disabled or the process restarts; it does not pause the Java agent.

Affected JSON results keep their existing fields and add lowFootprint with actual paused components, timestamp, warnings, and resume guidance. Human-readable output leads with a paused notice; --json stays byte-for-byte server output. Paused or partially paused evidence is not proof of an idle application, and successful reads still exit 0. Individual recorder resumes and new probes refuse with exit 1 while held; disable first with approval. Older CLI binaries keep their existing commands, but cannot offer these new leaves without an updated manifest. See the full agent contract for partial failures and mixed native/agent evidence.

Memory scan cost

bootui memory scan remains argument-free and uses the application's bootui.memory.include-histogram property (default true). The histogram requests full GC and may pause the JVM; configure false and restart the application to omit it. Other JVM checks still run, while heap-content coverage remains incomplete. scan.includeHistogram in the compact answer and bootui memory report identifies that scan's selection. The Memory panel also offers a per-request choice; Scorecard scans always omit the histogram.

Retrieve more than the advisor preview

Architecture, Hibernate, Spring (the Quarkus application advisor on Quarkus), REST API, Memory, Security, and Database Advisor reports contain compact sampleViolations, not all violationCount details. Samples remain bounded at ten per result, or twenty for the Quarkus application and Security advisors. Page the retained details with architecture violations, hibernate violations, spring violations, rest-api violations, memory violations, security violations, or db violations:

# Read the existing snapshot; this does not start a scan.
scan_id=$(bootui architecture report --json | jq -er '.violationDetails.scanId')
bootui architecture violations ARCH-SPRING-004 --scan-id "$scan_id" --offset 0 --limit 100 --json

The rule ID is positional and --scan-id is required. --offset defaults to zero; --limit defaults to 100 and is capped at min(1000, bootui.cli.max-results). Nonblank IDs, nonnegative integer offsets, and positive integer limits are required. JSON null, fractional or overflowing numbers, and unknown arguments are rejected. These are read commands and remain available on read-only panels.

A script can visit the retained pages without starting a new scan:

offset=0
while :; do
  page=$(bootui architecture violations ARCH-SPRING-004 --scan-id "$scan_id" \
    --offset "$offset" --limit 100 --json) || break
  printf '%s\n' "$page" | jq '{violationCount, retainedCount, truncated, violations, page}'
  [ "$(printf '%s\n' "$page" | jq -r '.page.hasMore')" = true ] || break
  returned=$(printf '%s\n' "$page" | jq -r '.page.returned')
  [ "$returned" -gt 0 ] || break
  offset=$((offset + returned))
done

Architecture, REST API, and Hibernate pages also carry locations, aligned index-for-index with violations (a null entry has no location): each gives className, memberName, kind, sourceFile, line, sourcePath, and precision, so a script can open the file without parsing the text, for example with jq -r '.locations[] | select(.) | "\(.sourcePath):\(.line)"'. Reports carry the same list as sampleLocations and explain a missing path in violationDetails.locationNotes. See violation locations.

page.total and page.matched both count retained details for this rule; violationCount remains the real count. Always inspect truncated: a terminal page is not proof that all counted details were retained. Reports expose violationDetails with scanId, total, retained, retentionLimit, truncated, and, for the Hibernate and Database advisors from the second scan on, changes (what the rescan resolved or added; see Changes since the previous scan). A page adds identities and changes, aligned with violations. The default retention budget is 10,000 sanitized details per advisor scan (bootui.advisors.max-retained-violations). Raising the budget only affects an explicitly requested new scan. Retention completeness is separate from evidence coverage; verify every finding before changing code. truncated can also indicate counted identities unavailable from upstream observations, not only retention overflow. Such gaps remain explicit in diagnostics; increasing the retention budget does not manufacture missing identities.

Only the latest completed snapshot is kept. A stale ID or no completed snapshot is HTTP 409: reread the cached … report, obtain its ID, and restart detail paging, not … scan. A rule id outside the advisor's rule catalogue answers Unknown advisor rule: ..., and a catalogue rule without findings (passed, skipped, or failed) answers Advisor rule has no findings in the current scan.; both are REST 404 and MCP in-band isError: true failures, and the CLI facade preserves its existing mapping to HTTP 400 so an unknown rule is not mistaken for an unavailable command. Both exit 1 with the application's message. A missing scan ID is rejected before a detail read. Dismissal leaves the snapshot ID and its details intact.

MCP also has a rendered-byte limit: -32003 (legacy) or -31003 (modern) means retry the same offset and scan ID with a smaller limit, not that the page was empty. The CLI's own result, timeout, and concurrency budgets still apply; do not advance the offset after any failure or silently rescan to recover. See agent pagination guidance.

Exit codes

CodeMeaning
0The tool ran and answered.
1Usage error, a rejected argument, authentication was rejected, or the application could not be reached or did not answer. Also a --fail-on answer whose evidence cannot be evaluated.
2BootUI declined to run the tool: its panel is disabled, read-only and the tool is an action, or its CLI catalog confirms the endpoint is disabled.
3A command's --fail-on or --fail-on insufficient gate found a qualifying finding or insufficient evidence, or update --check found a newer CLI.

HTTP 503 alone is not a policy refusal. The CLI checks the target's BootUI catalog and reports endpoint disablement only when enabled is false and tools is empty. An outage, an invalid catalog, or a wrong target exits 1, not the policy-skip code 2; a catalog that still reports enabled: true cannot turn an outage into a skip. Direct MCP panel commands preserve BootUI's specific panel-policy reason on HTTP 403, rather than suggesting an authentication token can bypass a disabled or read-only panel. Their existing exit codes are unchanged; actual authentication refusals keep the token/local-access guidance, and non-JSON error bodies are not printed.

A command whose tool this application does not advertise exits 1 and says why: "This application does not expose 'get_kafka_activity'." followed by the panel's own reason, such as a missing library or the Java agent, or the stacks that do offer it. It is not 2, because no panel policy refused it; nothing here can serve it.

A tool that runs and rejects what you asked for — bootui exceptions show, bootui request-profile, bootui insights show, bootui insights compare, or bootui probe show on an id that is unknown or no longer retained, say — exits 1 and prints the application's own message, which names where current ids come from. That is the same code as a usage error because it is the same kind of mistake: the command exists and BootUI was willing to run it, but the request was wrong, so retrying it unchanged cannot help.

2 is deliberately distinct. A read-only panel refusing a scan is a statement about how the target is configured, not a broken request, and a CI job should be able to tell those apart without reading stderr:

bootui hibernate scan --json > report.json
case $? in
  0) echo "scanned" ;;
  2) echo "the Hibernate panel is disabled on this application; skipping" ;;
  *) exit 1 ;;
esac

Discovering what an application exposes

bootui --help needs no running application and lists every command in one answer: its arguments, what it returns, where an <id> comes from, the words a --query understands, and one example. bootui insights --help lists one group the same way, and bootui <command> --help gives the whole description with the same example:

$ bootui --help
...
  bootui insights impact <id>
      For a route, bean, class, method (Class#method, with parameter types for
      one overload, or a bare method...
      <id>: A route, bean, class, Class#method or a bare method name,
      repository, table, cache, host, or event type.
      Example: bootui insights impact 'OrderService#total'
...

Every action, a command that changes the application's state, is tagged [action - needs approval] in the listing and in its own help, so an agent asks the user before running it. A command's own help keeps the warnings the listing shortens, such as memory scan triggering a full GC or probe start needing separate approval and recording metadata only.

Values in angle brackets in an example, such as <id> or <scanId>, come from the command the <id> line names; every other value is typed as shown. A command without arguments is shown as it runs, and one that only some stacks offer says which. The examples are generated with the command table and a test runs each one, so they cannot drift from the commands. bootui tools and the Command Line panel do not show them.

The command table below is what this CLI was built with. What a specific application answers depends on its stack and its panel settings, and bootui tools reports that:

$ bootui tools
command                tool                   panel        arguments      status
---------------------  ---------------------  -----------  -------------  --------------
beans                  get_beans              beans        query, limit   ready
sql clear              clear_sql_traces       sql-trace    -              read-only
sql traces             get_sql_traces         sql-trace    query, limit   ready

status is ready for a readable tool, action for one that changes state, read-only when the panel would refuse the action, and panel disabled when the panel is off. This is also how to see stack differences: a Quarkus application advertises fewer tools than Spring MVC, and some Spring tools appear only when the corresponding library is on the classpath.

Java agent sensor switches

bootui agent status --json accepts --query, not --limit, and lists every matching sensor. The task and thread snapshot registries each retain at most 32,768 application entries across all claim generations, plus 64 reserved self-test markers. Inspect overflow and neverApplied: both are cumulative until the JVM exits, even after disabling the threads sensor. Once executor overflow has occurred, a reused task object can have run with a later submitter's request context; the Java Agent panel and the MCP/generated CLI help warn about this limit. Do not interpret affected propagation as proof of exact ownership.

With the user's approval, bootui agent sensor enable <id> and bootui agent sensor disable <id> apply the same bounded runtime switch as enable_agent_sensor and disable_agent_sensor in MCP, on Spring MVC, Spring WebFlux, and Quarkus. Accepted ids are threads, files, environment, thread-activity, thread-locals, and security-sinks. Read bootui agent status and bootui side-effects first, explain the sensor's collection and performance trade-offs, and obtain approval before switching. Read status again to verify the result.

The agent must be attached, armed for this application, and support runtime switches. The Java Agent panel's enabled and read-only policy applies. Invalid ids and switch refusals retain the panel's error message; panel policy refusals exit 2, while invalid ids and unavailable-agent refusals exit 1. Overrides last through later claims in this JVM, including DevTools restarts and Quarkus live reloads, but are not written to a file and disappear when the JVM exits. Enabling security-sinks cannot enable request-value matching unless bootui.agent.security-sinks.request-values=true was set at startup. See Switching sensors at run time for the privacy, overhead, and comparison limits.

MySQL reads

The MySQL command pair is the projection of get_mysql_report and mysql_read, not a SQL console. It supports MVC, WebFlux with JDBC, and Quarkus with JDBC. Oracle MySQL 8.4 LTS and 9.7 LTS are the tested server lines, with live coverage on 8.4.6 and 9.7.2. MariaDB reached through MySQL Connector/J is read but unsupported (serverFlavorMARIADB); R2DBC-only and reactive-client-only configurations are not supported. Check bootui tools first: availability depends on the application's version, datasource, and panel policy.

bootui db mysql report --json

report reads only the latest sanitized cache. It never connects to MySQL. When a fresh observation is explicitly requested or approved:

bootui db mysql read --json

read is an action despite its name. It collects through the application's existing datasources; neither command accepts SQL, schema, endpoint, or pagination arguments. Global or MySQL panel read-only policy blocks collection but permits cached reports. Standard exit codes and transport limits apply; increasing --timeout changes the client's wait, not MySQL collection or pool-acquisition bounds.

Exit 0 means a report was returned, not complete coverage or a healthy database. Inspect its status, section reasons, timestamps, and limitations. Row-cap truncation, server digest overflow, missing permissions/instrumentation, and timeouts are different limitations. Missing replication evidence is not an empty successful channel list. Preserve exact decimal-string counters, byte sizes, and numeric IDs; null means unknown. Scope can be server-wide or default-schema-associated, not application-only. There are no scores or advisor recommendations. Exposure-policy changes invalidate the cache without SQL; request approval for another read rather than silently refreshing an explained NOT_READ. See MySQL.

Investigating one request

bootui activity lists what happened; bootui request-profile opens one request or execution. Pick a profileable REQUEST, SCHEDULED, or consumed MESSAGING entry (or a Runtime Insights exemplar) and pass its id:

bootui activity --limit 50 --json \
  | jq -r '.entries[] | select(.type == "REQUEST" and .profileable) | "\(.id) \(.severity) \(.summary)"'
bootui request-profile <id> --json
bootui exceptions show <exceptionGroupId> --json

The result is a selection: source: "journal" has a journal timeline and touched resources, including scheduled and message executions; source: "buffers" has the legacy HTTP-exchange buffers profile, with N+1 groups, call sites, and exception exceptionGroupId values for bootui exceptions show. When both are retained for an HTTP request, source is journal and both fields are populated; read buffers for the richer HTTP details. The journal is consulted first, then the buffer. Both respect panel visibility and exposure policy. An id neither retains exits 1 with a message naming both windows, like any other unknown id. source: "none" with available: false and an unavailableReason (exit 0) remains for what another id cannot fix: the runtime journal is off, the id's panel hides it, or the request carried nothing to correlate.

The command is request-profile, at the top level, because bootui activity is itself a command and a command path cannot also be the parent of another. It is unavailable, and exits 2, when the Live Activity panel is disabled. See Investigate one request for the same workflow over MCP.

Investigating a blocked thread

Thread diagnostics need no Java agent and work on Spring MVC, WebFlux, and Quarkus. Start with retained evidence:

bootui thread-analysis list --json
bootui thread-analysis show <capture-id> --json
bootui thread-analysis thread <thread-observation-id> --json

Follow rootBlockers[].observationId for a lock owner and its blockedObservationIds for waiters, then inspect both stacks at their actual application source. These are capture-scoped IDs from the report, not numeric live thread IDs. If suitable evidence is absent, obtain approval for bootui thread-analysis capture --json first. For persistence/interval CPU, thread-analysis observe starts an approved finite session; read thread-analysis observation <session-id> --json, and cancel with thread-analysis cancel <session-id> --json before clearing if remaining samples must stop. While it runs, poll retained observation status only; live bootui threads, captures, and fresh dump downloads compete for JVM acquisition and can fail a sample. Busy/missed ticks fail visibly without retrying.

The show and observation commands take an optional ID, not arbitrary filter or paging flags. Check section hasMore/truncated-ID flags and capture quality; use the same retained capture's REST pages for omitted evidence. Comparison pages use GET <api-base>/threads/observations/<session-id>?offset=25&limit=25. An empty/partial result or an ordinary waiting pool thread is not proof of a defect or a fix. See the blocked-thread agent workflow for source changes and verification.

The MCP server

The MCP server is a panel like any other, so the CLI can inspect and toggle it — subject to that panel's own enable and read-only settings:

bootui mcp status
bootui mcp enable
bootui mcp disable

These commands require a recognizable BootUI MCP status report with a typed enabled value, not an empty or generic JSON success. Missing, malformed, or unrecognized replies exit 1 without printing a successful result; an unconfirmed toggle reports an unknown outcome and is never retried automatically. This validation is specific to the MCP commands, not the dependency-free client's general support for bodyless panel actions.

The Command Line panel

BootUI Command Line panel

The browser console mirrors this endpoint back at you. Developer tools → Command Line shows whether the endpoint answers, the install snippet, how many calls it has served and how long they took, and every command this instance exposes — the bootui command to type, the arguments it accepts, the MCP tool it maps to, and which commands the target's panel settings would currently refuse. It is a read-only view: the endpoint is governed by bootui.cli.enabled in configuration, not by a button, because a CI job's access should not be revocable from a browser tab. See Developer tools.

Gate on severity

Every advisor scan and report command takes --fail-on <severity>: architecture, crac, db (scan and report), graalvm, hibernate, memory, pentest, rest-api, security, spring and vulnerabilities. Other commands, including db postgres report, db mysql report and memory heap report, grade nothing and reject the option.

bootui hibernate scan --fail-on high    # exit 3 when a HIGH or CRITICAL finding is retained
BehaviourDetail
Valuescritical, high, medium, low, info, in any case. A finding at or above the value counts: high means HIGH and CRITICAL. Any other value is a usage error (exit 1) that lists them.
OutputUnchanged. The answer is printed first, then the gate runs. A short reason goes to stderr.
What countsThe answer's severityCounts, which leave out dismissed findings. Severities outside the list above, such as the vulnerability scan's UNKNOWN, do not gate; a count of them is named on stderr. info is only useful on advisors that report it.
Exit 3At least one counted finding at or above the threshold, whether the scan was SCANNED or PARTIAL.
Exit 0The scan was SCANNED or PARTIAL and nothing is at or above the threshold. A PARTIAL scan means some evidence was unavailable, as the Hibernate advisor routinely reports, so stderr notes that no finding is not proof there is none; read evidence in the output when that matters.
Exit 1The gate cannot be evaluated, so it never passes silently: severityCounts is missing, empty or malformed, the scan status is missing or anything other than SCANNED or PARTIAL, or evidence.usable is false and nothing is at or above the threshold (nothing was assessed, as when an architecture scan finds no classes). A report that was never scanned carries zero counts too, so NOT_SCANNED, DISABLED and ERROR all stop here.
Refused or failed callsKeep their exit codes (2, 1); --fail-on does not change them.

The option is CLI-only. It is not an MCP argument and is never sent to the application.

Gate on insufficient evidence

insights list, insights show <id>, and exceptions list accept --fail-on insufficient. The gate exits 3 when Runtime Insights has any INSUFFICIENT or PARTIAL observations, or when caught-exception rows have insufficient or partial evidence. Partial caught-exception evidence includes unknown, settling, or counted-only outcomes; the shape discards alone is not treated as proof of a finding.

bootui insights list --fail-on insufficient
bootui exceptions list --fail-on insufficient

Exit 0 means the available, evaluated evidence contains no insufficient or partial observation rows; it does not assert that a specific bug is present or absent. Check-level statuses are informational and do not gate. Exit 1 means the result is unavailable, lacks the aggregate counts or status needed to evaluate the gate, or has an unrecognized or unavailable observation status. An empty insights list result passes only when query=all and the report has request activity; a scoped query with no matching observations and an all-query report with no request activity fail closed. A missing caught-exceptions sensor also fails closed rather than passing.

For insights list, omitting --query with this gate implicitly requests query=all, so every observation kind is included. An explicit --query retains its scope. Aggregate counts cover every observation matching that query, including rows omitted by --limit, so shortening the displayed list cannot hide insufficient evidence. The response is printed without rewriting it, but the implicit query can make it more complete than the default compact list. The gate is CLI-only.

In CI

For complete assessment reports and a policy gate around integration tests, start with the GitHub Actions quick start. The individual commands below are useful in existing scripts; their panel-specific exit behavior is different from the strict bootui ci assessment contract.

The CLI is designed for a job that starts the application, asks it something, and stops it:

- name: Fail on high-severity Hibernate findings
  run: |
    ./mvnw -B spring-boot:start

    status=0
    bootui hibernate scan --fail-on high --json > hibernate.json || status=$?

    # Stop the application whether or not the scan answered, so a failure never leaks a JVM.
    ./mvnw -B spring-boot:stop

    case $status in
      0) ;;
      2) echo "the Hibernate panel is off or read-only on this application; skipping"; exit 0 ;;
      3) echo "high-severity Hibernate findings; see hibernate.json"; exit 1 ;;
      *) exit 1 ;;
    esac

Three details make that work as a gate rather than as a job that merely looks green.

Let the CLI apply the threshold. --fail-on high exits 3 when a retained finding is HIGH or CRITICAL, so the job needs no jq expression over severityCounts. The JSON on stdout is the same as without the option; see Gate on severity for what the gate refuses to call a pass.

For evidence-driven checks, bootui insights list --fail-on insufficient and bootui exceptions list --fail-on insufficient fail with exit 3 when evidence is below the existing minimum or incomplete; see Gate on insufficient evidence.

Capture the exit code instead of letting it abort the step. A step runs under bash -e, so a bare bootui … that exits non-zero skips the rest of the script, including the shutdown. The || status=$? form keeps the failure from aborting the step so the application still gets stopped.

Treat 2 as a skip. A read-only or disabled panel exits 2 with nothing on stdout. That is a statement about how the target is configured, not a finding and not a failure — see Exit codes.

Two things make this safe rather than a new exposure. BootUI is still local-only: the endpoint stays behind the loopback, Host allow-list, cross-site-write, and authentication-token protections that guard every other route — so the application has to be running on the same runner as the job, not in a deployed environment. And no tool becomes reachable that was not already reachable — the CLI is a second spelling of the same panel data, gated by the same per-panel policy and the same bootui.expose-values rule. bootui logs tail, for example, prints log messages with secret-like assignments and authorization credentials masked by default, and without messages under METADATA_ONLY.

Strict CI assessments

Example release: BootUI 2.6.0. Use a published copy of this same release for the application and CLI. The Action is pinned to this release's signed v2.6.0 tag. The documentation and starter kit are synchronized during release preparation; a repository can contain them before publication. The documentation website publishes the kit only after the exact CI release is verified as available.

For the simple GitHub Action and complete examples, see BootUI in CI.

The bootui ci commands are client-side orchestration, not MCP tools and not part of the generated command manifest. attach and assess are intentionally narrower than ordinary CLI use: one explicitly selected literal loopback URL, a Spring Boot application or external Quarkus quarkus:dev process, a strict JSON policy, and a pre-workload identity witness. They do not start the application, run tests, or prove that tests exercised the witnessed process. Do not use a deployed or remote target. Framework-managed tests can instead use CiCollection within the test lifecycle; see framework-managed CI collection.

The policy selects only named advisors. A required advisor must be advertised, enabled, scannable, usable, coverage-complete, and have at least one subject. Incomplete evidence, scan/report disagreement, suppressed or dismissed findings, unknown severities, truncation, paging inconsistencies, and collection errors are not passes for a required advisor. An optional advisor is assessed and gated when available; framework incompatibility, unavailability, or unevaluable optional evidence is retained as an explicit SKIPPED row with a stable reason. A positive per-rule suppressedCount is rejected even when the rule still has active findings and its detail pages report no suppression. Older reports that omit this field remain supported. The policy allow-list excludes the Memory advisor because its scan may trigger a full garbage collection. The Database advisor's policy key is database-advisor, but its CLI commands are bootui db scan --json and bootui db report --json, not bootui database-advisor scan. A scan's topFindings preview does not establish complete coverage; read the cached advisor report for its evidence and diagnostics.

Runtime Insights context is optional and report-only: omit the runtimeContext object (or set includeInsights to false) to make no extra request. A policy containing runtimeContext requires a CLI version that understands that key; older releases reject unknown policy keys.

For Spring, a policy can include REST API checks and the optional runtime snapshot:

{
  "schemaVersion": 1,
  "advisors": {
    "architecture": { "required": true, "failOn": "high" },
    "rest-api": { "required": true, "failOn": "high" }
  },
  "runtimeContext": { "includeInsights": true }
}

For a Quarkus application with Hibernate and a configured datasource, one possible policy is:

{
  "schemaVersion": 1,
  "advisors": {
    "architecture": { "required": true, "failOn": "critical" },
    "hibernate": { "required": true, "failOn": "critical" },
    "database-advisor": { "required": true, "failOn": "critical" }
  }
}

Choose advisors and thresholds for the target. An optional advisor is assessed when available and its successful findings gate normally; incomplete optional evidence is an explicit skip, while incomplete required evidence fails.

Attach immediately before the workload, and use the exact same URL for the existing integration scenarios and the later assessment. On failure, attach prints a stable error code to stderr and writes it into a NOT_ASSESSED witness when possible. Selecting the spring advisor as required for a Quarkus target fails with UNSUPPORTED_ADVISOR_FOR_FRAMEWORK; an optional selection is skipped as FRAMEWORK_UNAVAILABLE. Choose a fresh witness path and output directory for each run; assess only after a successful attach:

assessment_root="$RUNNER_TEMP/bootui-ci/$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
attach_status=0
bootui ci attach \
  --url http://127.0.0.1:18080 \
  --assessment-id "$GITHUB_RUN_ID:$GITHUB_RUN_ATTEMPT:orders" \
  --policy ci/bootui-policy.json \
  --output "$assessment_root/witness.json" || attach_status=$?

workload_status=0
./ci/run-integration-tests.sh http://127.0.0.1:18080 || workload_status=$?

assessment_status=1
if [ "$attach_status" -eq 0 ]; then
  assessment_status=0
  bootui ci assess \
    --url http://127.0.0.1:18080 \
    --assessment-id "$GITHUB_RUN_ID:$GITHUB_RUN_ATTEMPT:orders" \
    --policy ci/bootui-policy.json \
    --witness "$assessment_root/witness.json" \
    --output-dir "$assessment_root/assessment" || assessment_status=$?
else
  echo "BootUI attach failed; refusing to scan with an unverified witness." >&2
fi
# Publish any reports before applying these results as the final job gate.
if [ "$workload_status" -ne 0 ]; then exit "$workload_status"; fi
exit "$assessment_status"

The assessment writes a bounded bundle.json, summary.md, and junit.xml; report prose and raw finding text are not copied into these outputs. The Markdown summary lists up to 50 retained rule IDs, severities, counts, and whether they meet their advisor's threshold. Threshold-meeting findings appear first; any omitted rule summaries remain in bundle.json. Stable assessment error codes also appear in the summary. With runtimeContext.includeInsights: true, one bounded read-only Runtime Insights call adds aggregate coverage and at most 20 default-listed, sanitized observation summaries to the bundle and Markdown summary, never to JUnit. The projection omits routes, request IDs, observation prose, and follow-up suggestions; its HTTP exchange count cannot prove the CI workload exercised the witnessed process. CAPTURED, PARTIAL (low-footprint mode), UNAVAILABLE, and ERROR describe the optional context only and never affect the advisor verdict or exit code; NOT_REQUESTED means the policy omitted or disabled the request, while NOT_COLLECTED means assessment stopped before it could be made.

The call is capped at 10 seconds and reserves the configured --timeout plus one second for the final identity check. If the remaining budget is no greater than that reserve, no Runtime Insights request is made and its report-only status is ERROR. The summary shows captured counts only for CAPTURED or PARTIAL; other statuses do not imply zero activity. Publish the summary and files before making the recorded result the final job gate. The aggregate exits are 0 for a valid pass or confirmed optional absence, 1 for an unevaluable/error result, and 3 for a proven threshold violation. An error takes precedence over findings, while already collected findings remain in the bundle and summary. This is separate from the legacy per-tool exit codes above; in particular, a required panel refusal cannot become a green assessment.

After downloading the assessment artifact to $RUNNER_TEMP/bootui-ci/$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT/assessment, validate it in a later, offline job with the same policy file and expected assessment ID:

assessment_root="$RUNNER_TEMP/bootui-ci/$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
bootui ci check \
  --input "$assessment_root/assessment/bundle.json" \
  --assessment-id "$GITHUB_RUN_ID:$GITHUB_RUN_ATTEMPT:orders" \
  --policy ci/bootui-policy.json

ci prepare-contexts creates a fresh absolute evidence root, fixes its exact policy snapshot and complete list of expected context IDs, and prints the plan's SHA-256 digest. Retain both that digest and the expected assessment ID outside the writable root. Each test window calls the CiCollection.begin(...) API from the CLI artifact and invokes Window.finish() before application teardown. After every producer process exits, ci check-contexts verifies all expected windows offline. Its exits are 0 for a complete pass, 1 for incomplete or invalid evidence, and 3 for a proven threshold violation. The final gate must run after all producers; use one root per policy and a filesystem provider supporting SecureDirectoryStream. This proves consistency and explicit window completion, not that tests actually exercised the witnessed application or that evidence is tamper-proof. See the lifecycle API and example.

The composite Action's phase: prepare-cli downloads and verifies the signed CLI, exporting BOOTUI_CLI_JAR for later steps. phase: offline accepts input-bundle, assessment-id, and policy to run ci check without contacting an application. It writes a fixed status summary to the GitHub job summary; it does not rewrite or upload the supplied bundle.

ci check reads a bounded strict-JSON bundle, rejects duplicate or unknown fields and incomplete evidence, verifies the policy digest and assessment ID, and recomputes the threshold result from the retained findings. It has no target URL or network fallback. The check validates consistency, not authenticity: CI artifacts are self-reported evidence, not tamper-proof attestation. Optional SKIPPED advisor rows are also self-reported and are not independently corroborated offline; mark every advisor needed for the gate as required: true in the collection policy. It validates the optional runtime projection's bounded structure and its policy opt-in, but never gates on its observations. Schema-version-1 success bundles are treated as Spring Boot for compatibility; a NOT_ASSESSED bundle can remain schema version 1 if identity was never established. Schema-version-1 bundles may omit runtimeContext only when the policy did not request Runtime Insights. Schema-version-2 bundles record frameworkName when identity is known. Both versions require complete advisor evidence. Neither the projection nor the identity witness proves workload attribution.

Both frameworks must point BOOTUI_OVERRIDES_FILE at a fresh, empty, absolute per-assessment path outside watched and build-output directories; this isolates Quarkus's advisor-dismissal store as well as Spring's overrides. Never reuse developer-local dismissals. Spring must explicitly activate BootUI and keep its dependency in a repository-owned CI-only build profile, not the normal production dependency graph. Quarkus activates BootUI by DEV/TEST launch mode instead. Run cleanup only for the process the workflow owns. In GitHub Actions, assessment/publication belongs behind !cancelled(), while always() is for bounded cleanup of that owned process. A cancelled runner or hard timeout can still prevent collection or publishing; the witness proves identity continuity, not workload attestation.

The composite Action downloads a pinned stable CLI release and verifies its Maven Central signature against BootUI's pinned release signing key. The Action and CLI commands become usable by consumers only after a release containing them is published. The lifecycle API and expected-window commands are part of the CLI artifact, not a framework plugin; the test suite must call them from its own lifecycle hooks. This increment does not provide comparisons, SARIF, or annotations.

Every command

bootui insights compare respects source-panel policy and names disabled or unavailable evidence in limitations. Read these before treating an empty comparison as unchanged behavior. When HTTP Exchanges is hidden, every run reference retains requests: 0 for JSON compatibility; the named limitation means that count is hidden, not zero traffic. Each broker's panel gates its messaging executions and edges independently.

MCP tool names are listed so a mapping between an agent conversation and a shell script stays obvious. all means every stack advertises the tool; anything else names the stacks that do. Whether an application really exposes a tool is still what bootui tools says.

CommandMCP toolArgumentsKindStacks
bootui activityget_live_activity--query (namespace:, application:, run:, instance:, route: qualifiers plus type/severity/text), --limitreadall
bootui agent statusget_agent_status--queryreadall
bootui agent sensor disabledisable_agent_sensor<id> (switchable sensor); needs approvalactionall
bootui agent sensor enableenable_agent_sensor<id> (switchable sensor); needs approvalactionall
bootui ai overviewget_ai_overview—readall
bootui architecture reportget_architecture_report—readall
bootui architecture violationsget_architecture_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui architecture scanarchitecture_scan—actionall
bootui code inventoryget_code_inventory[--query Q] [--limit N]readall
bootui code pathsget_code_paths[--query Q] [--limit N]readall
bootui side-effectsget_side_effects[--query Q] [--limit N]readall
bootui beansget_beans--query, --limitreadall
bootui cacheget_cache_stats—readall
bootui conditionsget_conditions--query, --limitreadSpring MVC, WebFlux
bootui configget_config--query, --limitreadall
bootui crac reportget_crac_report—readSpring MVC, WebFlux
bootui crac scancrac_scan—actionSpring MVC, WebFlux
bootui db flywayget_flyway_migrations—readall
bootui db liquibaseget_liquibase_changesets—readall
bootui db mysql readmysql_read—actionall with MySQL JDBC
bootui db mysql reportget_mysql_report—readall with MySQL JDBC
bootui db poolsget_database_connection_pools—readall
bootui db postgres readpostgresql_read—actionall
bootui db postgres reportget_postgresql_report—readall
bootui db reportget_database_advisor_report—readall
bootui db violationsget_database_advisor_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui db scandatabase_advisor_scan—actionall
bootui dev-servicesget_dev_services—readall
bootui devtools livereloadtrigger_devtools_livereload—actionSpring MVC, WebFlux
bootui devtools statusget_devtools_status—readSpring MVC, WebFlux
bootui exceptions clearclear_exceptions—actionall
bootui exceptions listget_exceptions—readall
bootui exceptions showget_exception_detail<id>readall
bootui fault-toleranceget_fault_tolerance—readall
bootui githubget_github_dashboard—readall
bootui graalvm reportget_graalvm_report—readSpring MVC, WebFlux
bootui graalvm scangraalvm_scan—actionSpring MVC, WebFlux
bootui healthget_health—readall
bootui hibernate reportget_hibernate_report—readall
bootui hibernate violationsget_hibernate_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui hibernate scanhibernate_scan—actionall
bootui hibernate statisticsget_hibernate_statistics—readall
bootui http exchangesget_http_exchanges--limitreadall
bootui http routesget_http_routes--limitreadall
bootui http sessionsget_http_sessions—readSpring MVC
bootui insights compareget_runtime_run_comparison[<id>] (defaults to previous, or a run id)readall
bootui insights impactget_runtime_impact<id>readall
bootui insights listget_runtime_insights--query (all adds the rows the default list leaves out), --limitreadall
bootui insights showget_runtime_insight<id>readall
bootui jmsget_jms_activity—readSpring MVC, WebFlux
bootui jvm tuningget_jvm_tuning—readall
bootui kafkaget_kafka_activity—readall
bootui loggersget_loggers--query, --limitreadall
bootui logs tailget_log_tail--query, --limitreadall
bootui low-footprint disabledisable_low_footprint—actionall
bootui low-footprint enableenable_low_footprint—actionall
bootui low-footprint statusget_low_footprint—readall
bootui mailget_emails—readall
bootui mappingsget_mappings--query, --limitreadall
bootui memory heap analyzeanalyze_heap_dump—actionall
bootui memory heap reportget_heap_dump_report—readall
bootui memory liveget_live_memory—readall
bootui memory reportget_memory_report—readall
bootui memory violationsget_memory_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui memory scanmemory_scan—actionall
bootui metricsget_metrics--query, --limitreadall
bootui overviewget_overview—readall
bootui pentest reportget_pentest_report—readall
bootui pentest scanpentest_scan—actionall
bootui probe showget_method_probe<id>readall
bootui probe startstart_method_probe<id> (the method, binary.Class#name); ask the user for separate approval firstactionall
bootui profile diffget_profile_diff—readall
bootui rabbitmqget_rabbitmq_activity—readall
bootui repositoriesget_spring_data_repositories—readSpring MVC, WebFlux
bootui request-profileget_request_profile<id>readall
bootui rest-api reportget_rest_api_report—readall
bootui rest-api violationsget_rest_api_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui rest-api scanrest_api_scan—actionall
bootui rest-client clearclear_rest_client_traces—actionall
bootui rest-client pausepause_rest_client_recording—actionall
bootui rest-client resumeresume_rest_client_recording—actionall
bootui rest-client tracesget_rest_client_traces--query, --limitreadall
bootui scheduledget_scheduled_tasks—readall
bootui security configget_spring_security—readSpring MVC, WebFlux
bootui security logsget_security_logs--limitreadall
bootui security reportget_security_report—readall
bootui security violationsget_security_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui security scansecurity_scan—actionall
bootui sessions claudeget_claude_code_sessions--query, --limitreadall
bootui sessions copilotget_copilot_sessions--query, --limitreadall
bootui spring reportget_spring_report—readall
bootui spring violationsget_spring_rule_violations<id> --scan-id <scanId> [--offset N] [--limit N]readall
bootui spring scanspring_scan—actionall
bootui sql clearclear_sql_traces—actionall
bootui sql pausepause_sql_trace_recording—actionall
bootui sql resumeresume_sql_trace_recording—actionall
bootui sql tracesget_sql_traces--query, --limitreadall
bootui startupget_startup_timeline--query, --limitreadSpring MVC, WebFlux
bootui threadsget_threads--query, --limitreadall
bootui thread-analysis capturecapture_thread_snapshot—actionall
bootui thread-analysis listget_thread_snapshots--limitreadall
bootui thread-analysis showget_thread_analysis[<id>] (capture; latest if omitted)readall
bootui thread-analysis threadget_thread_detail<id> (thread observation)readall
bootui thread-analysis clearclear_thread_snapshots—actionall
bootui thread-analysis observestart_thread_observation—actionall
bootui thread-analysis observationget_thread_observation[<id>] (finite session; latest if omitted)readall
bootui thread-analysis cancelcancel_thread_observation<id> (finite session)actionall
bootui traces clearclear_traces—actionall
bootui traces listget_traces--limitreadall
bootui tx clearclear_transactions—actionSpring MVC, WebFlux
bootui tx listget_transactions—readSpring MVC, WebFlux
bootui tx pausepause_transaction_recording—actionSpring MVC, WebFlux
bootui tx resumeresume_transaction_recording—actionSpring MVC, WebFlux
bootui vulnerabilities reportget_vulnerabilities_report--query, --limitreadall
bootui vulnerabilities scanvulnerabilities_scan—actionall
bootui websocketsget_websockets—readall

Building on it

The transport is the io.github.jdubois.bootui.client package of bootui-cli, a small client with no dependencies at all — no Jackson, no picocli, no HTTP client beyond the JDK's — that handles the URL, the token, the request, and the outcome mapping. It treats payloads as opaque JSON on purpose, so a client built against one BootUI version keeps working against an application running another. That is what a future Maven plugin, or your own tooling, would build on.

Depend on com.julien-dubois.bootui:bootui-cli for it: picocli is an optional dependency, so the client brings nothing onto your classpath. That plain jar is a library, not a runnable CLI; to run the CLI, use the shaded bootui-cli-<version>-all.jar described above. The picocli command-line classes, tool manifest, and offline documentation are bundled only in that runnable JAR, while the plain client and sources JARs carry io.github.jdubois.bootui.client and io.github.jdubois.bootui.cli.ci. Before BootUI 2.0, the client was its own bootui-client artifact.

Prev
AI agents
Next
Framework-managed CI tests

© 2026 Julien Dubois