Back to Home
pachipalabharath icon

bb-applescript-mcp-server

Verified Safe

by pachipalabharath

Overview

Allows large language model (LLM) clients to communicate with macOS applications using AppleScript, providing tools for automation and control.

Installation

Run Command
deno run --allow-all --unstable-kv main.ts

Environment Variables

  • ENABLE_ARBITRARY_SCRIPTS
  • PLUGINS_DISCOVERY_PATHS
  • LOG_LEVEL
  • APPLESCRIPT_TIMEOUT_DEFAULT
  • APPLESCRIPT_TIMEOUT_MAX
  • DEBUG_APPLESCRIPT
  • DEBUG_APPLESCRIPT_SAVE_ALL
  • DEBUG_APPLESCRIPT_DIR
  • DEBUG_APPLESCRIPT_CONTEXT
  • PLUGINS_ALLOWED_LIST
  • PLUGINS_BLOCKED_LIST
  • MCP_TRANSPORT
  • STORAGE_DENO_KV_PATH
  • HTTP_PORT
  • HTTP_HOST

Security Notes

The server uses Deno with `--allow-all`, granting broad permissions. The `run_script` tool allows arbitrary AppleScript execution, which is highly dangerous. However, this tool is explicitly disabled by default via `ENABLE_ARBITRARY_SCRIPTS=false` and documented as a security risk. If enabled, it poses a critical risk. AppleScript automation itself requires macOS user permissions for specific applications, adding a layer of system-level control. No direct 'eval' or obvious hardcoded secrets were found.

Similar Servers

Stats

Interest Score33
Security Score7
Cost ClassLow
Stars2
Forks0
Last Update2025-12-06

Tags

applescriptdenollm-agentmcp-servermacos-automation