// MCP
apksonar-mcp
apksonar-mcp plugs the scanner into Claude Desktop, Cursor and any other Model Context Protocol client. The agent uploads the build, waits for the result and quotes findings on its own.
Package: npmjs.com/package/apksonar · sources: github.com/matestani/apksonar-tools
CONFIG
Wiring it up
The config starts the server via npx, no file download needed:
# claude_desktop_config.json (Claude, Cursor and other MCP clients)
{
"mcpServers": {
"apksonar": {
"command": "npx",
"args": ["-y", "apksonar-mcp"],
"env": {
"APKSONAR_URL": "https://apksonar.com",
"APKSONAR_KEY_ID": "apk_mcp_…",
"APKSONAR_SECRET": "…"
}
}
}
}TOOLS
What the agent can do
Four tools the agent sees:
scan_apk # upload a package, optional --wait scan_status # poll a running scan by id report_link # public URL of a finished report list_demos # sample reports to show the format
SECURITY
Keys
The key lives in the config env; every request is signed with HMAC-SHA256 and a one-time nonce. Give each agent its own key: revoking it in the account takes one click and never touches CI.