Dev Tools For Android (dta) Mcp
@yamsergey
About Dev Tools For Android (dta) Mcp
Expose Android's app runtime data to coding agents for efficient navigation, debugging, network monitoring, network mocking/interceptions and a bit more.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dta-cli": {
"command": "dta-cli",
"args": [
"mcp"
]
},
"dta-android-studio-http": {
"type": "http",
"url": "http://localhost:12321/mcp"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
FAQ from Dev Tools For Android (dta) Mcp
What does Dev Tools For Android (dta) Mcp provide that adb shell uiautomator dump does not?
DTA returns the real UI hierarchy — view classes, bounds, positions, layout parameters, Compose‑specific data (composable names, recomposition counts), and DOM trees from WebViews and Chrome Custom Tabs — unlike the semantic accessibility tree from uiautomator.
What are the system requirements for Dev Tools For Android (dta) Mcp?
Java 21+ is required. The CLI also requires Homebrew (for installation) and an Android project with a debug build configuration.
Which MCP transports does Dev Tools For Android (dta) Mcp support?
It supports stdio (dta-cli mcp), HTTP (dta-cli mcp serve --http --port 12321), and a plugin‑embedded HTTP server (enabled in the MCP tab of the Android Studio plugin).
How can I mock HTTP and WebSocket responses?
Create mock rules from captured data or from scratch. You can also plug in custom adapters for programmatic control using Sidekick.configure(SidekickConfig.builder().httpMockAdapter {...}.build()).
Does the Android Studio plugin require manual Gradle changes?
No. The plugin automatically
More Other MCP servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
ICSS
chokcoco不止于 CSS
Codelf
unbugA search tool helps dev to solve the naming things problem.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Comments