About Qt Commander
Qt Commander is an MCP server in the Browser category: mCP server for native Qt application automation. Inject into any running QWidget or QML app, snapshot the UI tree, find elements by text/type/property, click, type and read state from Claude, Cursor or any MCP agent. The Playwright for desktop Qt.
Install
git clone https://github.com/tiefeiyu/qt-commanderThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (22)
qt_attachInject library into a target process and open a session
Parameters not published.
qt_buildCompile injector + library on demand — `toolchain` selects `msvc` (vcvars + qtenv bat) or `mingw` (MinGW bin dir + Qt bin dir)
Parameters not published.
qt_call_methodInvoke a QObject method
Parameters not published.
qt_detachDisconnect from a session, optionally eject the library
Parameters not published.
qt_detect_msvc_and_qtAuto-detect MSVC, MinGW toolchains, and Qt installations available for building
Parameters not published.
qt_find_elementFind elements by type, text, or property query
Parameters not published.
qt_focusSet focus on a specific element
Parameters not published.
qt_get_propertyRead a QObject property
Parameters not published.
qt_key_comboSend a shortcut such as `Ctrl+C` or `Ctrl+Shift+A` (real press/release pair with modifiers)
Parameters not published.
qt_keyboard_inputSend keyboard input (typed text, optionally with held modifiers)
Parameters not published.
Show all 22 tools
qt_list_processesList running Qt processes (cross-platform via psutil)
Parameters not published.
qt_list_sessionsList active sessions
Parameters not published.
qt_mouse_clickSend a mouse click to a UI element (direct delivery)
Parameters not published.
qt_mouse_click_atClick at an exact window coordinate — routed through the real Qt input pipeline (QPA), with real scene-graph/widget hit testing, identical to a human click
Parameters not published.
qt_mouse_click_regionClick at the center of an element's on-screen region — real hit testing decides the actual target (e.g. a QML Rectangle's MouseArea)
Parameters not published.
qt_mouse_moveMove the pointer to an element-local position (drag = press → move → release)
Parameters not published.
qt_mouse_pressPress a mouse button on an element without releasing it
Parameters not published.
qt_mouse_releaseRelease a previously pressed mouse button (completes a click or a drag)
Parameters not published.
qt_prune_snapshotOcclusion-prune a snapshot: remove elements fully covered by higher-z opaque elements (equal z ordered by creation, later covers earlier; children paint above their parent), mark partially covered ones with `visible_ratio`, write a compact pruned snapshot
Parameters not published.
qt_screenshotCapture a screenshot of a specific element or window
Parameters not published.
qt_set_propertyWrite a QObject property
Parameters not published.
qt_snapshotCapture the UI element tree — `detail` selects the property tier: `core` (geometry/visibility/text, no properties), `extended` (common interaction state), `full` (every Q_PROPERTY)
Parameters not published.
Ask AI
Ask AI about Qt Commander
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.