ghidra-mcp
AGENTS.md4.2k starsChanged 2 months agoApache-2.0View on GitHub
You are a coding agent working on ghidra-mcp, a Model Context Protocol server that bridges Ghidra's reverse engineering capabilities with AI tools. Gradle is the default backend for local work. It reads Ghidra's jars straight out of the installation, so there is no install-file step, and it is the only backend that works without Maven. CI still builds and gates with Maven, so Maven is a maintained peer, not a fallback — see CLAUDE.md's "Build & Deploy" for the two…
Trending
Less talk lately.about the whole repository
Who's talking about bethington/ghidra-mcp
- A Hacker News story“Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering”Hacker News · Feb 4, 2026 · 298 points
- @wickerwaka.com“I wanted to understand better how audio works on the PGM so, after hearing about other peoples successes, I …”Bluesky · May 7, 2026 · 8 likes
- @mayteramarble.bsky.social“you can run an MCP server for Ghidra now lol wtf (if you don't know what this means it's basically when you …”Bluesky · Jun 12, 2026 · 4 likes
- NixOS/nixpkgs“ghidra-extensions.ghidra-mcp: init at 5.1.0”GitHub · Mar 25, 2026 · 3 reactions
- @118118.bsky.social“github.com/bethington/g... this one? It seemed like it worked pretty well but rn im on the ida mcp trying …”Bluesky · Sep 14, 2026 · 1 likes
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub, Bluesky and Hacker News (18 times).
On GitHub · 9
- Mar 25, 2026ghidra-extensions.ghidra-mcp: init at 5.1.0 — NixOS/nixpkgs3 reactions · 12 comments
- Jun 21, 2026You may not include more than 128 tools in your request. — microsoft/copilot-intellij-feedback1 reaction · 5 comments
- Oct 2, 2026[Infrastructure] Add generic batch execution for repeated analysis operations — sjkim1127/Reversecore_MCP0 reactions
- Oct 2, 2026[Application] Transfer annotations and findings across binary versions using function identity — sjkim1127/Reversecore_MCP0 reactions
- Aug 24, 2026Misc. bug: Slow decode speed with large tool sets — ggml-org/llama.cpp0 reactions · 1 comment
4 more on GitHub
- Jul 26, 2026feat: integrate IDA, Ghidra, WinDbg, Jadx, Burp Suite and Playwright MCPs — ljagiello/ctf-skills0 reactions
- Jul 16, 2026discover: propose 11 new repo(s) — gmh5225/awesome-game-security0 reactions
- Jun 18, 2026Fix PIC/GOT named globals rendering as DAT_ in decompile output — mariotaku/ghidra-mcp0 reactions
- Jun 6, 2026content(mcp): add bethington Ghidra MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
On Bluesky · 8
- May 7, 2026I wanted to understand better how audio works on the PGM so, after hearing about other peoples successes, I put gpt-5.4 and ghidra on the… — @wickerwaka.com8 likes and reposts · 2 replies
- Jun 12, 2026you can run an MCP server for Ghidra now lol wtf (if you don't know what this means it's basically when you hook the output back up to the… — @mayteramarble.bsky.social4 likes and reposts · 1 reply
- Sep 14, 2026github.com/bethington/g... this one? It seemed like it worked pretty well but rn im on the ida mcp trying to analyze the TMS320C25 code… — @118118.bsky.social1 likes and repost · 1 reply
- Aug 29, 2026I've been using github.com/bethington/g... but I just have a doc with like 10 curl commands it can use bc the mcp uses a ton of context by… — @shinyquagsire.bowser.gay1 likes and repost
- Feb 5, 2026https://github.com/bethington/ghidra-mcp Ghidra MCP Serverは、Ghidraのリバースエンジニアリング機能をAIツールと連携させるサーバー。 MCPに完全対応し、バイナリ解析のための110のツールを提供します。… — @topickapp.bsky.social1 likes and repost
3 more on Bluesky
- Feb 4, 2026Show HN: Ghidra MCP Server - 110 tools for AI-assisted reverse engineering [Discussion] — @hacker-news.bsky.social1 likes and repost
- Feb 4, 2026Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Feb 5, 2026Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering View Article | Join the HN Conversation Summary of HN discussion… — @hncompanion.com0 likes and reposts · 1 reply
On Hacker News · 1
- Feb 4, 2026Show HN: Ghidra MCP Server – 110 tools for AI-assisted reverse engineering298 points · 68 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 24
Keep tests/endpoints.json in sync with Java endpoint registrations
- Very specific: line 30
Run tests before committing: pytest tests/unit/ -v --no-cov
- Distinctive: line 32
Follow existing code style
- Distinctive: line 33
Update CHANGELOG.md for user-facing changes
- Distinctive: line 34
Create PRs for review (don't push directly to main)
- Very specific: line 35
Use python -m tools.setup bump-version --new X.Y.Z to bump version across all maintained files atomically
- Very specific: line 52
Test (Java, offline): ./gradlew test --tests 'com.xebyte.offline.*' "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC"
- Very specific: line 53
Test (Java, all): ./gradlew test "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC"
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — ghidra-mcp Project
You are a coding agent working on ghidra-mcp, a Model Context Protocol server that bridges Ghidra's reverse engineering capabilities with AI tools.
Project Context
- Repo: https://github.com/bethington/ghidra-mcp
- Version: 7.0.0
- Language: Java (Ghidra extension) + Python (MCP bridge)
- Key feature: 253 MCP tools for binary analysis, knowledge database, BSim integration, headless server support, AI documentation workflows
Directory Structure
src/— Java source for Ghidra extension and headless serverpython/bridge_mcp_ghidra/— Python MCP bridge package (bridge-mcp-ghidraconsole script /python -m bridge_mcp_ghidra)pyproject.toml+uv.lock— uv project (ships theghidra-mcp-bridgewheel; deps via PEP 735 groups)docs/— Documentation and workflow promptstests/— Python unit tests and endpoint catalogCHANGELOG.md— Version history
Current Priorities
- Maintain headless server parity with GUI plugin endpoints
- Keep
tests/endpoints.jsonin sync with Java endpoint registrations - Maintain CI/CD pipeline health
- Community PR reviews
Guidelines
- Run tests before committing:
pytest tests/unit/ -v --no-cov - Build with Gradle:
./gradlew buildExtension -PGHIDRA_INSTALL_DIR=<ghidra-install> - Follow existing code style
- Update CHANGELOG.md for user-facing changes
- Create PRs for review (don't push directly to main)
- Use
python -m tools.setup bump-version --new X.Y.Zto bump version across all maintained files atomically
Commands
Gradle is the default backend for local work. It reads Ghidra's jars
straight out of the installation, so there is no install-file step, and it is
the only backend that works without Maven. CI still builds and gates with
Maven, so Maven is a maintained peer, not a fallback — see CLAUDE.md's
"Build & Deploy" for the two commands that are Maven-only.
In Git Bash use a forward-slash Ghidra path; a backslash path is mangled before Gradle sees it and produces ~100 misleading "package does not exist" errors.
- Build:
./gradlew buildExtension "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC" - Quick compile:
./gradlew compileJava "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC" - Test (Python):
pytest tests/unit/ -v --no-cov - Test (Java, offline):
./gradlew test --tests 'com.xebyte.offline.*' "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC" - Test (Java, all):
./gradlew test "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC" - Preflight:
python -m tools.setup preflight --ghidra-path F:\ghidra_12.1.3_PUBLIC - Deploy:
./gradlew buildExtension "-PGHIDRA_INSTALL_DIR=F:/ghidra_12.1.3_PUBLIC"thenpython -m tools.setup deploy --ghidra-path F:\ghidra_12.1.3_PUBLIC— leaveTOOLS_SETUP_BACKENDunset for this second step, because the Gradle backend'sdeployruns no post-deploy test tier and refuses--test - Version bump:
python -m tools.setup bump-version --new X.Y.Z - Maven equivalents (peer backend):
python -m tools.setup ensure-prereqs --ghidra-path <dir>thenpython -m tools.setup build
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

