Hammerspoon MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 83 installs a week from npm. Last commit 14 Aug 2026.
Control macOS through Hammerspoon: windows, apps, and API search. Injection-safe by design.
We read the source, 4 min ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const child = spawn(file, [...args], { stdio: ['ignore', 'pipe', 'pipe'] });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add hammerspoon-mcp -- npx -y @vukvukovich/hammerspoon-mcp
{
"mcpServers": {
"hammerspoon-mcp": {
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
]
}
}
}
[mcp_servers.hammerspoon-mcp]
command = "npx"
args = ["-y", "@vukvukovich/hammerspoon-mcp"]
{
"mcpServers": {
"hammerspoon-mcp": {
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
]
}
}
}
{
"servers": {
"hammerspoon-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
HS_MCP_TOOLS (Which tools to expose. "safe" (default) exposes inspection, window management, and system tools only. "all" additionally exposes hs_eval, hs_applescript, and hs_ui_press, which run arbitrary Lua and AppleScript and press UI elements - anything the user can do), HS_MCP_TRANSPORT (How Lua reaches Hammerspoon. "socket" (default) keeps one persistent Unix domain socket, self-installed on first call, with automatic fallback to spawning; "spawn" runs one hs process per call), HS_MCP_HS_PATH (Explicit path to the Hammerspoon hs command line tool. Only needed when Hammerspoon is installed somewhere unusual), HS_MCP_DOCS_PATH (Explicit path to Hammerspoon's bundled docs.json, used by hs_api_search), HS_MCP_LOG_LEVEL (Log verbosity on stderr: debug, info (default), warn, or error).
macOS automation via Hammerspoon — 75 tools for windows, Spaces, audio, Bluetooth, and more
Inspect and verify Windows x64 desktop apps through a local, read-only-by-default MCP server.
Let any AI agent operate desktop apps on macOS, Windows and Linux, in the background and safely.
Search, inspect and invoke every public tool on Invokera through one MCP connection.
Control macOS settings, apps, windows, audio, Music, displays, screenshots, and Focus mode via MCP.
Control Krita through a secure local MCP server and authenticated Windows bridge.
Search hand-curated website designs by style, font, colour, section and technology.
Scrape, crawl, batch-scrape, map, and search the web through the hosted pline.ai API.
Answers built from our own checks of this server.