qontinui-runner-mcp

qontinui/qontinui-runner-mcp

3.2

If you are the rightful owner of qontinui-runner-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Qontinui Desktop Runner & MCP Server is a Tauri-based application designed for running automation scripts and integrating AI agents through the Model Context Protocol (MCP).

Tools
5
Resources
0
Prompts
0

Qontinui Runner MCP Server

MCP (Model Context Protocol) server for Qontinui visual automation with integrated execution.

Overview

This MCP server enables AI agents (like Claude) to:

  • Discover automation actions and workflow templates via full-text search
  • Generate workflows from natural language descriptions
  • Validate workflow structures with cycle detection
  • Execute GUI automations using the Qontinui Python executor
  • Track execution history and retrieve results

Architecture

┌──────────────────────────────────────────────────────────────┐
│                       Claude Code                             │
│                            ↓                                  │
│  ┌────────────────────────────────────────────────────────┐  │
│  │           qontinui-runner-mcp (Python MCP Server)       │  │
│  │                                                         │  │
│  │  MCP Tools:                                             │  │
│  │  • search_nodes, search_workflows (knowledge)           │  │
│  │  • generate_workflow, validate_workflow                 │  │
│  │  • run_automation, get_execution (execution)            │  │
│  │                                                         │  │
│  │  Executor Bridge:                                       │  │
│  │  • Spawns Python executor process                       │  │
│  │  • JSON communication via stdin/stdout                  │  │
│  │  • Event collection and result tracking                 │  │
│  │                                                         │  │
│  │  Database:                                              │  │
│  │  • SQLite with FTS5 for search                          │  │
│  │  • Execution history and events                         │  │
│  └────────────────────────────────────────────────────────┘  │
│                            ↓                                  │
│  ┌────────────────────────────────────────────────────────┐  │
│  │        Python Executor (from qontinui-runner)           │  │
│  │        • GUI automation (mouse, keyboard, vision)       │  │
│  │        • Screenshot capture                             │  │
│  │        • State detection                                │  │
│  └────────────────────────────────────────────────────────┘  │
└──────────────────────────────────────────────────────────────┘

Installation

Prerequisites

  • Python 3.12+
  • Poetry
  • qontinui-runner (for the Python executor)

Setup

cd mcp-server

# Install dependencies
poetry install

# Run the server
poetry run qontinui-runner-mcp

MCP Tools

Knowledge Tools

ToolDescription
search_nodesSearch action nodes by natural language
search_workflowsSearch workflow templates
get_nodes_by_categoryFilter nodes by category
get_nodes_by_action_typeFilter by action type
list_categoriesList all categories
get_action_detailsGet detailed node info

Workflow Tools

ToolDescription
generate_workflowGenerate from natural language
create_workflowCreate from structured steps
validate_workflowValidate structure and connections

Execution Tools

ToolDescription
run_automationExecute a workflow
start_executorStart the executor process
stop_executorStop the executor
get_executor_statusCheck executor state
get_execution_eventsGet events from last run

History Tools

ToolDescription
list_executionsList recent executions
get_executionGet execution details

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "qontinui": {
      "command": "poetry",
      "args": ["run", "qontinui-runner-mcp"],
      "cwd": "/path/to/qontinui-runner-mcp/mcp-server"
    }
  }
}

Claude Code

Add to .claude/settings.json:

{
  "mcpServers": {
    "qontinui": {
      "command": "poetry",
      "args": ["run", "qontinui-runner-mcp"],
      "cwd": "/path/to/qontinui-runner-mcp/mcp-server"
    }
  }
}

Example Usage

Claude: Use the search_nodes tool to find click actions.

Claude: Generate a workflow to "click the login button and type username"

Claude: Execute the workflow at /path/to/workflow.json

Claude: Get the execution events from the last run.

Development

cd mcp-server

# Install dev dependencies
poetry install --with dev

# Run linting
poetry run black src/
poetry run isort src/
poetry run ruff src/
poetry run mypy src/

Database

The server uses SQLite with FTS5 for full-text search. Database is stored at:

  • ~/.qontinui/runner-mcp/qontinui.db

Tables

  • nodes - Action node definitions
  • workflows - Workflow templates
  • executions - Execution history
  • execution_events - Detailed event logs

License

MIT License