A lightweight MCP server that exposes Hyprland's hyprctl functionality to language models, enabling natural language control of window management, layouts, and inputs for the Hyprland Wayland compositor.
Executes arbitrary hyprctl commands.
Retrieves the Hyprland version and build info.
Lists all connected monitors and properties.
Lists all active workspaces.
Lists all windows and their properties.
Lists all connected input devices.
Shows the currently active window details.
Displays all layers in the compositor.
Retrieves the current random splash message.
Dispatches a command to Hyprland.
Dynamically sets a configuration keyword.
Forces a reload of the Hyprland config file.
Enables kill mode to terminate windows by click.
{
"Hyperland MCP Server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"subprocess",
"mcp",
"run",
"<global path of the repo>/hyprmcp/hyprmcp/server.py"
],
"env": {
"PYTHONPATH": "<global path of the repo>/hyprmcp",
"HYPRLAND_INSTANCE_SIGNATURE": "<your-hyprland-instance-signature>"
}
}
}