Labsco
MCP SERVER

Android MCP Toolkit for AI Agents

by Nam0101

Convert an SVG into a VectorDrawable, flag a translation that will overflow its layout, and read the screen, the logs and the ANRs off a handset — from one Android toolkit of 7 tools.

Mobile & App Store ReleaseVerified
Summary
Two jobs that normally sit outside the device toolchain arrive alongside the device tools.

The device half is deliberately consolidated: manage-logcat covers reading, crash capture, ANR checks and clearing behind one action parameter, and inject-input covers taps, text, swipes and key events either by raw command or by element. estimate-text-length-difference is the unusual one — it sets translated text against the source with a tolerancePercent defaulting to 30%, which catches an overflowing string at the point it is written rather than after someone screenshots the broken screen.

What it is

An Android toolkit that puts two build-side jobs — asset conversion and localisation length — next to device inspection over logcat, dumpsys and uiautomator.

What you get
  • SVG markup or files converted into Android VectorDrawable XML, with tint, black fill, float precision and XML tag options, returned or written straight to disk
  • Source and translated strings compared for length against a configurable tolerancePercent that defaults to 30%, so layout risk surfaces before the screenshot does
  • Logs read, crashes captured, ANRs checked and buffers cleared through a single logcat tool, filtered by package, pid, tag, priority or line count
  • The focused app and window read through dumpsys window, and the UI hierarchy captured as XML through uiautomator
  • A device screenshot saved to a local file
  • Input simulated on the device — tap, text, swipe, key events — either by command arguments or by clicking a named UI element
Requirements

A connected Android device or emulator for the logcat, dumpsys, uiautomator, screenshot and input tools; each of those takes a timeoutMs and acts on the attached device. The SVG conversion and the translation length check need neither — they work on markup, file paths and strings. No credentials.

Setup effort

One command — npx -y android-mcp-toolkit