Binary Ninja MCP
MCP server by fosdickio Verified · npm:binary-ninja-mcp
Binary Ninja MCP is a Binary Ninja plugin that runs an MCP server so AI assistants can work with the open binary. It is for reverse engineers and security analysts who use MCP clients.
Install Binary Ninja MCP
Built from the published package, never by AI.
claude mcp add binary-ninja-mcp -- npx -y binary-ninja-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"binary-ninja-mcp": {
"args": [
"-y",
"binary-ninja-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"binary-ninja-mcp": {
"args": [
"-y",
"binary-ninja-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"binary-ninja-mcp": {
"args": [
"-y",
"binary-ninja-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add binary-ninja-mcp -- npx -y binary-ninja-mcp{
"mcpServers": {
"binary-ninja-mcp": {
"args": [
"-y",
"binary-ninja-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add binary-ninja-mcp npx -y binary-ninja-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the binary-ninja-mcp block.
About
Binary Ninja MCP is a Binary Ninja plugin that provides an MCP server. The server exposes Binary Ninja's capabilities through HTTP endpoints, and a separate bridge component connects an MCP client to it. The tool list covers decompiling functions, retrieving IL in HLIL, MLIL or LLIL, listing cross references and callers, and managing the binaries open in Binary Ninja.
The project works with any MCP client. The README lists auto-setup support for Cline, Roo Code, Claude Desktop, Cursor, Windsurf, Claude Code and LM Studio. It can open multiple binaries and switch the active target. The README includes example prompts for CTF challenges and malware analysis, so it is aimed at reverse engineers and security analysts who want an AI assistant to work inside Binary Ninja.
Written from the project's README and checked against it.
Tools it gives your assistant
decompile_functionDecompile a specific function by name and return HLIL-like code with addresses.get_ilGet IL for a function in hlil, mlil, or llil, with SSA supported for MLIL and LLIL.fetch_disassemblyGet the assembly representation of a function by name or address.get_xrefs_toGet all cross references, code and data, to an address.get_callersList callers plus call sites for one or more function identifiers.get_calleesList callees plus call sites for one or more function identifiers.get_entry_pointsList entry point(s) of the loaded binary.declare_c_typeCreate or update a local type from a single C declaration.list_binariesList managed or open binaries with ids and an active flag.select_binarySelect the active binary by id or filename.
What you need
- Binary Ninja
- Python 3.12+
- An MCP client
Try asking
- Decompile the main function in the open binary and explain what it does.
- List all callers and callees of this function in Binary Ninja.
- Show every cross reference to this address and summarize how it is used.
Good to know
- Requires Binary Ninja to be running with a binary loaded.
- The Python bridge setup is described in the README as legacy.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Binary Ninja MCP
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Binary Ninja MCP: common questions
Which MCP clients does Binary Ninja MCP support?
Any client that implements the MCP protocol can be used. The README lists auto-setup support for Cline, Roo Code, Claude Desktop, Cursor, Windsurf, Claude Code and LM Studio.
Can it work with more than one binary at a time?
Yes. The source says you can open multiple binaries and switch the active target automatically. The select_binary and list_binaries tools handle this.
What kinds of analysis is it used for?
The README gives examples for solving CTF reversing challenges and for malware analysis, where the assistant renames functions, adds comments and writes a report.
How do I install Binary Ninja MCP?
In Claude Code run claude mcp add binary-ninja-mcp -- npx -y binary-ninja-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Binary Ninja MCP the official server?
Binary Ninja MCP is published by npm:binary-ninja-mcp from its verified domain in the official MCP Registry.
Is Binary Ninja MCP free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is Binary Ninja MCP safe to use?
It scores 82 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Binary Ninja MCP?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Binary Ninja MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
