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) サーバー実装。
前提条件
- Node.js (v14以上)
- Java開発キット(JDK)
- Android SDK(Android テスト用)
- Xcode (iOS テスト用、macOS のみ)
- Appiumサーバー
- Androidデバイスまたはエミュレータ / iOSデバイスまたはシミュレータ
設定
- 依存関係をインストールします:
- Appium サーバーをインストールして起動します。
- Android デバイス/エミュレータをセットアップします。
- Androidデバイスで開発者向けオプションを有効にする
- USBデバッグを有効にする
- USB経由でデバイスを接続するか、エミュレータを起動します
adb devices
を使用してデバイスが接続されていることを確認する
テストの実行
- プロジェクトをビルドします。
- MCP サーバーを起動します。
- 新しいターミナルでテストを実行します。
テスト構成
サンプルテストでは、Android設定アプリをデモとして使用します。独自のアプリをテストするには、以下の手順に従ってください。
examples/appium-test.ts
を編集します。deviceName
デバイスに合わせて更新します- APKファイルへの
app
を設定するか、 - インストールされたアプリの
appPackage
とappActivity
を更新する
- 共通機能の構成:
利用可能なアクション
MCP サーバーはさまざまな Appium アクションをサポートしています。
- 要素の相互作用:
- 要素を見つける
- タップ/クリック
- テキストを入力
- 要素までスクロール
- 長押し
- アプリ管理:
- アプリを起動/閉じる
- アプリをリセット
- 現在のパッケージ/アクティビティを取得する
- デバイスコントロール:
- 画面の向き
- キーボード操作
- デバイスのロック/ロック解除
- スクリーンショット
- バッテリー情報
- 高度な機能:
- コンテキスト切り替え(ネイティブ/WebView)
- ファイル操作
- 通知
- カスタムジェスチャー
トラブルシューティング
- デバイスが見つかりません:
adb devices
の出力を確認する- USBデバッグが有効になっていることを確認する
- デバイスを再接続してみてください
- アプリがインストールされません:
- APKパスが正しいことを確認する
- デバイスに十分なストレージがあるか確認する
- アプリがデバッグ用に署名されていることを確認する
- 要素が見つかりません:
- Appium Inspectorを使用してセレクタを検証する
- 画面上に要素が表示されているかどうかを確認する
- さまざまなロケーター戦略を試す
- 接続の問題:
- Appiumサーバーが実行中であることを確認する
- ポートの競合を確認する
- 正しい機能が設定されていることを確認する
貢献
追加機能やバグ修正に関する問題やプル リクエストをお気軽に送信してください。
ライセンス
マサチューセッツ工科大学
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Appium を使用してモバイル アプリの自動化を可能にし、標準化されたプロトコルを通じてさまざまなデバイスのインタラクション、要素の操作、アプリの管理をサポートするモデル コンテキスト プロトコル (MCP) サーバーです。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA 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 -5Python
- AsecurityAlicenseAqualityA 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 -3936JavaScriptApache 2.0
- -securityFlicense-qualityThis MCP server implementation allows users to manage and expose actions as tools from their Integration App workspace through the Model Context Protocol.Last updated -1014JavaScript
- -security-license-qualityA 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