Skip to main content
Glama

show_moom_menu

Launch the Moom popup menu to manage macOS window layouts programmatically using the Moom MCP Server in Claude Desktop.

Instructions

Show the Moom popup menu

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that displays the Moom popup menu by executing AppleScript to click the menu bar item of the Moom process.
    async showMoomMenu() { const script = ` tell application "System Events" tell process "Moom" try -- Click on the Moom menu bar icon click menu bar item 1 of menu bar 2 return "Moom menu is now visible" on error errMsg return "Error showing Moom menu: " & errMsg end try end tell end tell `; try { const result = await this.runAppleScript(script); return { content: [ { type: 'text', text: result, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error: ${error.message}`, }, ], }; } }
  • Tool schema definition in ListTools response, specifying no input parameters required.
    { name: 'show_moom_menu', description: 'Show the Moom popup menu', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.js:215-216 (registration)
    Dispatch registration in the CallToolRequestSchema switch statement, routing calls to the handler.
    case 'show_moom_menu': return await this.showMoomMenu();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itrimble/moom-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server