Skip to content

2.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Jul 14:52

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, and FieldMatcher.
    • Supports allOf, anyOf, noneOf, and not for more expressive query composition.

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.
  • Reduced native .so size.

Fixed

  • Fixed incorrect findMethod behavior for methods without an actual dex definition.
    • findMethod now returns only methods that are actually defined in the loaded dex.
    • Previously, if method A invoked xxxView.setVisibility(I)V, findMethod { matcher { declaredClass = xxxView; name = "setVisibility" } } could incorrectly match that invoke target even though the method was not actually defined in xxxView or in the current dex.
    • Such invoke targets are no longer returned as regular findMethod results, but can still be used as addInvoke(...) conditions and may still appear in MethodData.invokes.