Promptium について
Promptiumは、自然言語でモバイルアプリをテストする開発者向けの、JavaとAppiumを使ったUI自動化フレームワークです。LLMが指示を解釈し、Claude Desktop用のMCPサーバーも備えています。
主な機能
- 01AppiumによるデバイスとUIの自動化
- 02シミュレーターと実機への対応
- 03自然言語のテスト指示をLLMで解釈
- 04Claude Desktop接続用MCPサーバー
活用シーン
- 01自然言語の指示によるモバイルテスト実行
- 02シミュレーターや実機での画面撮影、タップ、スワイプ
MCP 対応
PromptiumはMCPサーバーを実装し、Claude Desktopと接続して自然言語によるテストフローを実行できます。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
詳細
Promptium
Appium と MCP を使用した LLM 駆動型 UI 自動化
このプロジェクトは、Appium と統合し、**LLM(Claude など)**を活用して、モバイルデバイスやシミュレーターでインテリジェントなテスト操作を実行する Java ベースの UI 自動化フレームワークです。
主な機能
-
Appium による UI 自動化
ローカルシミュレーターと実機の両方で、タップ、スワイプ/スクロール、スクリーンショットの撮影などのデバイス操作をサポートします。 -
インテリジェントなテスト制御のための LLM 統合
LLM(大規模言語モデル)を活用して自然言語の指示を解釈し、UI の動作を制御します。 -
Model Context Protocol(MCP)サーバー
MCP サーバーを実装し、Claude Desktop との通信を可能にすることで、コンテキストを考慮した自然言語駆動型のテストフローを実現します。 -
Java ベースのアーキテクチャ
信頼性、パフォーマンス、既存のテストエコシステムとのシームレスな統合を実現するため、Java で構築されています。
使用技術
- Java 23 以降(必要な最小バージョンは Java 17)
- Appium
- MCP Protocol
- LLM(Claude Desktop 統合)
プロジェクト構成
src/
├── main/
│ └── java/
│ └── com/jadt/
│ ├── builder/ # Appium driver capabilities builder
│ ├── connector/ # Appium driver download, intiate and connection logic
│ └── domain/ # Domain Objects for images and page source
│ └── handler/ # Actions logic
│ └── util/ # Image (Screenshot) and Page Source utilities
設定手順(macOS 向け)
- Homebrew をインストールします
- インストールします:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - システムパスに追加します:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
- インストールします:
- Node をインストールします:
brew install node - Install Appium
npm install -g appium - Install XCode:
xcode-select --install - Carthage
brew install carthage(Only for Physical iOS Devices) - Install XCUITest Plugin for appium
appium driver install xcuitest
iOS Device Access Requirements
- Apple Hardware Required
- You must have Xcode installed from the App Store on Mac.
- Connect a real iOS device via USB or use a simulator.
- Trust the developer certs on the device (if testing on real devices).
- Enable Developer Mode on ios in System Settings > Privacy & Security > Developer Mode > On
- Enable UI Automation on ios in System Settings > Developer > Enable UI Automation (Tap/Toggle to enable)
Claude Setup
- Download Claude Desktop from https://claude.ai/download (Mcp not supported on claude web yet.)
- Setup MCP -> Settings > Developer > Edit Config
- Add the following code to
claude_desktop_config.jsonundermcpServers, if you want to use the offical release.{ "promptium": { "command": "sh", "args": ["-c", "curl -sL https://github.com/sycophant21/promptium/releases/latest/download/Promptium_v0.0.1.jar -o /tmp/promptium-mcp-server.jar && java -jar /tmp/promptium-mcp-server.jar"] } } - Add the following code to
claude_desktop_config.jsonundermcpServers, if you want to use your own compiled version.
Note: Jar can be compiled using java and maven, the instructions to create the jar are already written in the pom.xml file, just run{ "promptium": { "command": "java", "args": ["-jar", "Absolute-Path/to/your/compiled/jar"] } }mvn packagein the project folder and you will find the jar inside "/target" folder. Use the shaded jar.
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。