PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversdeveloper-toolsr_adb_mcp_server
返回「developer-tools」

r_adb_mcp_server

modelscope·@rahulkr/r_adb_mcp_server

developer-tools0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Enhanced ADB MCP Server for Flutter/Android Development

PyPI version Python 3.10+ License: MIT

A comprehensive MCP server for controlling Android devices via ADB, specifically designed for Flutter development, UI testing, and visual QA workflows.

Quick Start

# Install from PyPI
pip install r-adb-mcp-server

# Or run directly with uvx (no installation needed)
uvx r-adb-mcp-server

Note: Both the package name and command are r-adb-mcp-server.

Then add to your MCP client configuration (Claude Desktop, Cursor, etc.) - see Configuration section below.

Features

Device Management

  • List connected devices with details
  • Get comprehensive device info (model, Android version, battery, etc.)
  • Screen specifications with DP calculations

Visual Capture

  • Screenshots (base64 or file)
  • Screen recording with start/stop control
  • Capture with metadata for Figma comparison

UI Inspection

  • Full UI hierarchy dump (XML)
  • Find elements by text or resource ID
  • Get all clickable elements with coordinates
  • Extract all visible text for verification

Input & Interaction

  • Tap, double-tap, long-press
  • Swipe and scroll (up/down/to-text)
  • Text input and clear
  • Key events (HOME, BACK, ENTER, etc.)
  • Tap elements by text or ID

App Management

  • Launch/stop/clear apps
  • Install/uninstall APKs
  • List packages with filtering
  • Get current activity
  • App info (version, install date, etc.)

Debugging & Logs

  • Logcat with filtering (tag, level, package)
  • Flutter-specific logs
  • Crash logs extraction
  • ANR traces

Performance Profiling

  • Memory usage per app
  • CPU monitoring
  • GPU rendering info
  • Frame stats for jank detection
  • Battery statistics

Network Control

  • Network info (WiFi status, IP)
  • Toggle WiFi/Airplane mode
  • Set/clear HTTP proxy

Developer Options

  • Animation scale (speed up tests)
  • Show taps (for recordings)
  • Show layout bounds
  • Screen rotation control
  • Change resolution/density

Accessibility Testing

  • Font scale adjustment
  • TalkBack toggle
  • High contrast mode
  • Color inversion

Emulator Features

  • GPS location spoofing
  • Simulate SMS/calls

Prerequisites

  1. ADB installed and in your PATH

    adb version
    
  2. Android device/emulator connected with USB debugging enabled

    adb devices
    
  3. Python 3.10+ and optionally uv for running with uvx

    To install uv (optional, for uvx command):

    # macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    # Or with Homebrew (macOS)
    brew install uv
    
    # Or with pip
    pip install uv
    

Installation

From PyPI (Recommended)

# Install globally with pip
pip install r-adb-mcp-server

# Or use with uvx (no installation needed)
uvx r-adb-mcp-server

From Source

cd adb-mcp-server

# Using uv (recommended)
uv sync

# Or using pip
pip install -e .

Configuration

Claude Desktop

Using installed package (recommended):

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "adb": {
      "command": "uvx",
      "args": ["r-adb-mcp-server"]
    }
  }
}

Or if installed with pip:

{
  "mcpServers": {
    "adb": {
      "command": "r-adb-mcp-server"
    }
  }
}

Using from source:

{
  "mcpServers": {
    "adb": {
      "command": "uv",
      "args": ["--directory", "/path/to/adb-mcp-server", "run", "python", "src/adb_mcp_server/server.py"]
    }
  }
}

Cursor IDE

Add to .cursor/mcp.json:

Using installed package (recommended):

{
  "mcpServers": {
    "adb": {
      "command": "uvx",
      "args": ["r-adb-mcp-server"]
    }
  }
}

Using from source:

{
  "mcpServers": {
    "adb": {
      "command": "uv",
      "args": ["--directory", "/path/to/adb-mcp-server", "run", "python", "src/adb_mcp_server/server.py"]
    }
  }
}

Claude Code

Using installed package (recommended):

claude mcp add adb -- uvx r-adb-mcp-server

Using from source:

claude mcp add adb -- uv --directory /path/to/adb-mcp-server run python src/adb_mcp_server/server.py

GitHub Copilot

Using installed package (recommended):

Add to your VS Code settings (.vscode/settings.json or User Settings):

{
  "github.copilot.chat.mcp.servers": {
    "adb": {
      "command": "uvx",
      "args": ["r-adb-mcp-server"]
    }
  }
}

Or if installed with pip:

{
  "github.copilot.chat.mcp.servers": {
    "adb": {
      "command": "r-adb-mcp-server"
    }
  }
}

Using from source:

{
  "github.copilot.chat.mcp.servers": {
    "adb": {
      "command": "uv",
      "args": ["--directory", "/path/to/adb-mcp-server", "run", "python", "src/adb_mcp_server/server.py"]
    }
  }
}

Note: Make sure you have GitHub Copilot Chat extension installed and MCP support enabled in VS Code.

Available Tools (60+)

Device Management

ToolDescription
list_devices()List all connected devices
get_device_info()Comprehensive device details
get_screen_specs()Screen size, density, DP values

Visual Capture

ToolDescription
screenshot()Capture as base64 PNG
screenshot_to_file(filename)Save screenshot to file
start_screen_record(duration, filename)Start recording (max 180s)
stop_screen_record()Stop recording
pull_recordings(local_dir)Download recordings
capture_screen_for_comparison(name)Screenshot with metadat…

相关 MCP Servers(来自「developer-tools」)

【稳定版】12306MCP火车票服务

一个为大型语言模型(LLM)设计的、高可用的12306余票查询工具服务,现已搭载智能会话管理引擎。 12306-MCP-Server 将复杂的12306余票查询接口封装为符合 Model Context Protocol (MCP) 规范的工具集,允许AI Agent通过自然语言无缝查询实时火车票、中转换乘和经停站信息。 从 v1.0.0 版本开始,项目引入了全新的智能会话管理系统,通过会话池、动态User-Agent轮换和自动错误恢复机制,将服务的稳定性与反屏蔽能力提升至全新高度。

Alphar/Railway-Real-Time-MCP-Server

阿里云可观测 MCP 服务

阿里云可观测 MCP服务,提供了一系列访问阿里云可观测各产品的工具能力,覆盖产品包含阿里云日志服务SLS、阿里云应用实时监控服务ARMS、阿里云云监控等,任意支持 MCP 协议的智能体助手都可快速接入。

@aliyun/alibabacloud-observability-mcp-server

北大法宝法条识别—法律MCP

自动从文本中识别并提取法律条文,例如在合同、案件描述或法律文书中,精准定位涉及的具体法律条文(如“《民法典》第585条”),并将文本中的法律问题与对应法条内容关联,提取法规名称的服务。

@pkulaw-ai/mcp_server_law_recognition

哔哩哔哩API服务器

用于哔哩哔哩API的MCP服务器,支持视频搜索、用户内容获取等多种操作,适用于哔哩哔哩内容管理和数据分析场景。

myalone/bilibili

菜谱

看起来您想要翻译一份英文技术文档,但您提供的内容中只有"asd"这个字符串,并没有实际的文档内容。请提供需要翻译的具体英文技术文档文本,这样我才能帮助您进行准确的翻译。如果有特定部分或格式要求,请一并告知。

lcd18601611267/whateat

串口智控

一座通过串行通信将物理硬件设备与人工智能大语言模型连接起来的桥梁,允许用户使用自然语言命令控制硬件。

@mcp2everything/mcp2serial

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/rahulkr-r_adb_mcp_server/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

# Install from PyPI pip install r-adb-mcp-server # Or run directly with uvx (no installation needed) uvx r-adb-mcp-server

基本信息

分类
developer-tools / testing-and-qa-tools / app-automation
运行方式
No
许可证
MIT License
详情文件
rahulkr-r_adb_mcp_server.md