getExistingGhidraBundle reports an error when the bundle is missing; use
getGhidraBundle. Leave the directory list alone while a Script Manager is
running, and serialize adding directories.
The Script Manager restores user script directories from the CodeBrowser
tool configuration only while a CodeBrowser is open. list_scripts and
run_script now add the configured directories that the bundle host does
not know yet, so they also work from the project window and headless.
Tag pushes now create (or update) a release with the packaged extension,
named GhidraMCP-<tag>-ghidra<version>.zip. Actions bumped to checkout v7,
setup-java v6 and upload-artifact v7 (Node 20 deprecation).
- The workflow downloads a Ghidra 12 release (12.1.3 by default, any
version via manual dispatch), runs ./build.sh (libraries, unit tests,
package) and uploads the extension zip. It previously targeted Ghidra
11.3.2 with an incomplete library set and copied the removed bridge.
- extension.properties gets the Ghidra version the package is built
against instead of a hard-coded 12.1.2.
- add_to_program mirrors File > Add To Program: loads a file into an
existing program as new memory blocks through Ghidra's own loader
(Raw Binary by default: address, block name, file offset/length,
overlay). Overlapping ranges are refused with the clashing blocks named.
- import_file now resolves loaders by display name ("Raw Binary") as
well as class name; Ghidra's lookup only accepted the class name, so
the documented example failed. Unknown loaders list the available ones.
- e2e coverage for both.
The plugin now is the MCP server (Streamable HTTP at /mcp); the Python
bridge and the plain-text HTTP API it used are removed.
- One shared server per Ghidra process: started from the project window
(GhidraMCPServerPlugin), any CodeBrowser, or headless via
StartGhidraMcpServer.java. Programs resolve across all windows and
programs opened in the background.
- Project and program lifecycle: list/import/open/close/save programs,
manage project files, open/close/create projects.
- Auto-analysis control, function details and variables, symbols,
comments, data, struct/enum editing, call graphs, decompiler data-flow
slices, scalar and memory search, memory writes, scripts, MCP prompts
and resources.
- Decompiler process reused per program with a cache keyed to the
program modification number (previously one leaked process per call).
- Original tools split into domain classes; duplicate tools removed.
- Fix false "Failed" results for nested transactions, a GUI deadlock and
a modal-dialog hang when closing projects with several CodeBrowsers.
- JUnit 4 (tests run in build.sh again), install.sh, and an end-to-end
suite (tests/e2e) that exercises every tool against a live Ghidra.