DexKit MCP Server 2.2.0
镜像上游 DexKit 2.2.0 自动构建。
本仓库只负责 MCP 服务端封装与多平台 native 库打包,所有 DexKit 功能特性由上游决定。
下载
| 平台 | 文件 |
|---|---|
| Windows x86_64 | dexkit-mcp-server-2.2.0-windows-x86_64.jar |
| Linux x86_64 | dexkit-mcp-server-2.2.0-linux-x86_64.jar |
| Linux arm64 | dexkit-mcp-server-2.2.0-linux-arm64.jar |
快速开始
选择对应平台的 jar,配置到 MCP 客户端的 mcp.json:
{
"mcpServers": {
"dexkit": {
"command": "java",
"args": ["-jar", "/path/to/dexkit-mcp-server-2.2.0-<platform>.jar"],
"env": {}
}
}
}构建说明
- 三平台并行构建:Windows x86_64 / Linux x86_64 / Linux arm64
- Windows 使用 LLVM-MinGW 交叉编译工具链 + 静态 zlib 链接
- Linux 使用系统 cmake + ninja + zlib1g-dev
- native 库打包在 jar 的
/native/<os>-<arch>/路径,运行时由 NativeLoader 释放到临时目录加载
上游 DexKit 2.2.0 发布说明
Changelog
Added
- Added composite matcher syntax for
ClassMatcher,MethodMatcher, andFieldMatcher.- Supports
allOf,anyOf,noneOf, andnotfor more expressive query composition.
- Supports
Changed
- Improved overall query performance.
- Optimized native query execution and matcher hot paths.
- Improved multi-threaded host-side usage.
- Allows concurrent access to the same
DexKitBridge. - Added shared scheduling and concurrency limiting for concurrent queries.
- Allows concurrent access to the same
- Reduced native
.sosize.
Fixed
- Fixed incorrect
findMethodbehavior for methods without an actual dex definition.findMethodnow returns only methods that are actually defined in the loaded dex.- Previously, if method
AinvokedxxxView.setVisibility(I)V,findMethod { matcher { declaredClass = xxxView; name = "setVisibility" } }could incorrectly match that invoke target even though the method was not actually defined inxxxViewor in the current dex. - Such invoke targets are no longer returned as regular
findMethodresults, but can still be used asaddInvoke(...)conditions and may still appear inMethodData.invokes.