关于 Jebmcp
Jebmcp 是面向 JEB Pro 的 MCP 服务与插件,用于在 Cline、Cursor、RooCode 等客户端中配合 JEB 进行逆向分析。它面向逆向工程与安全分析人员。
主要功能
- 01在 JEB 中启动本地 MCP 服务
- 02与 JEB 脚本集成
- 03支持 Cline、Cursor 和 RooCode 配置
- 04可用于 APK 逆向分析
适用场景
- 01在 AI 客户端中分析 APK 中类与方法的功能
- 02根据分析结果批量重命名方法
- 03辅助漏洞分析流程
MCP 相关
该项目是 MCP 服务,运行在 JEB 中并监听本地地址 http://127.0.0.1:16161,供 MCP 客户端连接。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
暂未收录安装方式
我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
来自项目 READMEA quick-and-dirty MCP server&Plugin for JEB Pro. Tested on Cline & Cursor & RooCode.
Reference: https://github.com/mrexodia/ida-pro-mcp
Installation
Requirements
Python >= 3.11
uv: https://docs.astral.sh/uv/getting-started/installation/
Usage
- COPY the src/jeb_mcp/MCP.py to $JEB_INSTALLATION_DIR/scripts. Make sure the jython file is also present
- Choose and Start the script in JEB GUI (
File->Scripts->Scripts selector...), check for desired output:
[MCP] Plugin loaded
[MCP] Plugin running
[MCP] Server started at http://127.0.0.1:16161
- Add this MCP server's config in cline/cursor/etc, as in the sample
安装
要求:
安装 python3.11及以上版本
安装 uv https://docs.astral.sh/uv/getting-started/installation/
RooCode 使用方法:
- 使用 vscode 打开该工具,此时目录结构如下:
.
├── README.md
├── jeb-mcp
│ ├── pyproject.toml
│ ├── src
│ │ └── jeb_mcp
│ │ ├── MCP.py
│ │ ├── server.py
│ │ └── server_generated.py
│ └── uv.lock
└── sample_cline_mcp_settings.json
- 点击左侧活动栏 rooCode 图标,然后继续点击 RooCode 对话框右上角
...,最后点击编辑项目 MCP 按钮, 会在当前目录下产生一个.roo目录,其中包含mcp.json文件。

- 修改
mcp.json文件为下列内容:
{
"mcpServers": {
"jeb": {
"command": "uv",
"args": ["--directory", "jeb-mcp/src/jeb_mcp", "run", "server.py"],
"timeout": 1800,
"disabled": false,
"autoApprove": [
"ping",
"check_connection",
"get_manifest",
"get_all_exported_activities",
"get_exported_activities_count",
"get_an_exported_activity_by_index",
"get_class_decompiled_code",
"get_method_decompiled_code",
"get_method_overrides",
"get_method_callers",
"get_superclass",
"get_interfaces",
"get_class_methods",
"get_class_fields",
"rename_class_name",
"rename_method_name",
"rename_field_name"
],
"alwaysAllow": [
"check_connection",
"get_class_decompiled_code",
"get_class_fields",
"ping",
"get_manifest",
"get_all_exported_activities",
"get_exported_activities_count",
"get_an_exported_activity_by_index",
"get_method_decompiled_code",
"get_method_callers",
"get_method_overrides",
"get_superclass",
"get_interfaces",
"get_class_methods",
"rename_class_name",
"rename_method_name",
"rename_class_field"
]
}
}
}
此时可以发现 mcp 服务器列表中已经存在 jeb mcp 服务器了。
- 打开 jeb 菜单栏
File->Scripts->Scripts selector...选中当前目录下jeb-mcp/src/jeb_mcp/MCP.py文件, 运行脚本,此时可以在 jeb 的 logger 窗口中看到如下输出:
[MCP] Plugin loaded
[MCP] Plugin running
[MCP] Server started at http://127.0.0.1:16161
- 在 RooCode 对话框中输入下列相应的任务即可,如:
1. 连接MCP JEB
2. 分析D:\xxx.apk 应用的 Lnet/xxx/MainActivity; 类的功能
3. 根据功能重命名所有方法名小于3个字符的名称
4. 如果调用了其他类的方法,分析相应的类功能,并重命名方法名小于3个字符的名称
5. 输出分析过程
Demo
DEMO for using JEB-MCP to analyze vulnerabilities in APK
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。
