Make sure you have installed the MCP dependencies via the quickstart guide at:
Install dependencies via Homebrew:
brew install uv git sqlite3
(you won't need git and sqlite3 for this project but you will need uv - I think Claude Desktop uses it to launch servers)
In your home directory:
git clone <https://github.com/joshrutkowski/applescript-mcp.git>
Navigate to the newly created applescript-mcp folder and open package.json
Make the following edit and save:
original: "@modelcontextprotocol/sdk": "^0.1.0"
edit: "@modelcontextprotocol/sdk": "1.0.3"
In the terminal, from the applescript-mcp folder:
npm install
Then:
npm run build
This will create a dist folder.
Now you just need to start the MCP server, you have to leave this running the background:
npm start
Now you need to edit your claude_desktop_config.json file to add the applescript-mcp. This file will be in:
~/Library/Application Support/Claude/claude_desktop_config.json