Skip to content
Back to search

jebmcp

A quick-and-dirty MCP server&Plugin for JEB Pro. Tested on Cline & Cursor & RooCode.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/flankerhqd--jebmcp/badge.svg)](/listings/flankerhqd--jebmcp)

HTML

<a href="/listings/flankerhqd--jebmcp"><img src="/api/listings/flankerhqd--jebmcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 131 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. [![MseeP.ai Security Assessment Badge](https://mseep.net/pr/flankerhqd-jebmcp-badge.png)](https://mseep.ai/app/flankerhqd-jebmcp)
  2. A quick-and-dirty MCP server&Plugin for JEB Pro.
  3. Tested on Cline & Cursor & RooCode.
  4. Reference: https://github.com/mrexodia/ida-pro-mcp
  5. # Installation
  6. ## Requirements
  7. ```
  8. Python >= 3.11
  9. uv: https://docs.astral.sh/uv/getting-started/installation/
  10. ```
  11. ## Usage
  12. - COPY the src/jeb_mcp/MCP.py to $JEB_INSTALLATION_DIR/scripts. Make sure the jython file is also present
  13. - Choose and Start the script in JEB GUI (`File->Scripts->Scripts selector...`), check for desired output:
  14. ```bash
  15. [MCP] Plugin loaded
  16. [MCP] Plugin running
  17. [MCP] Server started at http://127.0.0.1:16161
  18. ```
  19. - Add this MCP server's config in cline/cursor/etc, as in the sample
  20. # 安装
  21. 要求:
  22. ```
  23. 安装 python3.11及以上版本
  24. 安装 uv https://docs.astral.sh/uv/getting-started/installation/
  25. ```
  26. # RooCode 使用方法:
  27. 1. 使用 vscode 打开该工具,此时目录结构如下:
  28. ```bash
  29. .
  30. ├── README.md
  31. ├── jeb-mcp
  32. │   ├── pyproject.toml
  33. │   ├── src
  34. │   │   └── jeb_mcp
  35. │   │   ├── MCP.py
  36. │   │   ├── server.py
  37. │   │   └── server_generated.py
  38. │   └── uv.lock
  39. └── sample_cline_mcp_settings.json
  40. ```
  41. 2. 点击左侧活动栏 rooCode 图标,然后继续点击 RooCode 对话框右上角 `...`,最后点击编辑项目 MCP 按钮,
  42. 会在当前目录下产生一个 `.roo` 目录,其中包含 `mcp.json` 文件。
  43. ![](assets/2025-08-26-10-03-53.png)
  44. 3. 修改 `mcp.json` 文件为下列内容:
  45. ```json
  46. {
  47. "mcpServers": {
  48. "jeb": {
  49. "command": "uv",
  50. "args": ["--directory", "jeb-mcp/src/jeb_mcp", "run", "server.py"],
  51. "timeout": 1800,
  52. "disabled": false,
  53. "autoApprove": [
  54. "ping",
  55. "check_connection",
  56. "get_manifest",
  57. "get_all_exported_activities",
  58. "get_exported_activities_count",
  59. "get_an_exported_activity_by_index",
  60. "get_class_decompiled_code",
  61. "get_method_decompiled_code",
  62. "get_method_overrides",
  63. "get_method_callers",
  64. "get_superclass",
  65. "get_interfaces",
  66. "get_class_methods",
  67. "get_class_fields",
  68. "rename_class_name",
  69. "rename_method_name",
  70. "rename_field_name"
  71. ],
  72. "alwaysAllow": [
  73. "check_connection",
  74. "get_class_decompiled_code",
  75. "get_class_fields",
  76. "ping",
  77. "get_manifest",
  78. "get_all_exported_activities",
  79. "get_exported_activities_count",
  80. "get_an_exported_activity_by_index",
  81. "get_method_decompiled_code",
  82. "get_method_callers",
  83. "get_method_overrides",
  84. "get_superclass",
  85. "get_interfaces",
  86. "get_class_methods",
  87. "rename_class_name",
  88. "rename_method_name",
  89. "rename_class_field"
  90. ]
  91. }
  92. }
  93. }
  94. ```
  95. 此时可以发现 mcp 服务器列表中已经存在 jeb mcp 服务器了。
  96. 4. 打开 jeb 菜单栏 `File->Scripts->Scripts selector...` 选中当前目录下 `jeb-mcp/src/jeb_mcp/MCP.py` 文件,
  97. 运行脚本,此时可以在 jeb 的 logger 窗口中看到如下输出:
  98. ```bash
  99. [MCP] Plugin loaded
  100. [MCP] Plugin running
  101. [MCP] Server started at http://127.0.0.1:16161
  102. ```
  103. 5. 在 RooCode 对话框中输入下列相应的任务即可,如:
  104. ```bash
  105. 1. 连接MCP JEB
  106. 2. 分析D:\xxx.apk 应用的 Lnet/xxx/MainActivity; 类的功能
  107. 3. 根据功能重命名所有方法名小于3个字符的名称
  108. 4. 如果调用了其他类的方法,分析相应的类功能,并重命名方法名小于3个字符的名称
  109. 5. 输出分析过程
  110. ```
  111. # Demo
  112. ## DEMO for using JEB-MCP to analyze vulnerabilities in APK
  113. ![jebmcp](https://github.com/user-attachments/assets/28ea1c0e-76a7-4ed2-84b6-17645f671156)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.