Hyprland Computer Use
Let an AI client see and drive a Hyprland desktop on Wayland
Hyprland Computer Use is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- Linux, CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (6 tools)
- Version
- 0.2.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add hypr-cua-mcp -- uvx hypr-cua-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"hypr-cua-mcp": {
"command": "uvx",
"args": [
"hypr-cua-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"hypr-cua-mcp": {
"command": "uvx",
"args": [
"hypr-cua-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hypr-cua-mcp": {
"command": "uvx",
"args": [
"hypr-cua-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"hypr-cua-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"hypr-cua-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add hypr-cua-mcp -- uvx hypr-cua-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.hypr-cua-mcp]
command = "uvx"
args = ["hypr-cua-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hypr-cua-mcp": {
"command": "uvx",
"args": [
"hypr-cua-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Or run: gemini mcp add -s user hypr-cua-mcp uvx -- hypr-cua-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "hypr-cua-mcp": { "command": "uvx", "args": [ "hypr-cua-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Hyprland Computer Use
Generic Linux computer-use servers hand the model one huge multi-monitor screenshot and leave it to guess pixels. This server instead crops to a single output or window with grim, downscales to the vision budget, and exposes Hyprland's window tree so the model can target windows by address. Every screenshot returns a frame_id, and pointer tools translate coordinates from that image back to global layout pixels, rejecting stale or unknown frames.
Input goes through a self-owned uinput device, so it needs read-write access to /dev/uinput but no root and no ydotoold. Window-control tools such as focus, launch and workspace moves require a Hyprland 0.55+ Lua config; screenshots, input, clipboard, tmux, task and browser tools work without it. Optional channels run terminals in detached tmux sessions on an isolated socket and drive Chrome tabs over the DevTools protocol without touching your main profile.
It runs locally over stdio inside your Hyprland session, needs Python 3.11+ and uv, and is a Wayland successor to the same author's i3 (X11) server.
Tools this server provides (20)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 6 of 20 tools change data; 10 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_windowsName suggests: reads
- Lists every Hyprland window with address, class, title, workspace, output and geometry.
- get_outputsName suggests: reads
- Lists active monitors with geometry, scale and workspace.
- screenshot
- Screenshots one output, downscaled to the API budget.
- screenshot_window
- Full-resolution crop of a single window.
- get_mouseName suggests: reads
- Returns the current global pointer location.
- click
- Clicks at coordinates in a screenshot's pixel space.
- type_text
- Types text, optionally focusing a window first.
- key
- Sends key presses, optionally focusing a window first.
- read_clipboardName suggests: reads
- Reads the clipboard or primary selection as exact text.
- write_clipboardName suggests: changes
- Writes text to the clipboard or primary selection.
- focus_window
- Focuses a window by address.
- launch
- Launches an app via Hyprland's exec dispatcher.
- goto_workspace
- Switches to a workspace.
- move_window_to_workspaceName suggests: changes
- Moves a window to a workspace.
- set_floatingName suggests: changes
- Toggles a window's floating state.
- layout_message
- Sends a message to the active layout engine.
- run_dispatchName suggests: changes
- Raw Hyprland dispatcher escape hatch with exit blocked.
- tmux_runName suggests: changes
- Runs a command in a detached tmux session.
- task_startName suggests: changes
- Starts a command as a background task.
- cdp_navigate
- Navigates a Chrome tab over the DevTools protocol.
What it does
- Per-output screenshots
- Captures one monitor or window with grim and downscales it to the vision API budget.
- Frame-mapped clicks
- Translates screenshot coordinates to global pixels and rejects stale frame IDs.
- Window targeting
- Lists windows with address, class, title, workspace and geometry from hyprctl.
- Off-screen channels
- Runs tmux terminals, background tasks and Chrome DevTools tabs without stealing focus.
- Clipboard access
- Reads and writes exact clipboard text, and write returns only a length.
- Hyprland control
- Focuses windows, launches apps and moves workspaces through dispatchers.
Good for
- Let Claude Code operate GUI apps on a Hyprland desktop
- Run terminal commands in isolated tmux sessions from an AI client
- Automate Chrome tabs through DevTools without using your main profile
- Read small on-screen text through full-resolution window crops
Pricing
Open source
Installed from PyPI; the repository carries a LICENSE file
Hyprland Computer Use FAQ
What do I need to run Hyprland Computer Use?
Hyprland on Wayland, Python 3.11+, uv, grim, wl-clipboard and read-write access to /dev/uinput. tmux and Chromium are optional.
Does Hyprland Computer Use need root?
No. Input uses a self-owned uinput device, with no root and no ydotoold, provided your user has uinput access.
Which tools need a Lua config?
The window-control tools such as focus_window, launch, goto_workspace and run_dispatch need a hyprland.lua config on Hyprland 0.55+.
How do I add Hyprland Computer Use to Claude Code?
Run claude mcp add hypr-cua -- uvx hypr-cua-mcp.
Is Hyprland Computer Use free?
Yes. Hyprland Computer Use is open source, so you can use and self-host it for free.
What are the best alternatives to Hyprland Computer Use?
The closest alternatives to Hyprland Computer Use are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


