← Back to Leaderboard
Gsymgraph

symgraph/GhidrAssistMCP

In-process MCP server for reading and annotating binaries in Ghidra

View on GitHub ↗
Engineering Health (Methodology)
A+ · 90/100
Maintenance Activity
● Updated 10d ago
Latest Release
3.1.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption15/25
Release Cadence20/20
License Clarity20/20
MCPSelf-Hosted
Total Stars
★ 823
24h Growth
+0
7d Growth
+2
Forks
76

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

symgraph/GhidrAssistMCP Star History (2025-07-08 - 2026-12-04) ALL-TIME STAR HISTORY (2025-07 – 2026-12) +822 in 514d · avg +2/day 869 435 0 2025-07-08: ★ 12025-08-09: ★ 2812025-09-13: ★ 2982025-10-18: ★ 3122025-11-22: ★ 3322025-12-27: ★ 3702026-01-31: ★ 4032026-03-07: ★ 5002026-04-11: ★ 5592026-05-16: ★ 6062026-06-20: ★ 6362026-07-25: ★ 6742026-08-29: ★ 7292026-10-03: ★ 7572026-11-04: ★ 8042026-12-04: ★ 823 ★ 823 2025-07 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

GhidrAssistMCP is a Java extension that runs an MCP server inside Ghidra, not a standalone service that parses binaries itself. In desktop mode, the runtime starts with the project manager before any CodeBrowser opens. CodeBrowser windows share the service, configuration, and bounded request log. Requests can use the focused program or select one explicitly with program_name; project paths disambiguate duplicate filenames and are preferable for automation.

Java MCP SDK 2.0.1 serves Streamable HTTP at /mcp with protocol revision 2025-11-25. The legacy /sse and /message endpoints use 2024-11-05; supporting both transports does not imply support for the newer 2026-07-28 revision. The tool catalog uses explicit operation names, input contracts, and read/write annotations. Administrators can change tool availability without restarting the transport, and configuration persists across sessions.

Key Capabilities & Differentiators

Version 3.1.0 exposes 103 tools, 96 enabled by default. Clients can read pseudocode, disassembly, p-code, control-flow graphs, and cross-references, or update comments, names, types, and structures. Six program resource templates cover metadata, functions, strings, imports, exports, and segments, while seven prompts provide analysis starting points. Desktop project lifecycle tools can open and save projects before a CodeBrowser is present; the headless launcher manages its own project instead.

get_pseudocode_batch reads multiple functions from one program using a shared decompiler session. It returns full pseudocode by default; start_line and max_lines request a page per function, with line ranges, completeness, and any errors reported per item. Repeated function results can be reused within the batch, but batch responses do not enter the cross-request cache. Batch decompilation, batch renames, and program analysis support native MCP progress and return final results on the original request. For batch decompilation, the client timeout still applies to the entire batch.

Trade-offs & Limitations

Compared with direct Ghidra scripting, the MCP extension is most useful when clients need to discover operations and interact with a live, shared session. A fixed, unattended analysis pipeline can stay simpler as a direct script: there is no MCP transport to manage, no tool catalog to refresh, and no risk of selecting a program by UI focus. MCP batch reads reduce call overhead and reuse decompiler setup, but large calls still have to finish within one client timeout. Use smaller batches to reduce the scope of a timeout and line pagination to bound response size.

The default catalog is broad and includes write operations. Treat read/write annotations as descriptive metadata, not access control. Keep the listener on loopback unless you have separately established how access will be controlled, and disable tools that a client does not need. For disposable headless sessions, agent_lab narrows the available operations by disabling arbitrary file import, script execution, and GUI/project lifecycle tools while allowing sandbox-local export. The profile is not a substitute for OS or container isolation.

Hardware & Deployment Guide

Use the extension ZIP built for Ghidra 12.0, 12.1, or 12.2 Public and run Ghidra on Java 25 or newer. Install via File → Install Extensions, restart Ghidra, and check the shared settings under Window → GhidrAssistMCP. The default listener is localhost:8080. For a source installation, point GHIDRA_INSTALL_DIR at Ghidra and run the bundled ./gradlew installExtension with Ghidra stopped.

For headless use, launch through analyzeHeadless and the bundled ghidra_scripts/GAMCPStartServerScript.java. The script can start before analysis, or run as a post-script with wait=true to keep the session open after analysis. Release 2.11.0 added the restricted agent_lab profile, 3.0.0 moved startup to the project manager and added lifecycle control there, and 3.1.0 added Ghidra 12.2 compatibility, batch pseudocode, and native progress for selected operations. Refresh client tool definitions after upgrading.

Runtime: One in-process MCP server starts with the Ghidra project manager and is shared by CodeBrowser windows.
Transport: Java MCP SDK 2.0.1 serves Streamable HTTP at /mcp and legacy SSE at /sse with /message.
Discovery: 3.1.0 exposes 103 named tools, 96 enabled by default, plus six resource templates and seven prompts.
Batch reads: get_pseudocode_batch reuses one decompiler session and returns per-function code, pagination metadata, or errors.
Progress: Program analysis, batch renames, and batch decompilation can report native MCP progress while keeping their final results on the original request.
Headless controls: The agent_lab profile allows sandbox-local export but disables arbitrary file import, Ghidra script execution, and GUI/project lifecycle tools.
Best For

Teams that already use Ghidra and want an MCP client to read decompiler output, inspect references, or annotate authorized binaries in a shared analysis session.

Skip If

You need a standalone disassembler, only run a fixed batch workflow, or cannot run the required Ghidra and Java versions.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPSelf-Hosted
git clone <repository-url>
   cd GhidrAssistMCP

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
GhidrAssistMCP ★823+2JavaMITIn-process MCP server for reading and annotating binaries in Ghidra
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.8k+333TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/symgraph/GhidrAssistMCP.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

symgraph/GhidrAssistMCP Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about GhidrAssistMCP

How should an MCP client connect and select the right program?

Connect to the shared runtime at http://localhost:8080/mcp using Streamable HTTP. Use tools/list to retrieve the current parameter schemas and refresh the tool catalog after upgrades. In sessions with multiple open programs, pass the project path as program_name rather than relying on which CodeBrowser window has focus.

Does the extension require a GPU, and what drives resource use?

The extension runs inside Ghidra on Java 25 or newer and does not supply or run an LLM. It therefore has no model VRAM requirement of its own. Size the host for Ghidra's JVM, the programs under analysis, and the number of concurrent requests. If the MCP client runs a model locally, budget separately for that model and its context.

Can a company self-host it and analyze proprietary binaries?

The extension is MIT-licensed, so commercial use and self-hosting are permitted. Retain the copyright and license notices when distributing it. The license does not grant rights to redistribute analyzed binaries or send their contents to an external model provider. A loopback MCP endpoint keeps that connection local, but the client can still forward results elsewhere.

When is this preferable to direct Ghidra scripting or manual CodeBrowser use?

Use MCP when multiple clients need a discoverable interface to a live Ghidra session, including shared project context and interactive reads or edits. Use a direct Ghidra script when the workflow is fixed and does not need an MCP client; that avoids the HTTP service and its tool-permission configuration. Keep analysis in CodeBrowser when people perform it entirely by hand.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining symgraph/GhidrAssistMCP? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature symgraph/GhidrAssistMCP on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare