AgentHubAgentHub

android

MCP ServerMCP Registry官方收录

io.github.us-all/android · v1.14.0

Android MCP — ADB-based device, apps, UI, logcat, emulator, files, system, debug

概览

android 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "android": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/android-mcp"
      ]
    }
  }
}

环境变量

ADB_PATH可选

Path to adb binary. Default: 'adb' on PATH.

ANDROID_HOME可选

Android SDK root. Used to resolve adb if ADB_PATH not set.

ANDROID_SERIAL可选

Default device serial when multiple devices are connected.

ANDROID_TOOLS可选

Comma-separated category allowlist. Default: all categories enabled.

ANDROID_DISABLE可选

Comma-separated category disablelist.

ANDROID_MCP_ALLOW_SHELL可选

Set to 'true' to enable arbitrary shell command execution. Default disabled.

ANDROID_MCP_ALLOW_WRITE可选

Set to 'true' to enable write/destructive tools. Default read-only.

相关资源

统一 Manifest

{
  "id": "io.github.us-all/android",
  "type": "mcp-server",
  "version": "1.14.0",
  "displayName": "android",
  "description": "Android MCP — ADB-based device, apps, UI, logcat, emulator, files, system, debug",
  "repository": {
    "url": "https://github.com/us-all/android-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@us-all/android-mcp",
        "version": "1.14.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ADB_PATH",
            "description": "Path to adb binary. Default: 'adb' on PATH."
          },
          {
            "name": "ANDROID_HOME",
            "description": "Android SDK root. Used to resolve adb if ADB_PATH not set."
          },
          {
            "name": "ANDROID_SERIAL",
            "description": "Default device serial when multiple devices are connected."
          },
          {
            "name": "ANDROID_TOOLS",
            "description": "Comma-separated category allowlist. Default: all categories enabled."
          },
          {
            "name": "ANDROID_DISABLE",
            "description": "Comma-separated category disablelist."
          },
          {
            "name": "ANDROID_MCP_ALLOW_SHELL",
            "description": "Set to 'true' to enable arbitrary shell command execution. Default disabled."
          },
          {
            "name": "ANDROID_MCP_ALLOW_WRITE",
            "description": "Set to 'true' to enable write/destructive tools. Default read-only."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.us-all/android",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.us-all%2Fandroid/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
android — MCP Server 安装与配置 · AgentHub