appknox-mcp
v1.0.2MCP server for the Appknox mobile app security platform
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_file_info
Fetch a file's identity and scan summary (package_name, version, platform, risk counts). Use this to identify the app behind a ``file_id`` and, for post-fix verification, to confirm a re-uploaded build is the same app — matching ``package_name`` and ``platform`` — before comparing analyses across the two files. Fields not relevant to triage are dropped from the response.
| Parameter | Type | Description |
|---|---|---|
file_id * | integer |
list_analyses
List all vulnerability analyses for a file (one row per analysis). This is the generic analyses list (the `/files/{id}/analyses` endpoint). For KnoxIQ-enabled orgs it already carries each analysis's highest KnoxIQ `exploitability` — every filter below works off that single call, no per-analysis fetches. Always sorted exploitability-first, severity as tiebreak (KnoxIQ's signal for what to fix first) — present rows in this order, don't re-sort by id. `min_risk` filters on `computed_risk` (-1 Unknown, 0 Passed, 1 Low, 2 Medium, 3 High, 4 Critical). `min_exploitability` filters on `exploita…
| Parameter | Type | Description |
|---|---|---|
file_id * | integer | |
include_exploitability | boolean | |
min_exploitability | ||
min_risk |
knoxiq_prepare_fix
Gather everything needed to fix ONE vulnerability, in a single call. This is the portable equivalent of the ``/appknox:fix`` slash command for non-Claude clients: give it the ``file_id`` and the ``analysis_id`` the user wants fixed and it returns that finding's full fix payload — ``developer_prompt`` (the primary instruction), ``remediation``, ``poc`` (whose ``verification_steps`` you run after the fix to confirm it), and ``exploitability``. Apply the fix, then run the PoC steps to confirm it before rebuilding.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | |
file_id * | integer |
knoxiq_get_fix_plan
Fetch full KnoxIQ fix data (developer_prompt, remediation, poc) for chosen analyses. Call this only for the analysis IDs a user has confirmed they want fixed - it fetches the full finding payload, which is heavier than `list_analyses`.
| Parameter | Type | Description |
|---|---|---|
analysis_ids * | array | |
file_id * | integer |
resolve_latest_file
Resolve an app identifier (+ platform) to its Appknox project and latest file_id. Pass the app's identifier (Android ``applicationId`` or iOS bundle id) and the ``platform`` you detected it for (``"android"`` or ``"ios"``). Platform is what disambiguates when an Android and an iOS project share the same identifier — determine it from the repo (which file you read the identifier from), do not let the API guess. Returns the matching project and its most recent file. If several projects still share the identifier, the one with the newest scanned build is used. Raises ``AppknoxAPIError`` on no…
| Parameter | Type | Description |
|---|---|---|
package_name * | string | |
platform |
knoxiq_get_scan_status
Report whether a build's scan and KnoxIQ analysis are ready, with a clear message. Call this right after resolving a ``file_id`` and before listing findings: it tells you (and the user) whether KnoxIQ findings are actually available yet, or why they are not — scan still running, KnoxIQ not enabled for the organization, the build predates KnoxIQ, etc. ``ready`` is true only when findings are available; when it is false, show ``message`` to the user and do NOT present an empty findings list as "no vulnerabilities found". Also used by ``knoxiq_verify_fixes`` to avoid declaring fixes confirmed…
| Parameter | Type | Description |
|---|---|---|
file_id * | integer |
upload_binary
Upload an app binary (APK/IPA/etc.) to the Appknox VAPT platform and start a scan. Give the local path to a built binary. This runs the full upload flow — request a presigned URL, PUT the file, then trigger validation and the scan. When ``wait_for_file_id`` is true (default) it polls until Appknox has validated the build and assigned it a ``file_id`` (usually seconds), which is what later steps need. The scan and KnoxIQ analysis then run asynchronously — poll ``knoxiq_get_scan_status(file_id)`` or run ``knoxiq_verify_fixes`` to wait. Returns ``{file_id, submission_id, file_name}`` (``file…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
timeout_seconds | integer | |
wait_for_file_id | boolean |
knoxiq_verify_fixes
Confirm fixes landed by checking a re-scanned build for the vulnerabilities you fixed. Run this after re-uploading a fixed build (see ``upload_binary``) once its scan completes. Pass ``new_file_id`` (the re-scanned build); by default it compares against the **previous build** in the same project. To scope it instead, pass EITHER the ``vulnerability_ids`` you fixed OR an explicit ``old_file_id``. A vulnerability counts as resolved when it is no longer open (risk >= ``min_risk``) in the new build; findings are matched across builds by ``vulnerability_id``. If the new build's scan/KnoxIQ has not…
| Parameter | Type | Description |
|---|---|---|
new_file_id * | integer | |
min_risk | integer | |
old_file_id | ||
vulnerability_ids |