Binary Ninja MCP
๐ ๐ ๐ ๐ช ๐ง - A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates [Binary Ninja](https://binary.ninja) with your favorite MCP client. It enables you to automate the process of performing binary analysis and reverse engineering.
What is Binary Ninja MCP?
Binary Ninja MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ ๐ ๐ ๐ช ๐ง - a binary ninja plugin, mcp server, and bridge that seamlessly integrates [binary ninja](https://binary.ninja) with your favorite mcp client. it enables you to automate the process of ...
๐ ๐ ๐ ๐ช ๐ง - A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates [Binary Ninja](https://binary.ninja) with your favorite MCP client. It enables you to automate the process of performing binary analysis and reverse engineering.
This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ๐ ๐ ๐ ๐ช ๐ง - A Binary Ninja plugin, MCP server, and bridge th
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx binary-ninja-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Binary Ninja MCP
Binary Ninja MCP is a plugin, MCP server, and bridge that integrates the Binary Ninja reverse engineering platform with AI assistants, enabling natural language control of binary analysis workflows. It allows AI agents to decompile functions, read disassembly, navigate cross-references, manage type information, rename symbols, patch bytes, and add comments โ all through an MCP-compatible client such as Claude or Cursor. Security researchers and CTF players use it to accelerate reverse engineering by delegating repetitive analysis tasks to AI while retaining full control over the Binary Ninja session.
Prerequisites
- Binary Ninja installed with a valid license (binary.ninja)
- The binary-ninja-mcp plugin installed via Binary Ninja's Plugin Manager (Plugins > Manage Plugins) or manually copied to the plugins folder
- Node.js 18+ and npm/npx for the recommended npm-based MCP bridge
- A binary file open in Binary Ninja before connecting the MCP client
- An MCP-compatible client such as Claude Desktop, Cursor, Cline, Windsurf, or Claude Code
Install the Binary Ninja plugin
Open Binary Ninja and go to Plugins > Manage Plugins. Search for 'binary-ninja-mcp' and install it. Alternatively, manually copy the plugin files to the Binary Ninja user plugins folder.
# Plugin Manager path: Plugins > Manage Plugins > Search 'binary-ninja-mcp'
# Or manually copy to:
# macOS: ~/Library/Application Support/Binary Ninja/plugins/
# Windows: %APPDATA%\Binary Ninja\plugins\
# Linux: ~/.binaryninja/plugins/Open a binary and activate the MCP bridge
Open the binary file you want to analyze in Binary Ninja. Once open, click the activation button at the bottom-left corner of the Binary Ninja window to start the local MCP bridge server. It listens on localhost:9009 by default.
Configure your MCP client using the npm bridge
Add binary-ninja-mcp to your MCP client configuration using the npx command. Specify --host and --port to match the bridge server started by the plugin.
{
"mcpServers": {
"binary-ninja-mcp": {
"command": "npx",
"args": ["-y", "binary-ninja-mcp", "--host", "localhost", "--port", "9009"]
}
}
}Restart your MCP client
Save the configuration and restart Claude Desktop, Cursor, or your other MCP client. The AI should now be able to call Binary Ninja analysis functions on the open binary.
Verify the connection by asking for binary info
Ask your AI assistant to list the functions or entry points in the currently open binary. A successful response confirms the MCP bridge is communicating with Binary Ninja.
Binary Ninja MCP Examples
Client configuration
claude_desktop_config.json configuration for binary-ninja-mcp using the npm bridge connecting to the local Binary Ninja plugin.
{
"mcpServers": {
"binary-ninja-mcp": {
"command": "npx",
"args": ["-y", "binary-ninja-mcp", "--host", "localhost", "--port", "9009"]
}
}
}Prompts to try
Example reverse engineering tasks you can delegate to your AI assistant via the Binary Ninja MCP server.
- "Decompile the main function and explain what it does"
- "List all strings in this binary that look like URLs or IP addresses"
- "Rename all functions and variables in sub_401234 to descriptive names based on their behavior"
- "Analyze this binary from its entry point, follow function calls, and tell me if it looks malicious"
- "Find all cross-references to the strcmp function and analyze what strings are being compared"
- "Add comments to the decompiled output of the validate_license function explaining each block"Troubleshooting Binary Ninja MCP
MCP client cannot connect to the bridge on localhost:9009
Ensure you have clicked the activation button in Binary Ninja's bottom-left corner to start the bridge server. If Binary Ninja is not running or no binary is open, the bridge will not start. Verify the port is not blocked by a firewall or already in use by another process.
Plugin does not appear in Binary Ninja's Plugin Manager
Check that your Binary Ninja is up to date. Try manually installing by copying the plugin files to the user plugins directory. On macOS: ~/Library/Application Support/Binary Ninja/plugins/. Restart Binary Ninja after copying. Check the Binary Ninja log (View > Log) for plugin load errors.
npx binary-ninja-mcp fails or returns package not found
Try specifying the full package name: 'npx -y binary-ninja-mcp'. If the npm package is not available, use the Python bridge alternative: configure the MCP server to run the binja_mcp_bridge.py script directly using the Python interpreter in the plugin's virtual environment.
Frequently Asked Questions about Binary Ninja MCP
What is Binary Ninja MCP?
Binary Ninja MCP is a Model Context Protocol (MCP) server that ๐ ๐ ๐ ๐ช ๐ง - a binary ninja plugin, mcp server, and bridge that seamlessly integrates [binary ninja](https://binary.ninja) with your favorite mcp client. it enables you to automate the process of performing binary analysis and reverse engineering. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Binary Ninja MCP?
Follow the installation instructions on the Binary Ninja MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Binary Ninja MCP?
Binary Ninja MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Binary Ninja MCP free to use?
Yes, Binary Ninja MCP is open source and available under the GPL 3.0 license. You can use it freely in both personal and commercial projects.
Binary Ninja MCP Alternatives โ Similar Security Servers
Looking for alternatives to Binary Ninja MCP? Here are other popular security servers you can use with Claude, Cursor, and VS Code.
Casdoor
โ 13.6kAn open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
ghidraMCP
โ 9.0kAn Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through
HexStrike AI
โ 8.9kHexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b
IDA Pro MCP
โ 8.7kEnables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.
Anthropic Cybersecurity Skills
โ 6.6k754 structured cybersecurity skills for AI agents ยท Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF ยท agentskills.io standard ยท Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform
Hooker
โ 5.1k๐ฅ๐ฅ hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u
Browse More Security MCP Servers
Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Binary Ninja MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Binary Ninja MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.