What is Dev Tools For Android (dta) Mcp?
A toolkit that gives AI assistants direct access to Android devices through the Model Context Protocol (MCP). It lets coding agents see the screen, read network traffic, inspect layout trees, mock responses, and interact with the app — from Android Studio, the terminal, or any MCP client. It is designed for Android developers who want to debug and test apps with AI assistance.
How to use Dev Tools For Android (dta) Mcp?
Install via the Android Studio Plugin (Settings → Plugins → Marketplace → search "DTA") or the CLI (brew tap yamsergey/packages && brew install dta-cli). The plugin auto-injects the sidekick into debug builds and provides a 4‑tab inspector. For the CLI, use dta-cli run --project <path> to build and launch your app with sidekick. Connect your AI assistant by adding the MCP configuration (e.g., claude mcp add dta -- dta-cli mcp for Claude Code, or add to claude_desktop_config.json for Claude Desktop).
Key features of Dev Tools For Android (dta) Mcp
- Real UI hierarchy with view classes, bounds, and Compose data.
- Automatic network recording from app launch (HTTP, WebSocket, WebView).
- Create and apply HTTP and WebSocket mock rules.
- Build and launch APK with sidekick injected in one MCP call.
- Tap, swipe, input text, and press keys for verification.
Use cases of Dev Tools For Android (dta) Mcp
- Inspect the full UI tree of an Android app, including WebView DOM.
- Analyze network traffic without manual “start recording” steps.
- Mock API responses during development or testing.
- Automate app exploration and verification via AI agent.
- Visual inspection and element selection through the web inspector.
评论