Skip to content
Cursor

hammerspoon for Cursor

io.github.mobabur94/hammerspoon

macOS automation via Hammerspoon — 75 tools for windows, Spaces, audio, Bluetooth, and more

client:Cursor transport:stdio runtime:npm

Install hammerspoon in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "hammerspoon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hammerspoon-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

hammerspoon in other clients