MCP.so
登录
D

Dev Tools For Android (dta) MCP Server

@yamsergey

基本信息

分类

其他

传输方式

stdio

作者

yamsergey

提交者

Sergey Yamshchikov

关于 Dev Tools For Android (dta) MCP Server

Expose Android's app runtime data to coding agents for efficient navigation, debugging, network monitoring, network mocking/interceptions and a bit more.

#android#cli#android-studio

Dev Tools For Android (dta) MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "dta-cli": {
      "command": "dta-cli",
      "args": [
        "mcp"
      ]
    },
    "dta-android-studio-http": {
      "type": "http",
      "url": "http://localhost:12321/mcp"
    }
  }
}

Dev Tools For Android (dta) MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

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.

常见问题

1

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`.

2

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.

3

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).

4

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())`.

5

Does the Android Studio plugin require manual Gradle changes?

No. The plugin automatically

评论

其他 分类下的更多 MCP 服务器