PIX4Dmatic MCP
PIX4Dmatic MCP
Локальный MCP-сервер для управления PIX4Dmatic в Windows посредством автоматизации графического интерфейса.
Эта первая версия реализует уровень наблюдения и управления MVP:
подключение к уже запущенному процессу PIX4Dmatic
запуск PIX4Dmatic при необходимости
фокусировка окна PIX4Dmatic
создание скриншота
отправка горячих клавиш или обычного текста
нажатие на видимый текст интерфейса или пути меню
проверка дерева автоматизации пользовательского интерфейса (UI Automation tree)
открытие существующего файла проекта
запуск обработки с помощью видимых элементов управления
ожидание перехода PIX4Dmatic в состояние простоя
выполнение защищенного JSON-задания для существующего проекта или текущего сеанса
чтение последних логов PIX4Dmatic
проверка ожидаемых выходных файлов
сбор диагностических данных
Установка
Установите зависимости:
python -m pip install -r requirements.txtОпциональная установка редактируемого пакета:
python -m pip install -e . --no-build-isolationЕсли установка пакета заблокирована локальными разрешениями, запустите его напрямую из этой директории:
$env:PYTHONPATH = "src"
python -m pix4dmatic_mcp.serverRelated MCP server: atomic-computer-mcp
Запуск
$env:PYTHONPATH = "src"
python -m pix4dmatic_mcp.serverКонфигурация
Сервер автоматически загружает значения по умолчанию, а затем при необходимости считывает:
PIX4DMATIC_MCP_CONFIGpix4dmatic_mcp_config.jsonв текущей рабочей директорииconfig/pix4dmatic_mcp_config.jsonв текущей рабочей директории
Полезные переменные окружения для переопределения:
PIX4DMATIC_EXEPIX4DMATIC_MCP_DIAGNOSTICS_DIR
См. examples/pix4dmatic_mcp_config.example.json.
Для Codex или другого MCP-клиента используйте examples/mcp_config.example.json в качестве отправной точки.
Быстрые локальные проверки
Ожидается, что PIX4Dmatic запущен в обычном сеансе рабочего стола Windows.
$env:PYTHONPATH = "src"
python scripts/test_status.py
python scripts/inspect_ui.pyИнструменты MCP
Сеанс и наблюдение:
pix4d_launchpix4d_focuspix4d_get_statuspix4d_screenshotpix4d_window_screenshotpix4d_get_ui_tree
Низкоуровневое управление интерфейсом:
pix4d_send_hotkeypix4d_type_textpix4d_click_textpix4d_click_menupix4d_list_menu_items
Проект и обработка:
pix4d_open_projectpix4d_start_processingpix4d_wait_until_idlepix4d_run_jobpix4d_run_job_objectpix4d_run_batchpix4d_run_batch_object
Логи и результаты:
pix4d_read_latest_logspix4d_find_log_errorspix4d_check_outputspix4d_analyze_projectpix4d_detect_blockerspix4d_collect_diagnostics
Безопасность заданий
pix4d_run_job_object и pix4d_run_job запускают процесс обработки. Задание должно либо содержать project_path, либо явно устанавливать use_current_session в значение true.
Используйте dry_run: true для проверки намерений задания без взаимодействия с интерфейсом PIX4Dmatic.
Пакетные файлы (batch files) выполняют задания последовательно. Установите continue_on_failure: true для продолжения после неудачного выполнения задания. См. examples/batch.example.json.
Безопасность
Сервер только запускает PIX4Dmatic и не предоставляет возможности запуска произвольных процессов. Он не автоматизирует вход в систему или изменение лицензий.
Available Tools
18 toolspix4d_check_outputsB
Check whether expected PIX4Dmatic outputs exist under a project directory.
Inputs: project_dir (required), expected (required). Returns: object
pix4d_click_textC
Click a visible PIX4Dmatic UI control by accessible text.
Inputs: text (required), timeout_sec. Returns: object
pix4d_collect_diagnosticsB
Collect screenshot, recent logs, and status into a diagnostics directory.
Inputs: output_dir (required), project_dir. Returns: object
pix4d_find_log_errorsC
Summarize warnings and errors from the latest PIX4Dmatic log.
Inputs: lines, project_dir. Returns: object
pix4d_focusB
Focus the PIX4Dmatic main window.
Inputs: no named parameters. Returns: object
pix4d_get_statusB
Return PIX4Dmatic process and window status.
Inputs: no named parameters. Returns: object
pix4d_get_ui_treeB
Return a compact UI Automation tree for selector discovery.
Inputs: depth. Returns: object
pix4d_launchC
Launch PIX4Dmatic or attach to the existing process.
Inputs: exe_path. Returns: object
pix4d_open_projectB
Open an existing PIX4Dmatic project file.
Inputs: project_path (required). Returns: object
pix4d_read_latest_logsB
Read recent lines from the newest discovered PIX4Dmatic log file.
Inputs: lines, project_dir. Returns: object
pix4d_run_jobC
Load and run a JSON job file.
Inputs: job_path (required). Returns: object
pix4d_run_job_objectC
Run a job object against the current PIX4Dmatic session or an existing project_path.
Inputs: job (required). Returns: object
pix4d_screenshotB
Save a screenshot of the current desktop.
Inputs: output_dir. Returns: object
pix4d_send_hotkeyB
Send a pywinauto hotkey string to PIX4Dmatic, for example '^o' or '{F5}'.
Inputs: keys (required). Returns: object
pix4d_start_processingD
Start processing by clicking the first matching processing control.
Inputs: selectors, timeout_sec. Returns: object
pix4d_type_textB
Type plain text into the focused PIX4Dmatic control.
Inputs: text (required). Returns: object
pix4d_wait_until_idleB
Wait until PIX4Dmatic appears idle based on process CPU and recent logs.
Inputs: timeout_sec, poll_sec, idle_cpu_percent, idle_checks, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools have distinct purposes, such as launching, opening projects, running jobs, and checking outputs, but there is some overlap between pix4d_click_menu and pix4d_click_text, which both involve clicking UI elements, and between pix4d_run_job and pix4d_run_job_object, which both handle job execution, potentially causing confusion.
All tool names follow a consistent 'pix4d_' prefix with snake_case and descriptive verb-noun patterns, such as pix4d_launch, pix4d_open_project, and pix4d_check_outputs, making them predictable and easy to understand.
With 18 tools, the count is slightly high but reasonable for a desktop automation server covering UI interaction, job processing, diagnostics, and monitoring, though it could be streamlined by merging overlapping tools.
The toolset covers key areas like launching, project management, job execution, UI automation, and diagnostics, but there are minor gaps, such as no explicit tools for closing projects or handling errors beyond logging, which agents might need to work around.
Related MCP Connectors
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.MIT
- FlicenseNot gradedqualityDmaintenanceEnables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.1-
- AlicenseNot gradedqualityDmaintenanceProvides desktop automation tools for Windows, enabling mouse and keyboard control, screenshots, clipboard management, and application interaction via the MCP protocol.86 npmMIT
- AlicenseAqualityDmaintenanceEnables general-purpose Windows desktop automation via MCP tools: opening applications and URLs, taking screenshots, checking whether processes are running, and waiting.6MIT