Skip to main content
Glama

Apktool MCP Server

list_smali_files

Lists Smali files in a specified APKTool project directory, allowing optional filtering by package prefix to streamline reverse engineering of Android applications.

Instructions

List smali files in a specific smali directory, optionally filtered by package prefix.

Args: project_dir: Path to the APKTool project directory smali_dir: Which smali directory to use (smali, smali_classes2, etc.) package_prefix: Optional package prefix to filter by (e.g., "com.example")

Returns: Dictionary with list of smali files

Input Schema

NameRequiredDescriptionDefault
package_prefixNo
project_dirYes
smali_dirNosmali

Input Schema (JSON Schema)

{ "properties": { "package_prefix": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Package Prefix" }, "project_dir": { "title": "Project Dir", "type": "string" }, "smali_dir": { "default": "smali", "title": "Smali Dir", "type": "string" } }, "required": [ "project_dir" ], "title": "list_smali_filesArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zinja-coder/apktool-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server