hammerspoon

GitHub

Staggeringly powerful macOS desktop automation with Lua

RAW Config

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "hammerspoon": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hammerspoon"
      ]
    }
  }
}