SkillAgentSearch skills...

DroidPath

Cross-platform Rust + Tauri v2 + Kotlin Shadow DOM MCP server & persistent A* symbolic UI router for autonomous Android control (Windows, Linux, macOS)

Install / Use

claude mcp add V0val0x -- npx -y github:V0val0x/DroidPath

If the server publishes to npm under a different name, use that package instead β€” check the repo README.

About this skill
πŸ”Œ

MCP Server

Model Context Protocol server

Quality Score

83/100

Category

Automation

Supported Platforms

Claude Code
Claude Desktop

Our assessment of DroidPath

DroidPath scores 83/100 on our quality scale, 2060th of 2,730 Automation skills we index.

Its MCP Server is 12 KB long, well organised into 18 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 3 days ago, so DroidPath is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit β€” read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below).

  • noteInstalls by piping a downloaded script into a shellline 62
    curl -fsSL https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.sh | bash -s -- --configure-mcp all --deploy
  • noteInstalls by piping a downloaded script into a shellline 67
    …DPATH_DEPLOY="1"; $env:DROIDPATH_CONFIGURE_MCP="all"; irm https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.ps1 | iex

Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk β€” read a skill before letting an agent act on it.

DroidPath compared with similar skills

All 4 of these similar skills score higher than DroidPath; compare them before choosing.

SkillScoreStarsUpdatedFormat
DroidPath (this skill)by V0val0x83103d agoMCP Server
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md
headroomby headroomlabs-ai10081.0ktodayCLAUDE.md

Frequently asked questions

How do I install DroidPath?
Run claude mcp add V0val0x -- npx -y github:V0val0x/DroidPath. The install tabs above show the steps for each supported agent.
Which AI agents does DroidPath work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is DroidPath safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below). It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is DroidPath still maintained?
The repository was last updated 3 days ago, so DroidPath is actively maintained.

DroidPath

<!-- mcp-name: io.github.V0val0x/droidpath -->

High-Performance Infrastructure & API for Autonomous Android AI Agents

Sub-millisecond Shadow DOM Streaming Β· Persistent A* Symbolic UI Router Β· Standardized OpenAI/Anthropic/MCP Tool Schemas Β· Opt-In Hybrid Vision Β· Headless Docker-Android Fleets

License: MIT Platforms: Windows Β· Linux Β· macOS Β· Android GitHub Release CI V0val0x/DroidPath MCP server

English | Русская вСрсия (Russian) Β· Agent Integrations Β· Benchmarks Β· Headless Docker Fleets Β· Security Β· Changelog

DroidPath Autonomous Android Agent Infrastructure Demo


Why DroidPath?

Traditional Android automation tools were built for brittle QA scripts, and pure Vision-Language Model (VLM) loops burn thousands of tokens and 10+ seconds per task taking screenshots at every tap.

DroidPath is built from the ground up as an execution layer for autonomous AI agents:

  • Zero-Roundtrip Multi-Hop Routing (Layer 3 A*): Streams live incremental accessibility diffs (Shadow DOM) from an on-device Kotlin daemon over loopback TCP, compiles screens into a persistent Spatial Graph (shadow_graph.json), and executes multi-screen workflows locally in Rust with 1 LLM call instead of 4–10.
  • Plug-and-Play Agent Schemas (OpenAI Β· Anthropic Β· MCP): Export ready-to-use JSON function-calling schemas via CLI (droidpath schemas), live HTTP (GET /schemas/openai.json, /schemas/anthropic.json, /schemas/mcp.json), or static files in schemas/ β€” zero custom parsers required.
  • Opt-In Hybrid UI Tree + Vision Streaming: Need visual context for icons or canvases? Pass include_vision: true to android_get_ui_tree to receive both the structured UI tree and a downscaled, heavily compressed JPEG as multimodal MCP content (text + image). Strictly off by default and hard-blocked on FLAG_SECURE screens.
  • Self-Correcting Agentic Feedback Loop: When an element isn't found or a route deviates, DroidPath never returns a bare "Error". It returns structured, PII-redacted telemetry (screen_delta, newly appeared nodes, ranked closest_candidates, and suggested_next_actions) so agents recover in 1 turn.
  • Headless Docker-Android Fleets: Scale parallel autonomous agents inside headless Linux containers with ephemeral non-colliding daemon ports (--daemon-port 0), ADB_SERVER_SOCKET routing, sys.boot_completed synchronization, and graceful SIGTERM shutdown.
  • Safety & Privacy by Construction: Mandatory Human-in-the-Loop (requires_confirmation) gating for hazardous actions (payments, transfers, deletes), automatic FLAG_SECURE / biometric pause, on-device password masking, and Luhn card / OTP PII redaction before hashing or persistence.

Agentic Benchmark Summary

Measured live over USB ADB on an unlocked Google Pixel 10a (com.android.settings, 54 interactive nodes) using node scripts/benchmark_agentic.mjs --mode live --json against compiled target/release/droidpath-mcp:

Live Pixel 10a Hardware Primitives & End-to-End Suite:

  • Shadow DOM Read Latency: 0.32 ms steady-state (41.89 ms cold connect) vs 2,423.9 ms adb uiautomator dump (7,575Γ— faster Β· 10.7 KB vs 29.4 KB XML)
  • Live E2E Multi-Step Navigation (Display, Battery, About phone): 100% success (3/3) at 603 ms avg Cold-Start (Seed Graph hydration) and 561 ms avg Warm A*
  • Opt-In Hybrid Vision (include_vision: true, 540Γ—1212 JPEG q45 + 54 nodes): 452.33 ms Β· 38.6 KB JPEG vs 658.1 ms Β· 235.3 KB raw PNG from adb screencap -p (6.1Γ— smaller payload)

Multi-Step Architecture & Cost Comparison ($3.00 / 1M input tokens Β· Replay Model):

| Architecture | Avg LLM Calls / Task | Avg Tokens / Task | Avg Task Time | Est. Cost / 1k Tasks | Live Success Rate | |---|---:|---:|---:|---:|---:| | DroidPath (Shadow DOM + A* Router) | 1.0 | 39 (warm A*) / ~1,135 (cold tree) | 464 ms (561 ms live) | $0.12 | 100% (3/3 live) | | Pure Vision (Screenshots + VLM) | 4.2 | 7,673 | 9,954 ms | $23.02 (192Γ— higher) | β€” | | Appium / uiautomator XML | 4.2 | 29,400 | 8,946 ms | $88.20 (735Γ— higher) | β€” |

Full hardware & replay methodology and reproduction commands are in docs/benchmarks.md.


Quick Start (1-Click Native Install)

Prerequisites: Android 8.0+ (API 26+) with USB/Wireless Debugging (no root, no companion APK) and adb (brew install android-platform-tools / winget install Google.PlatformTools / sudo apt install adb).

macOS & Linux:

curl -fsSL https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.sh | bash -s -- --configure-mcp all --deploy

Windows (PowerShell):

$env:DROIDPATH_DEPLOY="1"; $env:DROIDPATH_CONFIGURE_MCP="all"; irm https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.ps1 | iex

Verify installation and start the agent API:

droidpath-mcp doctor                        # Verify ADB, devices, daemon JAR & Spatial Graph
droidpath-mcp --stdio                       # Run MCP server over stdio (Claude, Cursor, Gemini CLI)
droidpath-mcp --http --port 8766            # Run loopback HTTP/SSE + /schemas/* API
droidpath-mcp schemas --format openai       # Print standardized OpenAI function-calling schema

Agent Framework & SDK Integrations

LangChain (langchain-mcp-adapters)

from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent

async with MultiServerMCPClient({
    "droidpath": {"command": "droidpath-mcp", "args": ["--stdio"], "transport": "stdio"}
}) as client:
    agent = create_react_agent("anthropic:claude-3-7-sonnet-latest", client.get_tools())
    await agent.ainvoke({"messages": [("user", "Open Display settings and enable Night Light.")]})

CrewAI (MCPServerAdapter)

from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
from mcp import StdioServerParameters

with MCPServerAdapter(StdioServerParameters(command="droidpath-mcp", args=["--stdio"])) as tools:
    operator = Agent(role="Android Operator", goal="Execute Android workflows", backstory="...", tools=tools)
    task = Task(description="Navigate to Battery Saver via android_navigate_to_node(auto_explore=true).", expected_output="Arrival JSON", agent=operator)
    Crew(agents=[operator], tasks=[task]).kickoff()

OpenAI & Anthropic SDKs (Zero-Parser Schemas)

# Export static JSON schemas or fetch live from http://127.0.0.1:8766/schemas/*
droidpath-mcp schemas --format openai    > openai-tools.json
droidpath-mcp schemas --format anthropic > anthropic-tools.json

See docs/integrations.md for complete Python/TypeScript examples covering OpenAI SDK, Anthropic SDK (with opt-in hybrid vision), LangChain, CrewAI, MCP, and the Self-Correcting Feedback Loop.


Headless Docker-Android Agent Fleets

Run parallel autonomous Android agents without any GUI or VNC overhead:

export DROIDPATH_AUTH_TOKEN="local-dev-token"
docker compose -f docker-compose.headless.yml up --build -d
  • Dynamic ephemeral ports (--daemon-port 0) prevent TCP collisions across parallel workers.
  • DROIDPATH_HEADLESS=1 waits for sys.boot_completed=1 and enables exponential backoff UiAutomation retries.
  • ADB_SERVER_SOCKET routes ADB cleanly across Docker networks or to a host ADB server.

See docs/headless-docker.md for fleet scaling and macOS/CI host-ADB recipes.


Standardized Agent Tool Surface (9 Tools)

All 9 tools are exposed consistently across MCP (tools/list), OpenAI (schemas/openai-tools.json), and Anthropic (schemas/anthropic-tools.json):

| Tool | Role | |---|---| | android_navigate_to_node | Primary multi-hop A* graph router (auto_explore: true falls back to live discovery). | | android_explore_and_click | Live Shadow DOM semantic search + bounded auto-scroll + graph edge recording. | | android_get_ui_tree | Live compact UI tree inspection + opt-in hybrid JPEG vision (include_vision: true, blocked on FLAG_SECURE). | | android_graph_stats | Read-only Spatial Graph telemetry (vertices, edges, active hash, daemon status). | | android_list_devices | Enumerates connected USB, Wi-Fi, and emulator ADB targets. | | android_tap_element | Direct pixel or selector tap with structured feedback telemetry on miss. | | android_swipe | Zero-fling daemon touch swipe / drag with graph recording. | | android_type_text | ASCII & Unicode text entry (safe shell quoting / clipboard paste) + optional ENTER. | | android_keyevent | System & hardware keyevents (HOME, BACK, ENTER, APP_SWITCH, etc.). |


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AI Agents (LangChain Β· CrewAI Β· Claude Β· Cursor Β· OpenAI Β· Anthropic)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                β”‚ MCP (stdio / HTTP+SSE) + /schemas/*.json
                                β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  droidpath-mcp & droidpath-core (Native Rust Β· Zero JVM Β· ~2 MB)        β”‚
β”‚  β€’ Layer 3 A* Spatial Graph Router & Persistent shadow_graph.json       β”‚
β”‚  β€’ Self-Correcting Agentic Feedback Loop (Delta + PII-Redacted Ranking) β”‚
β”‚  β€’ Hazardous HITL Gatekeeper & FLAG_SECURE Privacy Pause                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                β”‚ Loopback TCP NDJSON (:27189 or ephemeral :0)
                                β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  android-daemon.jar (Single-DEX Kotlin Β· app_process Β· No Root/APK)     β”‚
β”‚  β€’ Event-Driven UiAutomation Shadow DOM Diffs (<1 ms incremental)       β”‚
β”‚  β€’ Native Zero-Fling Input Injection & Opt-In Compressed Hybrid Vision  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

DroidPath is 100% shadow_graph.json compatible with native macOS AndOnMac and includes an optional Tauri v2 Desktop HUD (apps/droidpath-desktop) for live visual debugging and graph inspection.


Building & Testing from Source

# Rust core & MCP server
cargo test -p droidpath-core -p droidpath-mcp
cargo clippy -p droidpath-core -p droidpath-mcp --all-targets -- -D warnings

# Kotlin Android daemon (tests + single-DEX android-daemon.jar)
./android-daemon/scripts/build-dex.sh
node packages/droidpath-cli/scripts/sync-daemon.mjs

# Node CLI
node --test packages/droidpath-cli/test/cli.test.mjs

# Reproducible Agentic Benchmark
node scripts/benchmark_agentic.mjs

Community & License

Related Skills

View on GitHub
GitHub Stars10
CategoryAutomation
Updated3d ago
Forks0

Languages

Rust

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit β€” see the Safety scan above for what the skill file itself contains.

1 info
DroidPath β€” MCP Server: Install & Safety Check | SkillAgent