Apktool MCP Server

sign_apk

Sign APK files using specified keystores or default debug keys to prepare them for installation, with customizable output paths and key details.

Instructions

Sign an APK file.

Args: apk_path: Path to the unsigned APK file output_path: Optional path for the signed APK keystore_path: Path to keystore file (uses debug.keystore if not specified) keystore_pass: Keystore password (uses "android" if not specified) key_alias: Key alias (uses "androiddebugkey" if not specified) key_pass: Key password (uses keystore_pass if not specified)

Returns: Dictionary with operation results

Input Schema

NameRequiredDescriptionDefault
apk_pathYes
key_aliasNo
key_passNo
keystore_passNo
keystore_pathNo
output_pathNo

Input Schema (JSON Schema)

{ "properties": { "apk_path": { "title": "Apk Path", "type": "string" }, "key_alias": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Key Alias" }, "key_pass": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Key Pass" }, "keystore_pass": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Keystore Pass" }, "keystore_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Keystore Path" }, "output_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Output Path" } }, "required": [ "apk_path" ], "title": "sign_apkArguments", "type": "object" }
ID: jtugu4w3w9