{"_id":"@peakmojo/applescript-mcp","_rev":"4-1eb767d8529b257c0207a86044e71f08","name":"@peakmojo/applescript-mcp","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@peakmojo/applescript-mcp","version":"0.1.0","keywords":["applescript","mcp-server","mcp"],"author":{"name":"baryhuang"},"license":"MIT","_id":"@peakmojo/applescript-mcp@0.1.0","maintainers":[{"name":"peakmojo","email":"hello@peakmojo.com"}],"homepage":"https://github.com/peakmojo/applescript-mcp#readme","bugs":{"url":"https://github.com/peakmojo/applescript-mcp/issues"},"dist":{"shasum":"3ec2a899b757b88b3ed2dae26e73d43dcb60b17d","tarball":"https://registry.npmjs.org/@peakmojo/applescript-mcp/-/applescript-mcp-0.1.0.tgz","fileCount":8,"integrity":"sha512-9JNuuJqZjqeKNCjlAGt8BN9NOeSGjsqX6gLl7b3BAJ5mKOTvoW4MLIrN76KbW2CD961MFZOxaUL9CoWOPjtdcw==","signatures":[{"sig":"MEYCIQC2vr8+NrFZKF4unxbqu9FFpeVfRfd4tjGnvjUHmXD4mAIhAMRz7ntakHE++V4Ka4A/6t7+hGTkt6i4IiyixA4ssZgP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52004},"main":"server.js","type":"module","gitHead":"4284a07c0f893526717cbda8e5cde9d7c109026f","scripts":{"start":"node server.js"},"_npmUser":{"name":"peakmojo","email":"hello@peakmojo.com"},"repository":{"url":"git+https://github.com/peakmojo/applescript-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for executing AppleScript","directories":{},"_nodeVersion":"23.6.0","dependencies":{"zod":"^3.24.3","@modelcontextprotocol/sdk":"^1.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/applescript-mcp_0.1.0_1745309438620_0.49501315556986336","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@peakmojo/applescript-mcp","version":"0.1.1","keywords":["applescript","mcp-server","mcp"],"author":{"name":"baryhuang"},"license":"MIT","_id":"@peakmojo/applescript-mcp@0.1.1","maintainers":[{"name":"peakmojo","email":"hello@peakmojo.com"}],"homepage":"https://github.com/peakmojo/applescript-mcp#readme","bugs":{"url":"https://github.com/peakmojo/applescript-mcp/issues"},"bin":{"applescript-mcp":"server.js"},"dist":{"shasum":"90c3ab6cf60d27870af6ca62c96f94a72198b0a0","tarball":"https://registry.npmjs.org/@peakmojo/applescript-mcp/-/applescript-mcp-0.1.1.tgz","fileCount":8,"integrity":"sha512-8vAPerfmfNwLREdpAl9yLuNFmpEhFXXmSLJHYdA/Dp88/cI4kwB8uAtwm8uXOLixLhr3+AXkDGT68MwS0R4K4g==","signatures":[{"sig":"MEQCIBWVv2rqUM5tGeCt0erPXV/a1agocgi4fwrLtYOnxtHAAiA+v7I8lq7st7qqd8rtn9yQF6S75b53dAKWlmH+Hsct/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52057},"main":"server.js","type":"module","gitHead":"4284a07c0f893526717cbda8e5cde9d7c109026f","scripts":{"start":"node server.js"},"_npmUser":{"name":"peakmojo","email":"hello@peakmojo.com"},"repository":{"url":"git+https://github.com/peakmojo/applescript-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for executing AppleScript","directories":{},"_nodeVersion":"23.6.0","dependencies":{"zod":"^3.24.3","@modelcontextprotocol/sdk":"^1.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/applescript-mcp_0.1.1_1745309654691_0.16864352514970848","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@peakmojo/applescript-mcp","version":"0.1.2","keywords":["applescript","mcp-server","mcp"],"author":{"name":"baryhuang"},"license":"MIT","_id":"@peakmojo/applescript-mcp@0.1.2","maintainers":[{"name":"peakmojo","email":"hello@peakmojo.com"}],"homepage":"https://github.com/peakmojo/applescript-mcp#readme","bugs":{"url":"https://github.com/peakmojo/applescript-mcp/issues"},"bin":{"applescript-mcp":"server.js"},"dist":{"shasum":"0804efb7f51e3ea96920879effe16539129fa17d","tarball":"https://registry.npmjs.org/@peakmojo/applescript-mcp/-/applescript-mcp-0.1.2.tgz","fileCount":8,"integrity":"sha512-Iujw3JkoV1SfYfHijGha1sSrcpq+zZcSnNFbQsgdtR+tnP0H6PM9UQi3cMTPRSywmdGt/Ky9G4Jytzs/x/9m2w==","signatures":[{"sig":"MEYCIQClvALkUDnsaJ/Ubxn6hBCMQCwQli5Y3avHYHs+E2f+3gIhALZlLc9xJIejuN1VKVHoPNtNLyWzZ0ifqZqkXsRMDjYx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52476},"main":"server.js","type":"module","gitHead":"793f809c01bf20103c7bc1ca2872877959697893","scripts":{"start":"node server.js"},"_npmUser":{"name":"peakmojo","email":"hello@peakmojo.com"},"repository":{"url":"git+https://github.com/peakmojo/applescript-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for executing AppleScript","directories":{},"_nodeVersion":"23.6.0","dependencies":{"zod":"^3.24.3","@modelcontextprotocol/sdk":"^1.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/applescript-mcp_0.1.2_1747591799108_0.11370664817579734","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@peakmojo/applescript-mcp","version":"0.1.3","description":"MCP server for executing AppleScript","main":"server.js","publishConfig":{"access":"public"},"bin":{"applescript-mcp":"server.js"},"type":"module","scripts":{"start":"node server.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.10.1","node-ssh":"^13.2.1","zod":"^3.24.3"},"repository":{"type":"git","url":"git+https://github.com/peakmojo/applescript-mcp.git"},"keywords":["applescript","mcp-server","mcp"],"author":{"name":"baryhuang"},"license":"MIT","bugs":{"url":"https://github.com/peakmojo/applescript-mcp/issues"},"homepage":"https://github.com/peakmojo/applescript-mcp#readme","_id":"@peakmojo/applescript-mcp@0.1.3","gitHead":"a97d49c6a7241cedd27c34f04513fa6f1af9caa5","_nodeVersion":"23.6.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-xwpRZyp/4Ug6IUepDP7F+HMw72wI0gbu7S7oyVyKJCkglf5ivH9VzObOTnzLEMAz4t8OyvvarlYzaoj61ZKn4Q==","shasum":"8d2e619509c48343a73b217d89600056fd269685","tarball":"https://registry.npmjs.org/@peakmojo/applescript-mcp/-/applescript-mcp-0.1.3.tgz","fileCount":8,"unpackedSize":57535,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDb5snR7g/aGaHJTPHc4FiEfzQ7JYeViNfXpV1AtdLc+QIhAKOiDMJxCOAkvKKIkTwJCzz4fpezTloUKp3Y91m0sSxV"}]},"_npmUser":{"name":"peakmojo","email":"hello@peakmojo.com"},"directories":{},"maintainers":[{"name":"peakmojo","email":"hello@peakmojo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/applescript-mcp_0.1.3_1747726970996_0.9664781500843711"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-22T08:10:38.555Z","modified":"2025-05-20T07:42:51.342Z","0.1.0":"2025-04-22T08:10:38.820Z","0.1.1":"2025-04-22T08:14:14.881Z","0.1.2":"2025-05-18T18:09:59.318Z","0.1.3":"2025-05-20T07:42:51.185Z"},"bugs":{"url":"https://github.com/peakmojo/applescript-mcp/issues"},"author":{"name":"baryhuang"},"license":"MIT","homepage":"https://github.com/peakmojo/applescript-mcp#readme","keywords":["applescript","mcp-server","mcp"],"repository":{"type":"git","url":"git+https://github.com/peakmojo/applescript-mcp.git"},"description":"MCP server for executing AppleScript","maintainers":[{"name":"peakmojo","email":"hello@peakmojo.com"}],"readme":"# AppleScript MCP Server (Dual access: python and node.js)\n\n[![npm version](https://img.shields.io/npm/v/@peakmojo/applescript-mcp.svg)](https://www.npmjs.com/package/@peakmojo/applescript-mcp) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Overview\n\nA Model Context Protocol (MCP) server that lets you run AppleScript code to interact with Mac. This MCP is intentionally designed to be simple, straightforward, intuitive, and require minimal setup.\n\nI can't believe how simple and powerful it is. The core code is <100 line of code.\n\n<a href=\"https://glama.ai/mcp/servers/@peakmojo/applescript-mcp\">\n  <img width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/@peakmojo/applescript-mcp/badge\" alt=\"AppleScript Server MCP server\" />\n</a>\n\nhttps://github.com/user-attachments/assets/b85e63ba-fb26-4918-8e6d-2377254ee388\n\n## Features\n\n* Run AppleScript to access Mac applications and data\n* Interact with Notes, Calendar, Contacts, Messages, and more\n* Search for files using Spotlight or Finder\n* Read/write file contents and execute shell commands\n* Remote execution support via SSH\n\n## Example Prompts\n\n```\nCreate a reminder for me to call John tomorrow at 10am\n```\n\n```\nAdd a new meeting to my calendar for Friday from 2-3pm titled \"Team Review\"\n```\n\n```\nCreate a new note titled \"Meeting Minutes\" with today's date\n```\n\n```\nShow me all files in my Downloads folder from the past week\n```\n\n```\nWhat's my current battery percentage?\n```\n\n```\nShow me the most recent unread emails in my inbox\n```\n\n```\nList all the currently running applications on my Mac\n```\n\n```\nPlay my \"Focus\" playlist in Apple Music\n```\n\n```\nTake a screenshot of my entire screen and save it to my Desktop\n```\n\n```\nFind John Smith in my contacts and show me his phone number\n```\n\n```\nCreate a folder on my Desktop named \"Project Files\"\n```\n\n```\nOpen Safari and navigate to apple.com\n```\n\n```\nTell me how much free space I have on my main drive\n```\n\n```\nList all my upcoming calendar events for this week\n```\n\n## Usage with Claude Desktop\n\n### Node.js\n```json\n{\n  \"mcpServers\": {\n    \"applescript_execute\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@peakmojo/applescript-mcp\"\n      ]\n    }\n  }\n}\n```\n\n### Python\nInstall uv\n```\nbrew install uv\ngit clone ...\n```\n\nRun the server\n```\n{\n  \"mcpServers\": {\n    \"applescript_execute\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"/path/to/your/repo\",\n        \"run\",\n        \"src/applescript_mcp/server.py\"\n      ]\n    }\n  }\n}\n```\n\n## Docker Usage\n\nWhen running in a Docker container, you can use the special hostname `host.docker.internal` to connect to your Mac host:\n\n### Configuration\n```json\n{\n  \"mcpServers\": {\n    \"applescript_execute\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@peakmojo/applescript-mcp\",\n        \"--remoteHost\", \"host.docker.internal\",\n        \"--remoteUser\", \"yourusername\",\n        \"--remotePassword\", \"yourpassword\"\n      ]\n    }\n  }\n}\n```\n\nThis allows your Docker container to execute AppleScript on the Mac host system. Make sure:\n\n1. SSH is enabled on your Mac (System Settings → Sharing → Remote Login)\n2. Your user has proper permissions\n3. The correct credentials are provided in the config\n","readmeFilename":"README.md"}