Dev Tools For Android (dta) Mcp
@yamsergey
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"dta-cli": {
"command": "dta-cli",
"args": [
"mcp"
]
},
"dta-android-studio-http": {
"type": "http",
"url": "http://localhost:12321/mcp"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
其他 分类下的更多 MCP 服务器

EverArt
modelcontextprotocolModel Context Protocol Servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
ghidraMCP
LaurieWiredMCP Server for Ghidra

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
评论