Skip to content
Grok

hammerspoon mcp for Grok

io.github.vukvukovich/hammerspoon-mcp

Control macOS through Hammerspoon: windows, apps, and API search. Injection-safe by design.

client:Grok transport:stdio runtime:npm

Install hammerspoon mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "hammerspoon-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vukvukovich/hammerspoon-mcp"
      ],
      "env": {
        "HS_MCP_TOOLS": "<HS_MCP_TOOLS>",
        "HS_MCP_TRANSPORT": "<HS_MCP_TRANSPORT>",
        "HS_MCP_HS_PATH": "<HS_MCP_HS_PATH>",
        "HS_MCP_DOCS_PATH": "<HS_MCP_DOCS_PATH>",
        "HS_MCP_LOG_LEVEL": "<HS_MCP_LOG_LEVEL>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

hammerspoon mcp in other clients