kde-wayland-mcp
Provides automation for the KDE Plasma desktop on Wayland, including screen and monitor info, screenshots, mouse movement/clicking/scrolling, and keyboard/text input.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
kde-wayland-mcp
Minimal, pure-Wayland KDE Plasma desktop automation MCP server (zero X11 / zero xdotool).
Architecture
Display geometry:
kscreen-doctor -j(logical screen size, monitor positions, fractional scaling)Screenshots:
spectacle -f -b -n --scaled -o <tmp.png>(matches logical coordinates 1:1 by default)Input injection:
ydotool+ydotooldover/dev/uinputwith socket at$XDG_RUNTIME_DIR/.ydotool_socket
Key KDE Plasma / Wayland Fixes Built In
Flat pointer acceleration on
ydotoold virtual device: KWin defaults virtual pointers to Adaptive acceleration (~2x overshoot).server.pyenforcespointerAccelerationProfileFlat = truevia KWin D-Bus (org.kde.KWin /org/kde/KWin/InputDevice/*), which KWin persists in~/.config/kcminputrconly forydotoold virtual device.Reliable absolute movement on
ydotool 1.0.4: Single-shotydotool mousemove -a -x X -y Yemits(-2147483648, -2147483648)and(+X, +Y)with 0 ms delay, which KWin frequently drops back to(0, 0).server.pysplits reset (mousemove -a -x 0 -y 0), a 15 ms settle, and relative offset (mousemove -x X -y Y) for 1-pixel logical accuracy.
Related MCP server: dual-wield-mcp
MCP Tools
Tool | Description |
| Logical/physical monitor resolution, positions, refresh rate, and scaling. |
| Silent PNG capture + JSON resolution metadata ( |
| Move pointer to exact logical |
| Click at |
| Relative mouse wheel scroll ( |
| Type literal UTF-8/ASCII text safely via |
| Key names ( |
Files on This Machine
Repository:
~/projects/kde-wayland-mcp/Systemd user override:
~/.config/systemd/user/ydotool.service.d/override.conf(template inconfig/ydotool-override.conf)KWin virtual mouse profile:
~/.config/kcminputrc([Libinput][9011][26214][ydotoold virtual device])Antigravity MCP config:
~/.gemini/config/mcp_config.json(snippet inconfig/mcp_config.snippet.json)
Setup & Verification
# Re-apply setup on a fresh machine:
./scripts/install.sh
# Check ydotoold daemon status:
systemctl --user status ydotool.service
# Run non-destructive end-to-end verification:
.venv/bin/python scripts/verify.pyLicense
Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).
Pushing to a Remote (Optional)
cd ~/projects/kde-wayland-mcp
git remote add origin <your-git-repo-url>
git push -u origin mainTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that controls native Wayland windows on KDE Plasma from an AI agent, enabling window listing, screenshots, clicks, typing, and more.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for controlling Linux desktops over Wayland, enabling AI agents to perform mouse, keyboard, window, and screenshot operations on Fedora KDE Plasma.AGPL 3.0
- AlicenseAqualityDmaintenanceEnables LLMs to capture desktop screenshots and control the mouse and keyboard on Linux, including Wayland, through MCP.111MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to automate a Linux desktop natively on Wayland, with 68 tools for screen capture, input simulation, browser automation, OCR, accessibility, media, audio, clipboard, notifications, filesystem, system, memory, and network operations through the MCP protocol.MIT