Skip to main content
Glama
PIX4Dmatic MCP

PIX4Dmatic MCP

by jangjo123

PIX4Dmatic MCP

GUI 자동화를 통해 Windows에서 PIX4Dmatic을 제어하기 위한 로컬 MCP 서버입니다.

이 첫 번째 버전은 MVP 관찰 및 제어 계층을 구현합니다:

  • 이미 실행 중인 PIX4Dmatic 프로세스에 연결

  • 필요 시 PIX4Dmatic 실행

  • PIX4Dmatic 창 포커스

  • 스크린샷 캡처

  • 단축키 또는 일반 텍스트 전송

  • 표시된 UI 텍스트 또는 메뉴 경로 클릭

  • UI 자동화 트리 검사

  • 기존 프로젝트 파일 열기

  • 표시된 처리 제어 항목에서 처리 시작

  • 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.server

Related MCP server: atomic-computer-mcp

실행

$env:PYTHONPATH = "src"
python -m pix4dmatic_mcp.server

구성

서버는 기본값을 자동으로 로드한 다음, 선택적으로 다음을 읽습니다:

  • PIX4DMATIC_MCP_CONFIG

  • 현재 작업 디렉토리의 pix4dmatic_mcp_config.json

  • 현재 작업 디렉토리의 config/pix4dmatic_mcp_config.json

유용한 환경 변수 재정의:

  • PIX4DMATIC_EXE

  • PIX4DMATIC_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_launch

  • pix4d_focus

  • pix4d_get_status

  • pix4d_screenshot

  • pix4d_window_screenshot

  • pix4d_get_ui_tree

저수준 UI 제어:

  • pix4d_send_hotkey

  • pix4d_type_text

  • pix4d_click_text

  • pix4d_click_menu

  • pix4d_list_menu_items

프로젝트 및 처리:

  • pix4d_open_project

  • pix4d_start_processing

  • pix4d_wait_until_idle

  • pix4d_run_job

  • pix4d_run_job_object

  • pix4d_run_batch

  • pix4d_run_batch_object

로그 및 출력:

  • pix4d_read_latest_logs

  • pix4d_find_log_errors

  • pix4d_check_outputs

  • pix4d_analyze_project

  • pix4d_detect_blockers

  • pix4d_collect_diagnostics

작업 안전성

pix4d_run_job_object 및 pix4d_run_job은 처리를 시작합니다. 작업은 project_path를 제공하거나 use_current_session을 명시적으로 true로 설정해야 합니다.

PIX4Dmatic UI를 클릭하지 않고 작업 의도를 검증하려면 dry_run: true를 사용하십시오.

배치 파일은 작업을 순차적으로 실행합니다. 실패한 작업 후에도 계속하려면 continue_on_failure: true를 설정하십시오. examples/batch.example.json을 참조하십시오.

안전성

서버는 PIX4Dmatic만 실행하며 일반 프로세스 실행기를 노출하지 않습니다. 로그인이나 라이선스 변경을 자동화하지 않습니다.

Available Tools

18 tools
pix4d_check_outputsB

Check whether expected PIX4Dmatic outputs exist under a project directory.

Inputs: project_dir (required), expected (required). Returns: object

pix4d_click_menuC

Click a menu or menu-like UI path by visible text labels.

Inputs: path (required), timeout_sec. 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

    B3/5.0

    Scored across 18 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides desktop automation tools for Windows, enabling mouse and keyboard control, screenshots, clipboard management, and application interaction via the MCP protocol.
      86 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables general-purpose Windows desktop automation via MCP tools: opening applications and URLs, taking screenshots, checking whether processes are running, and waiting.
      6
      MIT