Qontinui MCP Server
qontinui-mcp
Qontinui Runner 用の軽量MCPサーバー - AI駆動の視覚的自動化を可能にします。
インストール
pip install qontinui-mcpRelated MCP server: RPA MCP Server
クイックスタート
Qontinui Runnerを起動する (デスクトップアプリケーション)
AIクライアントを設定する (Claude Desktop, Claude Code, Cursorなど)
MCP設定に追加します:
{
"mcpServers": {
"qontinui": {
"command": "qontinui-mcp",
"args": []
}
}
}AI経由でワークフローを実行する
AIは以下のことが可能になります:
ワークフロー設定ファイルの読み込み
視覚的自動化ワークフローの実行
実行状況の監視
使用するモニターの制御
設定
環境変数:
変数 | 説明 | デフォルト |
| Runnerホストアドレス | 自動検出 (WSL対応) |
| Runner HTTPポート |
|
| 自動化結果用ディレクトリ |
|
| 開発ログ用ディレクトリ |
|
機能
エリア A: SSEイベントストリーミング
ワークフロー実行を監視するための、Server-Sent Events (SSE) によるリアルタイムイベントストリーミング。
エンドポイント: /sse/events
クライアントの使用方法:
from qontinui_mcp.client import QontinuiClient
client = QontinuiClient()
def handle_event(event: dict):
print(f"Event: {event['event_type']} - {event}")
await client.subscribe_events(callback=handle_event, timeout=60)イベントタイプ:
qontinui/execution_started- ワークフロー開始qontinui/execution_progress- ステップ完了qontinui/execution_completed- ワークフロー終了qontinui/test_started- テスト開始qontinui/test_completed- テスト終了qontinui/image_recognition- 一致検出/失敗qontinui/error- エラー発生qontinui/warning- 非致命的な問題
エリア B: MCPプロンプト
一般的な自動化タスクのためのパラメータ化されたプロンプトテンプレート。プロンプトはRunnerからのコンテキストを集約し、構造化されたデバッグ、分析、検証ワークフローを提供します。
プロンプト | 説明 | 引数 |
| 構造化されたデバッグアプローチでテスト失敗を分析 |
|
| UI検証のためのスクリーンショットの視覚的分析 |
|
| 失敗したPlaywrightテストを修正するための構造化ワークフロー |
|
| 現在のGUI状態が期待されるワークフロー状態と一致するか検証 |
|
| UI動作の検証テストを生成 |
|
| 自動化実行結果をレビューし、問題を特定 |
|
| テンプレートマッチングと画像認識の問題をデバッグ |
|
| 実行進捗を含むタスク状況の要約 |
|
| 検証基準が失敗した理由を分析 |
|
| 機能の検証計画を生成 |
|
エリア C: ツールキャッシング
MCPツールリストのリクエストを最適化するためのバージョンベースのツールキャッシング。
エンドポイント: /tool-version
レスポンス:
{
"version": "abc123...",
"tool_count": 35,
"test_count": 12
}MCPサーバーはツールをキャッシュし、以下の場合にキャッシュを無効化します:
Runnerのツールバージョンが変更された場合 (設定の読み込み、テストの追加/削除)
キャッシュが5分以上経過した場合 (フォールバック)
エリア E: 権限システム
OpenCodeの権限システムに着想を得た、ツール呼び出しに対するきめ細かな権限制御。
権限レベル:
レベル | 説明 | ツール例 |
| データの読み取りのみを行う安全な操作 |
|
| ワークフローやテストを実行する操作 |
|
| データを変更する操作 |
|
| 実行を中断させる可能性のある操作 |
|
設定:
from qontinui_mcp.permissions import get_permission_service, PermissionLevel
service = get_permission_service()
# Auto-approve only read operations (default)
service.configure(auto_approve_levels={PermissionLevel.READ_ONLY})
# Auto-approve all operations (trusted context)
service.auto_approve_all()
# Custom permission handler
service.on_request = lambda req: input(f"Allow {req.tool_name}? (y/n)") == "y"エリア F: MCPリソース
RunnerデータにアクセスするためのURIスキームによる読み取り専用データアクセス。
URIスキーム: qontinui://{type}/{id}
リソースタイプ:
URIパターン | 説明 | MIMEタイプ |
| 現在読み込まれているワークフロー設定 |
|
| JSONLログファイル (general, actions, image-recognition, playwright) |
|
| スクリーンショットのメタデータとファイルパス |
|
| 検証テスト定義 |
|
| DOMキャプチャHTMLコンテンツ |
|
| タスク実行詳細 |
|
エリア G: インラインPython実行
uvxを介したオプションの依存関係分離による、任意のPythonコードの実行。
ツール: execute_python
パラメータ:
code(必須): 実行するPythonコードdependencies: インストールするpipパッケージのリストtimeout_seconds: 実行タイムアウト (デフォルト: 30)working_directory: 実行時の作業ディレクトリ
例:
# Simple calculation
result = await client.execute_python(
code="return {'sum': 1 + 2, 'product': 3 * 4}"
)
# result.data["return_value"] == {"sum": 3, "product": 12}
# With dependencies
result = await client.execute_python(
code="""
import requests
resp = requests.get('https://api.example.com/data')
return resp.json()
""",
dependencies=["requests"],
)エリア H: エージェント生成
焦点を絞ったタスクを持つサブエージェントを生成することによる、階層的なタスク分解。
ツール: spawn_sub_agent
パラメータ:
task(必須): サブエージェントのタスク説明tools: サブエージェントに制限するツール名のリストmax_iterations: 最大ターン数/反復回数 (デフォルト: 10)context: 提供する追加コンテキスト
例:
result = await client.spawn_sub_agent(
task="Verify that the login form works correctly",
tools=["run_workflow", "capture_screenshot", "execute_test"],
max_iterations=5,
context="The login page is at /login with username and password fields."
)利用可能なツール
コアツール
ツール | 権限 | 説明 |
| READ_ONLY | Runnerのステータスを取得 |
| READ_ONLY | 利用可能なモニターを一覧表示 |
| MODIFY | ワークフロー設定ファイルを読み込む |
| MODIFY | 読み込まれていない場合に設定を読み込む |
| READ_ONLY | 読み込まれた設定情報を取得 |
| EXECUTE | 名前でワークフローを実行 |
| DANGEROUS | 現在の実行を停止 |
タスク管理ツール
ツール | 権限 | 説明 |
| READ_ONLY | すべてのタスク実行を取得 |
| READ_ONLY | 特定のタスク実行詳細を取得 |
| READ_ONLY | タスク実行のイベントを取得 |
| READ_ONLY | タスク実行のスクリーンショットを取得 |
| READ_ONLY | タスク実行のPlaywright結果を取得 |
| EXECUTE | JSONLログをSQLiteに移行 |
自動化実行ツール
ツール | 権限 | 説明 |
| READ_ONLY | 最近の自動化実行を取得 |
| READ_ONLY | 特定の自動化実行詳細を取得 |
テスト管理ツール
ツール | 権限 | 説明 |
| READ_ONLY | すべての検証テストを一覧表示 |
| READ_ONLY | IDでテストを取得 |
| EXECUTE | 検証テストを実行 |
| READ_ONLY | テスト結果を一覧表示 |
| READ_ONLY | テスト履歴の要約を取得 |
| MODIFY | 新しい検証テストを作成 |
| MODIFY | 既存のテストを更新 |
| MODIFY | 検証テストを削除 |
テストタイプ:
playwright_cdp- Playwrightを使用したブラウザDOMアサーションqontinui_vision- 画像認識を使用した視覚的検証python_script- カスタムPython検証ロジックrepository_test- pytest、Jest、その他のテストフレームワークの実行
ログツール
ツール | 権限 | 説明 |
| READ_ONLY | 利用可能なスクリーンショットを一覧表示 |
| READ_ONLY | RunnerのJSONLログファイルを読み込む |
ログタイプ:
general- 一般的なエグゼキュータイベントactions- ワークフローアクション/ツリーイベントimage-recognition- 一致詳細を含む画像認識結果playwright- Playwrightテスト実行結果
DOMキャプチャツール
ツール | 権限 | 説明 |
| READ_ONLY | DOMキャプチャを一覧表示 |
| READ_ONLY | DOMキャプチャメタデータを取得 |
| READ_ONLY | DOMキャプチャHTMLコンテンツを取得 |
AWAS (AI Web Action Standard) ツール
AWAS標準をサポートするWebサイトと対話するためのツール。
ツール | 権限 | 説明 |
| EXECUTE | WebサイトのAWASマニフェストを検出 |
| READ_ONLY | WebサイトがAWASをサポートしているか確認 |
| READ_ONLY | 利用可能なAWASアクションを一覧表示 |
| EXECUTE | AWASアクションを実行 |
高度なツール
ツール | 権限 | 説明 |
| EXECUTE | インラインPythonコードを実行 |
| EXECUTE | 特定のタスクを持つサブエージェントを生成 |
使用例
基本的なワークフロー実行
# In an AI conversation:
"Load the config at /path/to/workflow.json and run the 'login_test' workflow on the left monitor"テスト駆動検証
# Create a verification test
"Create a Playwright test that verifies the login button is visible and enabled"
# Execute the test
"Run the login_button_visible test and show me the results"
# Debug failures
"Use the debug_test_failure prompt for test abc123 with screenshots"自動化分析
# Analyze a failed automation run
"Analyze the most recent automation run and identify why it failed"
# Debug image recognition
"Debug the template matching for the 'submit_button' template"開発
# Clone
git clone https://github.com/qontinui/qontinui-mcp
cd qontinui-mcp
# Install dependencies
poetry install
# Run server locally
poetry run qontinui-mcp
# Run type checking
poetry run mypy src/
# Run linting
poetry run ruff check src/アーキテクチャ
qontinui-mcp (MCP Server)
|
v
QontinuiClient (HTTP Client)
|
v
qontinui-runner (Desktop App, port 9876)
|
v
Python Subprocess (Qontinui Execution)このMCPサーバーは、以下の機能を提供する薄いラッパーです:
MCPプロトコルを介したRunner機能の公開
ツール呼び出しに対する権限制御の提供
パフォーマンスのためのツール定義のキャッシュ
構造化プロンプトのためのコンテキスト集約
リアルタイム監視のためのSSE経由のイベントストリーミング
ライセンス
GNU Affero General Public License v3.0以降 (AGPL-3.0-or-later) の下でライセンスされています。完全な条項については LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
Connect, monitor, and control AI agents — tasks, approvals, schedules, and governance.
Design, save, and run outcome-aligned AI workflows and verifiers, with reliable image output.
Give your AI agents the tools to build, manage, and run automation workflows.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create and manage visual automation configurations, workflows, and UI states through the Qontinui API. It supports project management, workflow execution, and configuration handling for automated web interactions.AGPL 3.0
- FlicenseNot gradedqualityNot gradedmaintenanceProvides comprehensive desktop automation capabilities including AI-powered vision, OCR, and mouse/keyboard control via a Spring Boot REST API. It enables users to execute multi-step workflows, manage files, and automate browser interactions.
- AlicenseNot gradedqualityCmaintenanceEnables AI to inspect and interact with UI elements, supporting control mode for the runner's own UI and SDK mode for external applications.AGPL 3.0

qontinui-lib-mcpofficial
AlicenseNot gradedqualityBmaintenanceEnables AI-powered visual automation workflows by providing tools for searching nodes, creating and validating workflows, and executing automation scripts via natural language.AGPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qontinui/qontinui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server