Koskamo

hammerspoon-mcp

An MCP server that bridges AI agents to Hammerspoon, providing programmatic OS-level access to manage windows, switch audio devices, move apps between Spaces, toggle Focus mode, and subscribe to real-time OS events via 75 tools and 12 subscribable resources.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

hammerspoon-mcp logo, by mobabur94Community listingLocal stdioSource reviewed; not executedPublished by mobabur94
You need:brew install --cask hammerspoon
Vendor documentation

What you can do with it

  • Manage windows by ID or title match
  • Switch audio devices by name
  • Move apps between Spaces
  • Toggle Focus mode

Source and maintenance

Community listingRegistry 0.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

hammerspoon-mcp 0.1.0

npm
hammerspoon-mcp package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "hammerspoon-mcp",
  "registryType": "npm"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hammerspoon-mcp@0.1.0"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hammerspoon-mcp@0.1.0"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "hammerspoon-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hammerspoon-mcp@0.1.0"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "hammerspoon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hammerspoon-mcp@0.1.0"
      ]
    }
  }
}

Let your agent find its tools

Find servers like hammerspoon-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.