Skip to main content
Glama
Szowesgad

automator-mcp

list_actions

Discover and filter available Automator actions by category to streamline automation workflows on macOS systems using the MCP server.

Instructions

List available Automator actions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category (optional)

Implementation Reference

  • The handler function that implements the list_actions tool. It runs an AppleScript to retrieve Automator actions and returns a formatted list, optionally filtered by category.
    async listActions(category) { const script = ` tell application "Automator" get name of Automator actions end tell `; const result = await this.runAppleScript(script); const actions = result.content[0].text.split(', '); return { content: [ { type: 'text', text: `Available actions${category ? ` in ${category}` : ''}:\n${actions.join('\n')}`, }, ], }; }
  • src/index.js:95-107 (registration)
    Tool registration in the listTools response, including name, description, and input schema.
    { name: 'list_actions', description: 'List available Automator actions', inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Filter by category (optional)', }, }, }, },
  • Input schema definition for the list_actions tool.
    inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Filter by category (optional)', }, }, },
  • src/index.js:184-185 (registration)
    Dispatch in the CallToolRequest handler that routes list_actions calls to the listActions method.
    case 'list_actions': return await this.listActions(args.category);

Other Tools

Related Tools

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/Szowesgad/automator-mcp'

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