About zinja-coder/apktool-mcp-server
zinja-coder/apktool-mcp-server is an MCP server published by zinja-coder in the Security category: a MCP Server for APK Tool (Part of Android Reverse Engineering MCP Suites). Conduid read 16 tools from its source: analyze_project_structure, build_apk, clean_project, decode_apk, get_apktool_yml, get_manifest and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 720 stars and 77 forks, is licensed Apache-2.0, and its last commit was on 2 Jul 2026. The latest release is V3.0.2 (2 Jul 2026): Windows .bat script execution: This release resolves a bug affecting Windows users where attempting to run apktool resulted in an [WinError 193] %1 is not a valid Win32… It follows v3.0.1 (25 Apr 2026), and the 5 most recent releases go back to v1.0.0 (23 Apr 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include apktool, reverse-engineering, mobile and android.
Install
git clone https://github.com/zinja-coder/apktool-mcp-serverTools (16)
analyze_project_structureAnalyze the structure of a decoded APK project and provide comprehensive metadata.| Parameter | Type | Description |
|---|---|---|
| project_dir * | string | Path to the APKTool project directory |
build_apkBuild an APK file from a decoded APKTool project with enhanced validation.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | Build with debugging info |
| force_all | boolean | Force rebuild all files |
| output_apk | string | Optional output APK path |
| project_dir * | string | Path to the APKTool project directory |
| timeout | integer | Command timeout in seconds |
clean_projectClean a project directory to prepare for rebuilding with enhanced backup support.| Parameter | Type | Description |
|---|---|---|
| backup | boolean | Whether to create a backup of build directories before cleaning |
| project_dir * | string | Path to the APKTool project directory |
decode_apkDecode an APK file using APKTool with comprehensive validation and error handling.| Parameter | Type | Description |
|---|---|---|
| apk_path * | string | Path to the APK file to decode |
| force | boolean | Force delete destination directory if it exists |
| no_res | boolean | Do not decode resources |
| no_src | boolean | Do not decode sources |
| output_dir | string | Custom output directory (optional) |
| timeout | integer | Command timeout in seconds |
get_apktool_ymlGet apktool.yml information from a decoded APK project with validation.| Parameter | Type | Description |
|---|---|---|
| project_dir * | string | Path to APKTool project directory |
get_manifestGet the AndroidManifest.xml content from a decoded APK project with validation.| Parameter | Type | Description |
|---|---|---|
| project_dir * | string | Path to the APKTool project directory |
get_resource_fileGet content of a specific resource file with validation and metadata.| Parameter | Type | Description |
|---|---|---|
| project_dir * | string | Path to the APKTool project directory |
| resource_name * | string | Name of the resource file |
| resource_type * | string | Resource type (e.g., "layout", "drawable") |
get_smali_fileGet content of a specific smali file by class name with validation.| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Full class name (e.g., com.example.MyClass) |
| project_dir * | string | Path to the APKTool project directory |
get_workspace_infoGet information about the APKTool MCP server workspace and current projects.health_checkCheck the health status of the APKTool MCP server and APKTool installation.list_resourcesList resources with pagination support and enhanced metadata.| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of items to return (0 means use default) |
| offset | integer | Starting offset for pagination |
| project_dir * | string | Path to the APKTool project directory |
| resource_type | string | Optional resource type to filter by (e.g., "layout", "drawable") |
list_smali_directoriesList all smali directories in a project with enhanced metadata.| Parameter | Type | Description |
|---|---|---|
| project_dir * | string | Path to the APKTool project directory |
list_smali_filesList smali files with pagination support and enhanced filtering.| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of items to return (0 means use default) |
| offset | integer | Starting offset for pagination |
| package_prefix | string | Optional package prefix to filter by (e.g., "com.example") |
| project_dir * | string | Path to the APKTool project directory |
| smali_dir | string | Which smali directory to use (smali, smali_classes2, etc.) |
modify_resource_fileModify the content of a specific resource file with validation and backup support.| Parameter | Type | Description |
|---|---|---|
| create_backup | boolean | Whether to create a backup of the original file |
| new_content * | string | New content for the resource file |
| project_dir * | string | Path to the APKTool project directory |
| resource_name * | string | Name of the resource file |
| resource_type * | string | Resource type (e.g., "layout", "values") |
modify_smali_fileModify smali file content with validation and backup support.| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Full class name (e.g., com.example.MyClass) |
| create_backup | boolean | Whether to create a backup of the original file |
| new_content * | string | New content for the smali file |
| project_dir * | string | Path to the APKTool project directory |
search_in_filesSearch for patterns in files with pagination and enhanced filtering.| Parameter | Type | Description |
|---|---|---|
| case_sensitive | boolean | Whether search should be case sensitive |
| count | integer | Number of items to return (0 means use default) |
| file_extensions | array | List of file extensions to search in |
| max_results | integer | Maximum total results to collect before pagination |
| offset | integer | Starting offset for pagination |
| project_dir * | string | Path to the APKTool project directory |
| search_pattern * | string | Text pattern to search for |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 1 source file and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPapktool_mcp_server.py:1864, apktool_mcp_server.py:1861
- Starts other programs
- 1 callapktool_mcp_server.py:235
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 8 callsapktool_mcp_server.py:48, apktool_mcp_server.py:865, apktool_mcp_server.py:868
- Lockfile
- uv.lock
Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.4K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README