
GNOME UI MCP
io.github.asattelmaierPublished by GitHub account asattelmaierv0.5.0Updated Oct 24, 2026
GNOME Wayland desktop automation via AT-SPI discovery and Mutter input.
Overview
MCP server that lets an assistant inspect and control a local GNOME Wayland desktop: find elements, click, type, hover, fill forms and take screenshots.
- What you can do
- Take snapshots of the active window to get stable element uids, and set the snapshot scope by selecting a window
- Click, fill, hover and fill forms on elements by uid, with automatic waiting and effect verification
- List windows and use lower-level path-based tools such as find_elements, click_element and set_element_text
- Capture screenshots and use wait helpers to let the UI settle
- Enable or disable tool categories at startup
- When to use it
- Useful when an assistant should drive or test a GNOME desktop application on Wayland, for example to reproduce UI steps, fill in forms or verify what is on screen, on the same machine as the live session.
- Requirements
- A Linux host running GNOME Shell on Wayland with a live local session; the session environment variables DBUS_SESSION_BUS_ADDRESS, XDG_RUNTIME_DIR, WAYLAND_DISPLAY, DISPLAY and XDG_SESSION_TYPE must be available. The recommended path uses Docker Engine with host networking, the same user id, and runtime mounts; the container must run on the same machine as the session.
Installation
In SourceWeft
- Open GNOME UI MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
gnome-ui-mcp
Small MCP server for GNOME Wayland desktop automation.
It exposes GNOME desktop inspection and interaction through AT-SPI for discovery and Mutter RemoteDesktop for input. In practice that means element lookup, activation, typing, screenshots, and wait helpers for the current desktop session.
For navigation it follows a snapshot-driven model: take a snapshot of the active window to get stable element uids, then click/fill/hover/fill_form those uids. Stale uids are rejected rather than silently mis-targeted, and actions auto-wait for the UI to settle. See Navigation below.
Requirements
- Linux host with GNOME Shell on Wayland
- Live local GNOME session on the machine you want to automate
- Session environment available:
DBUS_SESSION_BUS_ADDRESS,XDG_RUNTIME_DIR,WAYLAND_DISPLAY,DISPLAY,XDG_SESSION_TYPE
Docker
- Docker Engine
The container must run on the same machine as the GNOME session and use the session environment plus runtime mounts.
Docker image
The recommended way to run the server is via the published GHCR image:
latest tracks the most recent release. Version tags such as v0.1.0 publish matching image tags as well.
Docker setup
Direct docker run:
--user "$(id -u):$(id -g)" is required so the container joins the same user
session as GNOME, D-Bus, and AT-SPI.
Local development via Compose:
This path additionally requires docker compose.
- Copy
.env.exampleto.env - Adjust the values to your session
- Run:
Available transports
The server supports three transports, both locally and in Docker:
stdio(default): recommended for local MCP clients that spawn the server processstreamable-http: recommended for HTTP-based integrations onhttp://127.0.0.1:8000/mcpsse: available for backwards compatibility onhttp://127.0.0.1:8000/ssewith message POSTs tohttp://127.0.0.1:8000/messages/
Examples:
The same flags can be passed to the Docker image by appending them after the image name:
Marketplaces
The repository includes metadata for these distribution channels:
- MCP Registry via
server.json - Claude Code plugin marketplaces via
.claude-plugin/plugin.json - VS Code and GitHub agent plugin marketplaces via
.github/plugin/plugin.json
Claude Code plugin marketplace
To add this repository as a plugin marketplace in Claude Code:
Then install the plugin:
The plugin starts the published Docker image through
scripts/run-docker-mcp.sh, so Docker and the
GNOME session environment must be available on the host.
Example MCP client configuration
Navigation
The blessed way to drive the desktop is snapshot-first:
take_snapshot— capture the active window (or passwindowfromlist_windows, orapp_name). Every element gets a stable opaqueuidsuch as7_42.click/fill/hover/fill_form— reference elements byuid. Actions auto-wait for the shell to settle and report effect verification. Passinclude_snapshot=trueto get a fresh snapshot of the result in the same turn.select_windowsets the implicit snapshot scope.
A uid is only valid for the latest snapshot: if the UI changed and a uid is rejected as stale, call take_snapshot again and use a fresh one. The lower-level path-based tools (find_elements, click_element, set_element_text, …) remain available as advanced building blocks.
Tool categories can be enabled or disabled at startup with --category NAME / --no-category NAME (for example --category navigation --category input).
API Documentation
Complete tool reference available at https://asattelmaier.github.io/gnome-ui-mcp/
Security
This server can inspect and control the active desktop session. Use it only with trusted MCP clients.
Containerized execution on Ubuntu may require --security-opt apparmor=unconfined
so the process can talk to the GNOME session buses.
Source: README.md at commit b11ec2f
Tools
0Version history
1- v0.5.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts