find_ui_elements
query str, appname? str, states? list[str]
How to use it
find_ui_elements is exposed by the Kwin MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the find_ui_elements tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Kwin MCP
uv tool install kwin-mcpOther tools in Kwin MCP (29)
appname? str, maxdepth? int (15), role? str
(none)
text str
service str, path str, interface str, method str, args? list[str]
appname str
key str, screenshotafterms? list[int]
key str
key str
text str, screenshotafterms? list[int]
text str, screenshotafterms? list[int]
command str, env? dict
(none)
x int, y int, button? str ("left")
x int, y int, button? str ("left")
x int, y int, button? str ("left"), double? bool, triple? bool, modifiers? list[str], holdms? int (0), screenshotafterms? list[int]
fromx int, fromy int, tox int, toy int, button? str ("left"), modifiers? list[str], waypoints? list[[x,y,dwellms]], screenshotafterms? list[int]
x int, y int, screenshotafterms? list[int]
x int, y int, delta int, horizontal? bool, discrete? bool, steps? int (1)
pid int, lastnlines? int (50)
includecursor? bool (false)
dbusaddress? str, waylanddisplay? str, keepscreenshots? bool (false)
appcommand? str, screenwidth? int (1920), screenheight? int (1080), enableclipboard? bool (false), keepscreenshots? bool (false), isolatehome? bool (false), keephome? bool (false), env? dict
(none)
fromx int, fromy int, tox int, toy int, fingers? int (3), durationms? int (300), screenshotafterms? list[int]
centerx int, centery int, startdistance int, enddistance int, durationms? int (500), screenshotafterms? list[int]
fromx int, fromy int, tox int, toy int, durationms? int (300), screenshotafterms? list[int]
x int, y int, holdms? int (0), screenshotafterms? list[int]
query str, appname? str, timeoutms? int (5000), pollintervalms? int (200), expectedstates? list[str]
filterprotocol? str