espresso-mcp

Integrations

  • Provides integration with the Espresso Android Test Framework, enhancing Android app testing capabilities and streamlining test automation workflows.

浓缩咖啡-MCP

Espresso Android 测试框架的 MCP 服务器,旨在增强测试能力并简化开发工作流程。

安装

  • Python 3.x
  • 紫外线: pip install uv
uv tool install espresso-mcp

用法

  • 在 Claude 上:将以下 JSON 配置添加到文件claude_desktop_config.json
{ "mcpServers": { "terminal": { "command": "uv", "args": ["pip", "run", "espresso-mcp", "--timeout-ms", "30000"] } } }

可用工具

espresso-mcp项目中提供了以下工具:

  • list_avds :列出所有可用的 Android 虚拟设备 (AVD)。
  • list_emulators :列出所有正在运行的 Android 模拟器。
  • start_emulator :按名称启动 Android 模拟器。
  • kill_emulator :杀死特定的 Android 模拟器。
  • dump_ui_hierarchy :转储已连接的 Android 设备的 UI 层次结构。
  • open_uri :在已连接的 Android 设备上打开 URI。
  • list_apps :列出连接的 Android 设备上安装的所有应用程序。
  • install_app :在连接的 Android 设备上安装 APK。
  • start_app :在连接的 Android 设备上启动特定的应用程序。
  • stop_app :停止已连接的 Android 设备上的特定应用程序。
  • uninstall_app :从连接的 Android 设备上卸载应用程序。
  • clear_app_data :清除所连接的 Android 设备上特定应用的应用数据。
  • take_screenshot :截取已连接的 Android 设备的屏幕截图。
  • record_screen :在指定的时间内记录所连接的 Android 设备的屏幕。
  • press_button :模拟按下所连接的 Android 设备上的按钮。
  • type_text :在连接的 Android 设备上输入文本。
  • tap :模拟在特定坐标处点击连接的 Android 设备。
  • 滑动:在连接的 Android 设备上朝特定方向执行滑动手势。

资源

可用的资源如下:

  • config://app :检索静态配置数据。
  • Greeting://{name} :获取个性化问候。

本地设置

  • Python 3.x
  • 紫外线: pip install uv
# Install uv install # Run Dev Mode uv run mcp dev server.py

调试

  • 使用 MCP 检查器
# Install MCP Inspector yarn global add @modelcontextprotocol/inspector # Test MCP Server yarn run @modelcontextprotocol/inspector python server.py

测试

uv run pytest

出版

# Build the package uv build # Upload to PyPI uv publish

开发说明

uv init espresso-mcp uv add "mcp[cli]" uv run mcp dev server.py
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

浓缩咖啡-MCP

  1. 安装
    1. 用法
      1. 可用工具
        1. 资源
          1. 本地设置
            1. 调试
              1. 测试
                1. 出版
                  1. 开发说明

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  A server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.
                  Last updated -
                  12
                  5,597
                  1
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  mcp-hydrolix
                  Last updated -
                  3
                  1
                  Python
                  Apache 2.0
                  • Apple

                View all related MCP servers

                ID: pztl1iojar