Active Socket based MCP Server for Ghidra
GhidraMCP MCP server exists for a simple reason — assistants are far more useful when they can act on GhidraMCP directly instead of describing what you should do. Active Socket based MCP Server for Ghidra.
A Ghidra extension that exposes 70 reverse-engineering tools to AI assistants through the Model Context Protocol (MCP). Open a binary in Ghidra, enable the plugin, and let Claude (or any MCP client) decompile functions, rename symbols, annotate code, search for vulnerabilities, and more.
Once GhidraMCP is connected, these are the calls the assistant has available:
Prerequisites — The Prerequisites tool exposed by this serverEnable — 1. Open a project and a program (binary) 2. File > Configure > GhidraMCP -- check MCPServerPlugin 3. The plugin auto-starts the TCP serverYou will need 2 environment variables: GHIDRA_API_KEY, GHIDRA_INSTALL_DIR. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. GhidraMCP's toolset — Prerequisites, Enable — is a fair guide to whether it matches your workflow. It is maintained by 13bm; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| Enable | 1. Open a project and a program (binary) 2. **File > Configure > GhidraMCP -- check MCPServerPlugin** 3. The plugin auto-starts the TCP server (default localhost:8765) and launches the bridge |
{
"mcpServers": {
"ghidra": {
"command": "/path/to/mcp_bridge",
"args": ["--host", "localhost", "--port", "8765"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| GHIDRA_API_KEY | Credential the server authenticates with. | Yes |
| GHIDRA_INSTALL_DIR | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.