AgentHubAgentHub

Agent Droid Bridge

MCP ServerMCP Registry官方收录

io.github.Neverlow512/agent-droid-bridge · v0.6.1

MCP server giving AI agents eyes and hands inside Android devices via ADB

概览

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

安装

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

{
  "mcpServers": {
    "agent-droid-bridge": {
      "command": "uvx",
      "args": [
        "agent-droid-bridge"
      ]
    }
  }
}

环境变量

ADB_EXECUTION_MODE可选

Security mode. 'unrestricted' allows all shell commands with an optional denylist. 'restricted' allows only commands in ADB_SHELL_ALLOWLIST.

ADB_ALLOW_SHELL可选

Set to 'false' to block all adb shell commands regardless of execution mode.

ADB_PATH可选

Path to the ADB binary. Use a full path if adb is not on your system PATH.

ADB_EXTRA_TOOL_PACKS可选

Comma-separated list of extra tool packs to load. Set to 'app_manager' to enable 9 additional app management tools.

ADB_DENIED_TOOLS可选

Comma-separated list of tool names to hide from the agent at startup.

ADB_SHELL_ALLOWLIST可选

Comma-separated list of shell commands permitted in restricted mode. Empty blocks all shell commands.

ADB_SHELL_DENYLIST可选

Comma-separated list of shell commands blocked in unrestricted mode.

MCP_LOG_ENABLED可选

Set to 'true' to enable session logging. Requires MCP_LOG_DIR.

MCP_LOG_DIR可选

Absolute path to the directory where session logs are written. Required when MCP_LOG_ENABLED is true.

ADB_LOG_LEVEL可选

Server process log level.

ADB_COMMAND_TIMEOUT可选

Maximum seconds to wait for any ADB command.

ADB_SCREENSHOT_TIMEOUT可选

Maximum seconds to wait for a screenshot capture.

ADB_UI_CHANGE_TIMEOUT可选

Default timeout in seconds for detect_ui_change.

ADB_UI_CHANGE_POLL_INTERVAL可选

How often in seconds detect_ui_change polls the UI hierarchy.

ADB_AAPT_TIMEOUT可选

Maximum seconds to wait for aapt dump badging, used by the app_manager pack.

ADB_CONFIG_SOURCE可选

Set to 'yaml' to load configuration from adb_config.yaml instead of environment variables.

相关资源

统一 Manifest

{
  "id": "io.github.Neverlow512/agent-droid-bridge",
  "type": "mcp-server",
  "version": "0.6.1",
  "displayName": "Agent Droid Bridge",
  "description": "MCP server giving AI agents eyes and hands inside Android devices via ADB",
  "repository": {
    "url": "https://github.com/Neverlow512/agent-droid-bridge",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "agent-droid-bridge",
        "version": "0.6.1",
        "runtimeHint": "uvx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ADB_EXECUTION_MODE",
            "description": "Security mode. 'unrestricted' allows all shell commands with an optional denylist. 'restricted' allows only commands in ADB_SHELL_ALLOWLIST."
          },
          {
            "name": "ADB_ALLOW_SHELL",
            "description": "Set to 'false' to block all adb shell commands regardless of execution mode."
          },
          {
            "name": "ADB_PATH",
            "description": "Path to the ADB binary. Use a full path if adb is not on your system PATH."
          },
          {
            "name": "ADB_EXTRA_TOOL_PACKS",
            "description": "Comma-separated list of extra tool packs to load. Set to 'app_manager' to enable 9 additional app management tools."
          },
          {
            "name": "ADB_DENIED_TOOLS",
            "description": "Comma-separated list of tool names to hide from the agent at startup."
          },
          {
            "name": "ADB_SHELL_ALLOWLIST",
            "description": "Comma-separated list of shell commands permitted in restricted mode. Empty blocks all shell commands."
          },
          {
            "name": "ADB_SHELL_DENYLIST",
            "description": "Comma-separated list of shell commands blocked in unrestricted mode."
          },
          {
            "name": "MCP_LOG_ENABLED",
            "description": "Set to 'true' to enable session logging. Requires MCP_LOG_DIR."
          },
          {
            "name": "MCP_LOG_DIR",
            "description": "Absolute path to the directory where session logs are written. Required when MCP_LOG_ENABLED is true."
          },
          {
            "name": "ADB_LOG_LEVEL",
            "description": "Server process log level."
          },
          {
            "name": "ADB_COMMAND_TIMEOUT",
            "description": "Maximum seconds to wait for any ADB command."
          },
          {
            "name": "ADB_SCREENSHOT_TIMEOUT",
            "description": "Maximum seconds to wait for a screenshot capture."
          },
          {
            "name": "ADB_UI_CHANGE_TIMEOUT",
            "description": "Default timeout in seconds for detect_ui_change."
          },
          {
            "name": "ADB_UI_CHANGE_POLL_INTERVAL",
            "description": "How often in seconds detect_ui_change polls the UI hierarchy."
          },
          {
            "name": "ADB_AAPT_TIMEOUT",
            "description": "Maximum seconds to wait for aapt dump badging, used by the app_manager pack."
          },
          {
            "name": "ADB_CONFIG_SOURCE",
            "description": "Set to 'yaml' to load configuration from adb_config.yaml instead of environment variables."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.Neverlow512/agent-droid-bridge",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.Neverlow512%2Fagent-droid-bridge/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Agent Droid Bridge — MCP Server 安装与配置 · AgentHub