Skip to main content
Glama
alderban107

hyprland-mcp

by alderban107

launch_app

Launch applications on Hyprland desktop environments by executing commands to open programs or files directly from the system.

Instructions

Launch an application (detached, via Hyprland).

Args: command: The command to run (e.g. "firefox", "kitty", "nautilus ~/Documents")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes

Implementation Reference

  • The launch_app tool handler implementation in server.py, which uses hyprctl.dispatch to execute the command.
    @mcp.tool()
    async def launch_app(command: str) -> str:
        """Launch an application (detached, via Hyprland).
    
        Args:
            command: The command to run (e.g. "firefox", "kitty", "nautilus ~/Documents")
        """
        await hyprctl.dispatch("exec", command)
        return f"Launched: {command}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alderban107/hyprland-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server