Back to Home
pachipalabharath icon

bb-applescript-mcp-server

Verified Safe

by pachipalabharath

Overview

Enables LLM clients to automate macOS applications using AppleScript, providing predefined tools for Finder and BBEdit, and supporting custom plugin development.

Installation

Run Command
deno run --allow-all --unstable-kv jsr:@beyondbetter/bb-applescript-mcp-server

Environment Variables

  • LOG_LEVEL
  • ENABLE_ARBITRARY_SCRIPTS
  • PLUGINS_DISCOVERY_PATHS
  • PLUGINS_ALLOWED_LIST
  • PLUGINS_BLOCKED_LIST
  • APPLESCRIPT_TIMEOUT_DEFAULT
  • APPLESCRIPT_TIMEOUT_MAX
  • DEBUG_APPLESCRIPT
  • DEBUG_APPLESCRIPT_SAVE_ALL
  • DEBUG_APPLESCRIPT_DIR
  • DEBUG_APPLESCRIPT_CONTEXT

Security Notes

The server includes a `run_script` tool that allows executing arbitrary AppleScript code, which is a significant security risk. However, this tool is disabled by default, and the documentation provides clear warnings about its dangers and instructions for enabling it. Input validation for other tools is implemented using Zod schemas, and AppleScript string interpolation includes escaping to prevent injection. The server relies on macOS's native automation permissions, requiring user consent for application control. If `ENABLE_ARBITRARY_SCRIPTS` is kept `false` (default), the server is reasonably secure for its intended purpose.

Similar Servers

Stats

Interest Score32
Security Score7
Cost ClassMedium
Avg Tokens500
Stars2
Forks0
Last Update2026-01-19

Tags

applescriptmacOSautomationLLM-agentMCP-server