MCP Appium Server

Integrations

  • Provides capabilities for testing and automating Android applications, including device management, app installation, and UI interaction through the Appium framework.

  • Enables mobile app automation through Appium, supporting element interactions, app management, device controls, and advanced features like context switching and custom gestures.

  • Supports automation of iOS applications on devices and simulators, including element interactions and app management through the Appium framework.

MCP Appium サーバー

Appium を使用したモバイル アプリ自動化のためのモデル コンテキスト プロトコル (MCP) サーバー実装。

前提条件

  1. Node.js (v14以上)
  2. Java開発キット(JDK)
  3. Android SDK(Android テスト用)
  4. Xcode (iOS テスト用、macOS のみ)
  5. Appiumサーバー
  6. Androidデバイスまたはエミュレータ / iOSデバイスまたはシミュレータ

設定

  1. 依存関係をインストールします:
npm install
  1. Appium サーバーをインストールして起動します。
npm install -g appium appium
  1. Android デバイス/エミュレータをセットアップします。
    • Androidデバイスで開発者向けオプションを有効にする
    • USBデバッグを有効にする
    • USB経由でデバイスを接続するか、エミュレータを起動します
    • adb devicesを使用してデバイスが接続されていることを確認する

テストの実行

  1. プロジェクトをビルドします。
npm run build
  1. MCP サーバーを起動します。
npm run dev
  1. 新しいターミナルでテストを実行します。
npm test

テスト構成

サンプルテストでは、Android設定アプリをデモとして使用します。独自のアプリをテストするには、以下の手順に従ってください。

  1. examples/appium-test.tsを編集します。
    • deviceNameデバイスに合わせて更新します
    • APKファイルへのappを設定するか、
    • インストールされたアプリのappPackageappActivityを更新する
  2. 共通機能の構成:
const capabilities: AppiumCapabilities = { platformName: 'Android', deviceName: 'YOUR_DEVICE_NAME', automationName: 'UiAutomator2', // For installing and testing an APK: app: './path/to/your/app.apk', // OR for testing an installed app: appPackage: 'your.app.package', appActivity: '.MainActivity', noReset: true };

利用可能なアクション

MCP サーバーはさまざまな Appium アクションをサポートしています。

  1. 要素の相互作用:
    • 要素を見つける
    • タップ/クリック
    • テキストを入力
    • 要素までスクロール
    • 長押し
  2. アプリ管理:
    • アプリを起動/閉じる
    • アプリをリセット
    • 現在のパッケージ/アクティビティを取得する
  3. デバイスコントロール:
    • 画面の向き
    • キーボード操作
    • デバイスのロック/ロック解除
    • スクリーンショット
    • バッテリー情報
  4. 高度な機能:
    • コンテキスト切り替え(ネイティブ/WebView)
    • ファイル操作
    • 通知
    • カスタムジェスチャー

トラブルシューティング

  1. デバイスが見つかりません:
    • adb devicesの出力を確認する
    • USBデバッグが有効になっていることを確認する
    • デバイスを再接続してみてください
  2. アプリがインストールされません:
    • APKパスが正しいことを確認する
    • デバイスに十分なストレージがあるか確認する
    • アプリがデバッグ用に署名されていることを確認する
  3. 要素が見つかりません:
    • Appium Inspectorを使用してセレクタを検証する
    • 画面上に要素が表示されているかどうかを確認する
    • さまざまなロケーター戦略を試す
  4. 接続の問題:
    • Appiumサーバーが実行中であることを確認する
    • ポートの競合を確認する
    • 正しい機能が設定されていることを確認する

貢献

追加機能やバグ修正に関する問題やプル リクエストをお気軽に送信してください。

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

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

Appium を使用してモバイル アプリの自動化を可能にし、標準化されたプロトコルを通じてさまざまなデバイスのインタラクション、要素の操作、アプリの管理をサポートするモデル コンテキスト プロトコル (MCP) サーバーです。

  1. 前提条件
    1. 設定
      1. テストの実行
        1. テスト構成
          1. 利用可能なアクション
            1. トラブルシューティング
              1. 貢献
                1. ライセンス

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol (MCP) server implementation for interacting with Phabricator API. This server allows LLMs to interact with Phabricator through a standardized interface.
                    Last updated -
                    5
                    Python
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                    Last updated -
                    3
                    9
                    36
                    JavaScript
                    Apache 2.0
                  • -
                    security
                    F
                    license
                    -
                    quality
                    This MCP server implementation allows users to manage and expose actions as tools from their Integration App workspace through the Model Context Protocol.
                    Last updated -
                    10
                    14
                    JavaScript
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.
                    Last updated -
                    2

                  View all related MCP servers

                  ID: pu6x5f1oro