developer-tools

Android MCP Toolkit

by Nam0101

Supercharge Android Studio workflows with AI-driven SVG conversion, live logcat, and advanced mobile dev tools for smart

Supercharge AI-driven Android workflows with fast SVG conversion and live logcat insights. Android MCP Toolkit bridges modern AI agents to native Android tools, enabling instant SVG-to-VectorDrawable transformation, filtered crash diagnostics, and automated translation length checks—all through a script-friendly server. With high extensibility, it’s ideal for streamlining asset management, debugging, and localization-flagging, making native Android development smarter and more accessible for both humans and AI agents.

github stars

12

Direct ADB integration for live device accessFast cached SVG conversionAI-friendly structured outputs

best for

  • / Android developers automating asset workflows
  • / Debugging Android apps with AI assistance
  • / UI testing and automated interaction scripting
  • / Localization teams checking layout compatibility

capabilities

  • / Convert SVGs to Android VectorDrawable XML
  • / Monitor and filter Android device logs in real-time
  • / Take screenshots of Android devices
  • / Simulate user interactions like taps and swipes
  • / Check translation text length differences
  • / Inspect current app activity and UI hierarchy

what it does

Connects AI agents to Android development tools for asset conversion, debugging, and testing. Converts SVGs to VectorDrawables and provides live access to Android device diagnostics.

about

Android MCP Toolkit is a community-built MCP server published by Nam0101 that provides AI assistants with tools and capabilities via the Model Context Protocol. Supercharge Android Studio workflows with AI-driven SVG conversion, live logcat, and advanced mobile dev tools for smart It is categorized under developer tools. This server exposes 7 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install Android MCP Toolkit in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Android MCP Toolkit is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Android MCP Toolkit for AI Agents

Small MCP server with three tools:

  • Fast SVG → Android VectorDrawable conversion (cached, file or inline).
  • adb logcat reader with package/pid/tag filters for quick crash triage.
  • Translation length difference estimator to flag risky length deltas before layout breaks.

Why this exists

The Mission: Bringing Native Android to the AI Agent Era

While the AI ecosystem flourishes with web-first tools, Android development often feels left behind. This MCP server is my answer to that gap—a dedicated bridge connecting AI Agents directly to the Android toolchain.

⚡ Zero-Friction Asset Conversion: Convert SVGs to VectorDrawables instantly without the overhead of launching Android Studio.

🔍 Direct Diagnostic Access: Empower agents to pull, filter, and analyze adb logcat streams (by package, PID, or tag) in real-time.

🤖 Agent-Native Architecture: Deliver structured, scriptable outputs that LLMs can parse and act upon efficiently.

🚀 Built for Extensibility: A solid foundation designed to grow, paving the way for future utilities like bitmap helpers and asset validation.

Pairing ideas

  • Figma MCP: grab SVGs from designs, feed to convert-svg-to-android-drawable to get XML for Android resources.
  • Debugging: while running the app, call read-adb-logcat with package name or tag to capture crashes and filtered logs without leaving the MCP client.

Previews

SVG to VectorDrawable

  • Figma request → SVG extraction
    Figma request via MCP
  • Flag conversion preview (single)
    Flag conversion preview
  • Batch flag review (side-by-side)
    Batch flag review
  • Batch run via MCP (console)
    Batch run via MCP

ADB logcat tool

  • Crash capture prompt (inputs + filters)
    Crash logcat prompt
  • Response preview (summarized logcat)
    Response gap prompt

Current tools

  • convert-svg-to-android-drawable

    • Inputs: svg (inline) or svgPath (file path). Optional: outputPath, floatPrecision (default 2), fillBlack (default false), xmlTag (default false), tint, cache (default true).
    • Output: VectorDrawable XML text; also writes to disk when outputPath is provided.
    • Performance: LRU cache (32 entries) keyed by SVG + options plus fast reuse in-session.
    • Converter: vendored fork in vendor/svg2vectordrawable with fixes for rgb()/rgba(), hsl()/hsla(), and named colors. Upstream license: vendor/svg2vectordrawable/LICENSE (MIT).
  • manage-logcat

    • Inputs:
      • action: read (default), crash, anr, or clear.
      • packageName: Optional. Resolves PID via adb shell pidof.
      • pid: Optional. Explicit PID.
      • tag: Optional. Filter by tag (e.g. MyApp).
      • priority: V, D, I, W, E, F, S (default V).
      • maxLines: Tail count (default 200, max 2000).
      • timeoutMs: Default 5000.
    • Behavior:
      • read: Fetches logcat tail.
      • crash: Fetches logcat -b crash.
      • anr: Fetches recent ActivityManager ANR logs + tail of /data/anr/traces.txt.
      • clear: clears logcat buffers.
  • get-current-activity

    • Inputs: timeoutMs (default 5000, max 15000).
    • Behavior: Inspects dumpsys window to find the currently focused app/window. Useful to verify state.
  • dump-ui-hierarchy

    • Inputs: timeoutMs (default 10000).
    • Behavior: Captures current UI hierarchy as XML via uiautomator.
  • take-screenshot

    • Inputs: outputPath (required), timeoutMs.
    • Behavior: Saves device screenshot to local file.
  • inject-input

    • Inputs: command (tap, text, swipe, keyevent, back, home), args (array), timeoutMs.
    • Optional: elementId or elementText (finds element center and taps it).
    • Behavior: Simulates user interaction suitable for testing flows.
  • estimate-text-length-difference

    • Inputs: sourceText (original), translatedText (to compare), tolerancePercent (default 30, max 500).
    • Behavior: Measures grapheme length of both strings, computes percent change, and reports whether it exceeds the tolerance (useful to catch translation length blowups that could break layouts).

Roadmap (planned)

  • Additional MCP tools for Android assets (e.g., batch conversions, validations, optimizers).
  • Optional resource prompts for common Android drawables/templates.

Quick start

  • npm install
  • npm run build
  • node dist/index.js (stdio MCP server)

Run via npx

  • Global: npx android-mcp-toolkit

Use in Cursor (MCP config)

Add to your Cursor settings JSON:

{
  "mcpServers": {
    "android-mcp-toolkit": {
      "command": "npx",
      "args": [
        "-y",
        "android-mcp-toolkit"
      ]
    }
  }
}

The npx call downloads the published package; no local path required.

Quick install via Cursor deep link:

  • cursor://anysphere.cursor-deeplink/mcp/install?name=android-mcp-toolkit&config=eyJjb21tYW5kIjoibnB4IC15IGFuZHJvaWQtbWNwLXRvb2xraXQifQ%3D%3D

Examples

  • Input SVG: sample_svg.svg
  • Output VectorDrawable: examples/sample_svg.xml

Notes

  • Transport: stdio via @modelcontextprotocol/sdk.
  • Base deps kept minimal; everything needed to convert SVGs is vendored/included.

Contact

FAQ

What is the Android MCP Toolkit MCP server?
Android MCP Toolkit is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Android MCP Toolkit?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Android MCP Toolkit is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Android MCP Toolkit against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Android MCP Toolkit is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Android MCP Toolkit reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Android MCP Toolkit for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Android MCP Toolkit surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Android MCP Toolkit has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Android MCP Toolkit benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Android MCP Toolkit into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Android MCP Toolkit is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.