Repository navigation
[mcp/v0.31.0] - 2026-12-01
The MCP server, renamed jafar-mcp. It embeds shell-core and the parser unchanged since
mcp/v0.30.0 (no source change under shell-core/ or parser*/ since then); the jar's
Embedded-Modules manifest attribute names each embedded module and version.
Changed
- The MCP server is
jafar-mcp(it wasjfr-mcp). It serves heap dumps, pprof and OTLP
profiles and live JFR streams besides recordings, and "JFR MCP server" names a category, not this
server. Renamed: the Maven artifact (io.btrace:jafar-mcp), the fat jar
(jafar-mcp-<version>-all.jar), the installed command (jafar-mcp,jafar-mcp-dev), the JBang
aliases (jafar-mcp@btraceio,jafar-mcp-latest@btraceio) and the installer's settings
(JAFAR_MCP_DEV,JAFAR_MCP_DAEMON). Not renamed: the tool names (jfr_*,hdump_*,
pprof_*,otlp_*),serverInfo.name(alreadyjafar-mcp), thejafar-mcp.serviceand
io.btrace.jafar-mcpunits (they now run~/.jbang/bin/jafar-mcp), and the module directory and
Gradle project (jfr-mcp/,:jfr-mcp). Existing setups keep working:jfr-mcp@btraceioand
jfr-mcp-latest@btraceiostay in the catalog as aliases of the new ones; the installer leaves
jfr-mcp(jfr-mcp-dev) behind as a wrapper that runsjafar-mcpand says so on stderr only,
stdout being the protocol stream in stdio mode;JFR_MCP_DEVandJFR_MCP_DAEMONare still read;
andio.btrace:jfr-mcpis published from now on as a POM that relocates Maven and Gradle builds
toio.btrace:jafar-mcpat the same version (releases up to 0.30.0 stay where they are). The
migration table is injfr-mcp/README.md, "Renamed from jfr-mcp"
Repository and build
- The JBang catalog retry covers every plane (#339).
sync-jbang-catalog.ymlretried only
the shell's entries, so an mcp or core release whose Maven Central sync outlasted
release.yml's 10-minute wait never reached the catalog: 0.30.0'sjfr-mcpalias and
jfr-mcp-latest/jafar-tools-latestwrappers stayed at 0.29.0. The workflow now runs one job
per plane, each with its plane's newest release (vX.Y.Z,mcp/vX.Y.Z,core/vX.Y.Z), its
own Maven Central artifact and its own release age (from when the release was published), and
files a "Maven Central sync failed" issue once per release, not on every run. The catalog edits
arescripts/jbang-catalog.sh, shared withrelease.yml, and never move an entry down: an
older line's release, or a catalog moved ahead by hand, is left as it is install.sh --devinstalls the development snapshot again (#348).jfr-mcp/install.sh
(run byinstall.sh --devandJFR_MCP_DEV=1) installedjfr-mcp-dev@btraceio, an alias the
JBang catalog renamed tojfr-mcp-latest, and its Claude Desktop and Claude Code hints named it
too. It now installsjfr-mcp-latest@btraceioas thejfr-mcp-devcommand (jbang app install --name jfr-mcp-dev), so the command, thejafar-mcp-devdaemon unit and the stablejfr-mcp
are as before, and the hints namejfr-mcp-latest@btraceio- Docs name the JBang aliases the catalog has (#349). The MCP docs ran
jfr-mcp-dev@btraceio,
an alias the catalog renamed tojfr-mcp-latest; the jfr-shell JBang guide pinned JitPack
coordinates (io.github.btraceio:jfr-shell), ran ajfr-shell-latestalias and linked a
jfr-shell.javathat do not exist; the README opened a heap dump withjfr-shell, which reads
JFR only (nowjafar-shell, at thehdump>prompt).-Dmcp.port/-Dmcp.hostwere written after
the alias or command, where JBang passes them to the server as arguments it ignores (the server
stayed on port 3000): they now go before the alias (jbang -Dmcp.port=8080 jfr-mcp@btraceio), or
inJAVA_TOOL_OPTIONSfor an installed command; theMCP_PORTvariable the docs named was never
read. "Start on a different port" when a server is running is corrected: a running Jafar SSE
server is reused (the new one prints its URL and exits) whatever the port; another port helps only
when a different program holds it.doc/mcp/JBANGCatalogSetup.mddescribes the catalog as it is - A guardrail for the JBang commands users are told to run (#353).
scripts/check-jbang-refs.sh
fails when the docs, the installers or the shell's messages name an<alias>@btraceioor a
btraceio/jbang-catalog file the live catalog does not have, or put a-D<property>after the
alias or an installed command (jfr-mcp,jafar-shell, ...), where JBang passes it as a
program argument; CI runs it in the guardrails job. On the docs
before #349 it reported the 43 problems #349 fixed. Releasing now checks this, and runs the
README's quick-start commands against the jars built from the release commit, before the tag
(doc/agents/Release.md, the release-steward skill) - The Combined Test Report counts both JDKs (#352). The PR comment's total changed between
identical runs (4036, then 4033, on #351): the JDK 8 and JDK 21 JUnit artifacts were downloaded
into one directory, both holdTEST-io.jafar.parser.ClassDefinerTest.xml, and one copy replaced
the other, or both were lost when the parallel downloads damaged the file, which the count skips.
Each artifact now has its own directory, in the same-repo report (pr-tests.yml) and in the
fork-PR comment (pr-results-comment.yml); the totals come fromscripts/junit-totals.sh, the
named failing set reads every artifact's directory, and prints nothing (not an empty line) when
nothing failed, so the step summary no longer shows an empty block
🎉 Release 0.31.0 Published Successfully
This release has been published to:
- ✅ Maven Central (Sonatype):
io.btrace:jafar-parser:0.31.0,io.btrace:jafar-tools:0.31.0,io.btrace:jafar-shell:0.31.0,io.btrace:jafar-mcp:0.31.0,io.btrace:jafar-gradle-plugin:0.31.0 - ✅ Maven Central - Backend Plugins:
io.btrace:jfr-shell-jdk:0.31.0,io.btrace:jfr-shell-jafar:0.31.0 - ✅ JBang Catalog: Updated to 0.31.0
Usage
Via JBang (recommended):
# Using catalog (always latest)
jbang jfr-shell@btraceio recording.jfr
# Version pinned (from Maven Central)
jbang io.btrace:jafar-shell:0.31.0 recording.jfr
# Install as command
jbang app install jfr-shell@btraceio
jfr-shell recording.jfrVia Maven/Gradle:
<!-- Parser -->
<dependency>
<groupId>io.btrace</groupId>
<artifactId>jafar-parser</artifactId>
<version>0.31.0</version>
</dependency>
<!-- JFR Shell -->
<dependency>
<groupId>io.btrace</groupId>
<artifactId>jafar-shell</artifactId>
<version>0.31.0</version>
</dependency>
<!-- Jafar MCP Server (io.btrace:jfr-mcp relocates to it) -->
<dependency>
<groupId>io.btrace</groupId>
<artifactId>jafar-mcp</artifactId>
<version>0.31.0</version>
</dependency>Gradle Plugin:
plugins {
id 'io.btrace.jafar-gradle-plugin' version '0.31.0'
}Backend Plugins (for JFR Shell):
# Install JDK backend plugin
java -jar jfr-shell.jar --install-plugin io.btrace:jfr-shell-jdk:0.31.0
# Install Jafar backend plugin
java -jar jfr-shell.jar --install-plugin io.btrace:jfr-shell-jafar:0.31.0
# Use specific backend
java -jar jfr-shell.jar --backend jdk recording.jfr