hypruse
Computer use for Hyprland on Linux: window tree over IPC, screenshots and native input
hypruse is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- Linux, CLI, Self-hosted
- Runs
- Locally
- Version
- 0.15.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add hypruse -- uvx hypruseAdd --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": {
"hypruse": {
"command": "uvx",
"args": [
"hypruse"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"hypruse": {
"command": "uvx",
"args": [
"hypruse"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hypruse": {
"command": "uvx",
"args": [
"hypruse"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"hypruse": {
"type": "stdio",
"command": "uvx",
"args": [
"hypruse"
]
}
}
}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 hypruse -- uvx hypruseOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.hypruse]
command = "uvx"
args = ["hypruse"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hypruse": {
"command": "uvx",
"args": [
"hypruse"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Or run: gemini mcp add -s user hypruse uvx -- hypruse
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }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": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }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": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "hypruse": { "command": "uvx", "args": [ "hypruse" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
HYPRUSE_SCREENSHOT_MODEHow captures are returned: 'file' writes to XDG_RUNTIME_DIR and returns the path, 'image' returns the image inline. Use 'image' for clients that render MCP images but cannot read files, such as Claude Desktop.HYPRUSE_READONLYSet to 1 to expose only the observation tools (desktop, screenshot, zoom, ui, marks, binds, wait_for). The agent can see and narrate but cannot click, type, or launch.HYPRUSE_CONFINERestrict input to a scope of windows and refuse everything outside it: 'launched' (only windows hypruse opened this session), 'class:firefox,kitty', or 'workspace:3,special:notes'. Unset means no confinement.HYPRUSE_AUTH_GUARDRefuse to click or type into system authentication dialogs (polkit, keyring prompts). On by default; 'strict' also refuses password fields in ordinary windows; 0 disables it.HYPRUSE_STRICTSet to 1 to refuse to act when the cursor or focused window moved since hypruse's last action, so the agent must re-read the desktop before retrying.HYPRUSE_MARKSet to 1 to make the agent's presence legible: tag every window it opens 'hypruse-owned' and flash an on-screen notice when it opens a window or captures the screen.HYPRUSE_CLIPBOARDSet to 1 to register the opt-in clipboard tool (never in read-only mode). Off by default because clipboards hold passwords.HYPRUSE_JOURNALRecord every tool call, refusals included, as one NDJSON line: 1 writes to XDG_STATE_HOME/hypruse/journal.ndjson, or give a path. Read it back with 'hypruse journal'. Off by default.HYPRUSE_JOURNAL_MAX_BYTESRotate the journal once it reaches this size, keeping one previous generation alongside it. Set 0 to never rotate.HYPRUSE_JOURNAL_TEXTSet to 1 to record typed and copied text in the journal verbatim instead of as a length plus digest. Off by default because keystrokes are passwords; needed only to replay typing.HYPRUSE_DRYRUNSet to 1 for a rehearsal: every acting tool validates its arguments and runs every trust guard, then reports what it would have done and delivers no input.
About hypruse
Anthropic and OpenAI's computer-use features skip Linux desktops, and hypruse fills that gap for people on the Hyprland compositor. It reads Hyprland's own window and workspace tree, so an agent can list windows without taking a screenshot, then fall back to screenshots, zoomed regions and accessibility-tree clicks when it needs to see pixels.
Its background mode lets the agent work in apps on its own workspaces while you keep using yours; the README says your cursor, focus and workspace stay put. Input goes over Wayland's virtual pointer and a virtual keyboard, with no compositor plugin, root access, ydotool daemon or X11.
Safety is set by environment variables. HYPRUSE_READONLY exposes only observation tools, HYPRUSE_CONFINE limits input to chosen windows, the auth guard refuses to click system authentication dialogs, a dry-run mode rehearses actions, and an optional journal records every call. The server makes no network connections and has no telemetry. Install from the AUR or with uv; macOS and Windows are not supported.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 9 names don't say.
From the server's own tool labels and tool names; not verified by us.
- desktop
- Returns the window and workspace tree in one call.
- screenshot
- Captures a monitor, a window or a region.
- zoom
- Captures a zoomed region.
- ui
- Reads the accessibility tree.
- marks
- Returns numbered marks over controls.
- binds
- Lists key bindings.
- wait_for
- Waits for a desktop condition.
- click_ui
- Presses a control by name through the accessibility tree.
- launch
- Runs a command through Hyprland's exec.
What it does
- Semantic desktop state
- Returns windows, workspaces and geometry over Hyprland IPC.
- Screenshots and zoom
- Captures monitors, single windows or zoomed regions with mapping metadata.
- Native input
- Clicks, scrolls and typing through Wayland virtual devices.
- Background mode
- Works on separate workspaces without taking your focus.
- Read-only mode
- Exposes only observation tools.
- Confinement and auth guard
- Restricts input to chosen windows and refuses system password dialogs.
- Action journal
- Optional NDJSON log of every tool call.
Good for
- Ask an agent to list windows on each workspace
- Let it drive an app on a hidden workspace
- Narrate the desktop with a read-only agent
- Rehearse an automation with dry-run before enabling input
Pricing
Free
Free to install from the AUR or PyPI
hypruse FAQ
Which systems does hypruse support?
Linux running Hyprland, including Omarchy; macOS and Windows are not supported.
What does hypruse need installed?
Hyprland, grim and wtype, plus uv for the uvx route.
Can I stop hypruse from clicking?
Yes, set HYPRUSE_READONLY=1 to expose only observation tools.
Does hypruse send data over the network?
The README says the plugin makes no network connections and has no telemetry; screenshots go to your own Claude session.
Is hypruse free?
Yes. hypruse is free to use.
How do I add hypruse to Claude Code?
Run this command in your terminal: claude mcp add hypruse -- uvx hypruse
What are the best alternatives to hypruse?
The closest alternatives to hypruse are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


