Binary Ninja MCP Server
二进制忍者 MCP 服务器
用于 Binary Ninja 交互和自动化的模型上下文协议服务器。该服务器提供通过大型语言模型与 Binary Ninja 交互的工具。
概述
Binary Ninja MCP 服务器是一个插件和服务器实现,允许大型语言模型通过模型上下文协议 (MCP) 与 Binary Ninja 交互。它提供以下功能:
获取函数的汇编代码
获取函数的反编译代码(HLIL)
重命名函数和变量
添加评论
Related MCP server: IDA Pro MCP Server
安装
使用 uv(推荐)
使用uv时无需特殊安装。我们将使用uvx直接运行binja_mcp 。
使用 PIP
或者,您可以通过 pip 安装binja-mcp :
pip install binja-mcp安装后,您可以使用以下命令将其作为脚本运行:
python -m binja_mcp二进制忍者插件安装
克隆此存储库或将克隆的存储库链接到 Binary Ninja 的插件目录:
Linux:
~/.binaryninja/plugins/macOS:
~/Library/Application Support/Binary Ninja/plugins/Windows:
%APPDATA%\Binary Ninja\plugins\
配置
与 Claude Desktop/Cursor 一起使用
将其添加到您的claude_desktop_config.json或 Cursor MCP 服务器:
"mcpServers": {
"binja": {
"command": "uvx",
"args": [
"-n",
"mcp-server-binja"
]
}
}"mcpServers": {
"binja": {
"command": "python",
"args": [
"-m",
"mcp_server_binja"
]
}
}用法
打开 Binary Ninja 并加载二进制文件
从工具菜单或使用键盘快捷键启动 MCP 服务器
使用 Claude Desktop、Cursor 或任何您喜欢的 MCP 客户端与二进制文件进行交互
可用命令
以下命令可通过 MCP 接口使用:
binja_get_function_assembly:获取指定函数的汇编代码binja_get_function_decompiled:获取指定函数的反编译代码binja_get_global_variable:获取有关全局变量的信息binja_get_current_function_assembly:获取当前函数的汇编binja_get_current_function_decompiled:获取当前函数的反编译代码
发展
如果您正在进行本地开发,则有两种方法可以测试您的更改:
运行 MCP 检查器来测试您的更改:
npx @modelcontextprotocol/inspector uvx binja_mcp通过将以下内容添加到
claude_desktop_config.json来使用 Claude 桌面应用程序进行测试:
{
"mcpServers": {
"binja": {
"command": "uv",
"args": [
"--directory",
"/<path to mcp-server-binja>/src",
"run",
"mcp-server-binja"
]
}
}
}执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server for IDA interaction and automation. This server provides tools to read IDA database via Large Language Models.19546MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with IDA Pro for reverse engineering and binary analysis tasks.12100MIT
- AlicenseNot gradedqualityDmaintenanceA server that enables seamless integration of Binary Ninja's reverse engineering capabilities with LLM assistance, allowing AI tools like Claude to interact with binary analysis features in real-time.417GPL 3.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra's functionality, including decompiling binaries, analyzing code, and renaming methods and data.Apache 2.0
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rsprudencio/binja_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server