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

コメント

「その他」の他のコンテンツ