{"_id":"@agiletortoise/drafts-mcp-server","_rev":"11-4a2e77e016ce4ee3af25ca7592011bb8","name":"@agiletortoise/drafts-mcp-server","dist-tags":{"latest":"1.0.12"},"versions":{"1.0.0":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.0","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.0","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"60cf2a0446178ec754d5bb94114c77dbb6690fa5","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.0.tgz","fileCount":15,"integrity":"sha512-KwbAfhHKL05TRvzxixhMIIyBUt2I0LK5dZdBCoe0cL8Cid4rJk3Eprbr2EVPULjslHugL39P69Hq10eZCTS1yw==","signatures":[{"sig":"MEQCIAWTb3DqLiEc8QELuzPp91MLfa4cS0icPN2Wa8fzO6OlAiBFATem/xCpwpXUf39xhGhgtgRFDoU6kIklDGvSIkysLg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86105},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2e481ccf7d859e0614d8eb6c52756fa0181a02b1","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.7.0","description":"Model Context Protocol server for Drafts app on macOS","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.0_1769452680786_0.4957727421977858","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.1","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.1","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"5c71a1181200d29ccb673fead7b23e2d034cf39e","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.1.tgz","fileCount":15,"integrity":"sha512-uHyfL2/BA1IA3RGRdglhtxxHPDzPmF+JXeIH78I+Jm/D0lahJbsTbsBUX0osKmZpDEceL7aPGsV3evhb+hVUfw==","signatures":[{"sig":"MEUCIGuPdRBv1Df33RyHdqjRsCQDQeesRrWpuD20YvJEV/JEAiEA1sdvqdB+UM5UyI0Ly3mHZ/ZymOw+NZLsfH8g5SuzdHc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86344},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2e481ccf7d859e0614d8eb6c52756fa0181a02b1","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.7.0","description":"Model Context Protocol server for Drafts app on macOS","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.1_1769461645125_0.2712975878641539","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.3","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.3","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"3b79eca58572d3697db22c61b14ba608ef6cb6a2","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.3.tgz","fileCount":15,"integrity":"sha512-UYy/E6zIn5+TesMGbpIEO1AVWP7HTOGblh3Ludj6qPR9zaCYzA9hYGfWiR7Yw58QJhPLU5isQR68iUZzTlyKfA==","signatures":[{"sig":"MEYCIQCZxOBEoG1iePaMVX2fORuKJIFHvCQ7q8mOTuhn62mNZwIhANoOG0id0VEuvYuO3YDXF+8b2dRayhODZYuU/Grtvo09","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93770},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"8661d301ab0901cb444540ca3534301e46d88924","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.7.0","description":"Model Context Protocol server for Drafts app on macOS","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.3_1769638476320_0.7374754264139338","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.4","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.4","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"324527cc1b1c57ecb53a4fa146d4ef6f08928fe3","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.4.tgz","fileCount":15,"integrity":"sha512-uyEP/A+8pKeH7eNDc0nBy+T2GILusJDTyquh/zCjsmIfYXRJIyAysxY5m8cS1SlswQs3fMerYVWmwE9OHZVrwA==","signatures":[{"sig":"MEQCIBzkpsH8kUXLxkgJ3gK4AL66tcgbwChzgYP0i5KqGcEiAiBc5cQTBKpwykMF07tD5IoPEn7bDZdb2cRRanxRqyoOCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98843},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"34bbbea012a326420ed8df64df490496d310281d","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.7.0","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.4_1769700743499_0.20962350446804057","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.5","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.5","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"55a8d0bba3fcc6fe9994e71986a53a57c76448a4","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.5.tgz","fileCount":15,"integrity":"sha512-kt2M69rq5edx8BO4ixfHS+RiekVzPsAPQcj4g4uGEKh/u8hOVLrnnZuiBF0U+br0yG96hcB8I2ynX72WQ+2iGQ==","signatures":[{"sig":"MEUCIQC0GaSs5AgYL0g6UzcJuqrjEuNjK+wcMcLuW2KHsomEZgIgLa53Fm4094tsxqJ+5usuod0FaCeLK5ilFYAr02XmZgU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100553},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"fb9e6e6d0c8603fe7b1c9b275e96958018d4b744","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.7.0","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.4.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.5_1769871704362_0.6809508151610422","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.6","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.6","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"8d75fa229b176d5c60c5f938b054e66dc08e4555","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.6.tgz","fileCount":15,"integrity":"sha512-rJR4Gc1ZedWCRIMU2dF9pzFs8n6xGPadbmzOWuBV94qu0Ebp/XW5ujMHRt1LN8cMGYSR5b6SVlNdsXQh2u9LgA==","signatures":[{"sig":"MEYCIQCzkpWh0FvDOwJFqmySj3f1RHG+Xsr0pnB5ngEu+hefbgIhAJV5lhQLQuRTO47mBiEzvo/SQYMALBuTbLbGvNEyaLGs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103489},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d2921dad2c737999f76a421922f858f876fb8623","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.11.0","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.6_1773945304809_0.49297224318222965","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.7","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.7","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts":"dist/cli.js","drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"c71620a0ef10fc1cc454e2e3a5bf8dcacde72167","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.7.tgz","fileCount":19,"integrity":"sha512-7a2HewTfSVe9yl9VAUgUes7yGoQgEJfpnN0iKHlcJ+Zf80+UtltALSfKtIBCEV+Q2M2wlOsx+Y3d3HJ8LGAbug==","signatures":[{"sig":"MEYCIQDcMuagTV8wVhJeptUlzwwH/68UvC68wARAXA/nWZJbygIhAK/Ut80Oe3g37WzWjYi1hXShCKhZ9BcXgVndZ6S+GLz0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126652},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"59d7bd9faa1e8a2f286e1418f463b1229c4553bc","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.11.0","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"commander":"^14.0.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.7_1774282758448_0.21267387503200585","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.8","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.8","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts":"dist/cli.js","drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"056c79377fa0e736b60f05911259aad7f5f5d438","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.8.tgz","fileCount":19,"integrity":"sha512-ZYCvju/AnaOp01eV2egeOdf3p1NM3kvztshVefRe2xgy9aua586ybBMHuMtjVMJH+boRi5wDV/daXXCsnVNK8Q==","signatures":[{"sig":"MEUCIHL2qV4YMYzRIbqlBLBzN920drHlab7HWXaw50kkWkjjAiEAmaUmYrJYlHBxyn24lreGAhrtZhD/Hgc9N6hiG91ZZlM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126652},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2e47db26676d897d23f2fb8fcc934e32714eb155","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.12.1","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.8_1776348437258_0.7662853779877812","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.10","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.10","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts":"dist/cli.js","drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"22b712a0d0bcb6772f8950eb506cb59888bb7ab9","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.10.tgz","fileCount":11,"integrity":"sha512-RHh5Co7IZFCBVDpDtX9YVWFHTqMCoXvM7BTQl7aJpvekjw7p6HxLSg+pF4Z8GBFiL7nYEekuaUvtDOchmS/v1Q==","signatures":[{"sig":"MEQCIBAGNNB2F3L/hwwM+Lpv0lCWFR9ADBFh4TcaLLUCvNGdAiB6BncT2K4GcbFwS5XfKlQT2X0YhQyM9eYzZBT1TWp3xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82339},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ca52ea95a1bfd9084d8a377a831da7ad66b98932","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.12.1","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.10_1776349317829_0.973565354920801","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.11","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","_id":"@agiletortoise/drafts-mcp-server@1.0.11","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"os":["darwin"],"bin":{"drafts":"dist/cli.js","drafts-mcp-server":"dist/index.js"},"dist":{"shasum":"998da16fe39856ff82c610b84d2e6d07913f3aac","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.11.tgz","fileCount":11,"integrity":"sha512-OphnomyOuZD/KLanXdsOYSW0MzUz6rxeT8/jV6argpi8is+yt/CN+7SBJSJCypKr0DxB2mZFuu7teCb0oTnoAQ==","signatures":[{"sig":"MEUCIQCx4WJFw2V5FX6nsglf2McuCw6wrgs9WlahH5Z9hNjRjwIgALDEvWecZP3mrp4heAqoYKR9WSDaetlpoefzwjNyeYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79741},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"4b1f8c901b29e751e1cd4a401b1fbc0ac800720a","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"repository":{"url":"git+https://github.com/agiletortoise/drafts-mcp-server.git","type":"git"},"_npmVersion":"11.12.1","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/drafts-mcp-server_1.0.11_1777581491354_0.9916492852669316","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@agiletortoise/drafts-mcp-server","version":"1.0.12","description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","type":"module","main":"dist/index.js","bin":{"drafts-mcp-server":"dist/index.js","drafts":"dist/cli.js"},"scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"author":{"name":"Agile Tortoise"},"license":"MIT","engines":{"node":">=18.0.0"},"os":["darwin"],"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4","commander":"^14.0.3"},"devDependencies":{"@types/node":"^22.10.5","typescript":"^5.7.3"},"repository":{"type":"git","url":"git+https://github.com/agiletortoise/drafts-mcp-server.git"},"bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","gitHead":"e3d1334c81ac5e12edab078c3d2f6a8cf80603f5","types":"./dist/index.d.ts","_id":"@agiletortoise/drafts-mcp-server@1.0.12","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-+LqCB3+9km6w8HUSDESoJMvRiBXwIMFqUS62nCGhsxbhMCHcaOud6pPclxdj3MQ5LHXBHNBwv7JDwCUiP+3tng==","shasum":"264d1439836079156e069911fca02c35d37e83f5","tarball":"https://registry.npmjs.org/@agiletortoise/drafts-mcp-server/-/drafts-mcp-server-1.0.12.tgz","fileCount":11,"unpackedSize":79676,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEFmHkIv98F5hmYggKDaYSqXxbJEIA8vCieBbzYQUAePAiBvLVhiaTgrcLClHUzx32jBGGO0jlk+u+1/1APOcC01fA=="}]},"_npmUser":{"name":"gregpierce","email":"greg@agiletortoise.com"},"directories":{},"maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drafts-mcp-server_1.0.12_1778775787396_0.6424063319535609"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-26T18:38:00.710Z","modified":"2026-05-14T16:23:07.683Z","1.0.0":"2026-01-26T18:38:01.007Z","1.0.1":"2026-01-26T21:07:25.269Z","1.0.3":"2026-01-28T22:14:36.467Z","1.0.4":"2026-01-29T15:32:23.634Z","1.0.5":"2026-01-31T15:01:44.519Z","1.0.6":"2026-03-19T18:35:04.949Z","1.0.7":"2026-03-23T16:19:18.598Z","1.0.8":"2026-04-16T14:07:17.407Z","1.0.10":"2026-04-16T14:21:58.077Z","1.0.11":"2026-04-30T20:38:11.487Z","1.0.12":"2026-05-14T16:23:07.551Z"},"bugs":{"url":"https://github.com/agiletortoise/drafts-mcp-server/issues"},"author":{"name":"Agile Tortoise"},"license":"MIT","homepage":"https://github.com/agiletortoise/drafts-mcp-server#readme","keywords":["mcp","model-context-protocol","drafts","applescript","macos","automation","ai"],"repository":{"type":"git","url":"git+https://github.com/agiletortoise/drafts-mcp-server.git"},"description":"Model Context Protocol server for Drafts app on macOS via AppleScript.","maintainers":[{"name":"gregpierce","email":"greg@agiletortoise.com"}],"readme":"# Drafts MCP Server\n\nA [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that enables AI assistants to interact with the [Drafts](https://getdrafts.com) app on macOS through AppleScript.\n\nFor additional discussion of uses, see [the Drafts forum](https://forums.getdrafts.com/t/drafts-mcp-server-for-ai-integration/16507)\n\n## Features\n\n- 📝 **Draft Management**: Create, read, update, and search drafts\n- 🏷️ **Tags**: Add and manage tags on drafts\n- 📂 **Workspaces**: List and query drafts from specific workspaces\n- ⚡ **Actions**: Run Drafts actions programmatically\n- 🔍 **Search**: Full-text search across all drafts\n- 🚩 **Flags & Archive**: Flag, archive, or trash drafts\n\n## CLI Tool\n\nIn addition to the MCP server, this package includes a standalone `drafts` CLI for interacting with Drafts directly from the terminal.\n\n### CLI Installation\n\n```bash\n# Install globally from npm\nnpm install -g @agiletortoise/drafts-mcp-server\n\n# Or link locally for development\ngit clone https://github.com/agiletortoise/drafts-mcp-server.git\ncd drafts-mcp-server\nnpm install\nnpm run build\nnpm link\n```\n\nAfter installation, the `drafts` command is available globally.\n\n### CLI Usage\n\nOutput is human-readable by default. Add `--json` for machine-readable JSON output.\n\n```bash\n# Workspaces\ndrafts workspace list\ndrafts workspace current\ndrafts workspace open \"Work\"\ndrafts workspace drafts \"Work\" --folder inbox\n\n# Tags\ndrafts tag list\ndrafts tag get \"work\"\n\n# List and search drafts\ndrafts list\ndrafts list --folder inbox --tag work --flagged\ndrafts list --created-after 2025-01-01 --modified-before 2025-06-30\ndrafts search \"meeting notes\"\n\n# Single draft operations\ndrafts current\ndrafts get <uuid>\ndrafts create \"Hello world\" --tag notes --tag ideas --flagged\ndrafts update <uuid> \"Updated content\"\ndrafts open <uuid>\n\n# Organize drafts\ndrafts flag <uuid>\ndrafts flag <uuid> --unflag\ndrafts archive <uuid>\ndrafts inbox <uuid>\ndrafts trash <uuid>\ndrafts add-tags <uuid> important urgent\n\n# Actions\ndrafts action list\ndrafts action run <draft-uuid> \"Send to Email\"\n\n# JSON output for scripting\ndrafts --json list --folder inbox\ndrafts --json search \"budget\"\n```\n\n## Requirements\n\n- macOS (AppleScript is macOS-only)\n- [Drafts](https://getdrafts.com) app v50.0.3 or greater installed\n- Node.js 18 or higher\n\n## Installation\n\n### Quick Start (After Publishing to npm)\n\nYou will need to have Node installed on your Mac so make the `npx` command available. If you do not already have Node installed, you can do so with [Homebrew](https://brew.sh) using:\n\n```bash\nbrew install node\n```\n\nOnce published, use with `npx` - no installation needed:\n\n```bash\nnpx @agiletortoise/drafts-mcp-server\n```\n\n### Global Installation\n\n```bash\nnpm install -g @agiletortoise/drafts-mcp-server\n```\n\n### Local Development/Testing\n\nBefore publishing, test locally:\n\n```bash\n# Clone or extract the package\ncd drafts-mcp-server\n\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Test with MCP Inspector\nnpm run inspector\n\n# Or run directly\nnode dist/index.js\n```\n\n### Configuration for Claude Desktop\n\nThe easiest way to use this MCP with the Claude Desktop app by installing the MCPB version. To do so:\n\n* Download the [drafts-mcp-server.mcpb](https://github.com/agiletortoise/drafts-mcp-server/blob/main/drafts-mcp-server.mcpb?raw=true) from the project to your Mac.\n* Open Claude Desktop\n* Navigate to `Settings > Extensions`\n* Drag and drop the drafts-mcp-server.mcpb file from the Finder into this window to install.\n* Follow the prompts to complete installation.\n\nWe are likely to submit this project to the Claude extension directory soon to make it available directly in the app.\n\n#### Advanced Claude Desktop Configuration\n\nIf you prefer to install locally, or run via `npm`, these instructions are for you...\n\nYou will need to have Node installed on your Mac so make the `npx` command available. If you do not already have Node installed, you can do so with [Homebrew](https://brew.sh) using:\n\n```bash\nbrew install node\n```\n\nAdd the below to the Claude Desktop confguration file (`~/Library/Application Support/Claude/claude_desktop_config.json`), and relaunch Claude.\n\n```json\n{\n  \"mcpServers\": {\n    \"drafts\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agiletortoise/drafts-mcp-server\"]\n    }\n  }\n}\n```\n\n**For local development/testing** (before publishing), use:\n\n```json\n{\n  \"mcpServers\": {\n    \"drafts\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/drafts-mcp-server/dist/index.js\"]\n    }\n  }\n}\n```\n\nOr if globally installed:\n\n```json\n{\n  \"mcpServers\": {\n    \"drafts\": {\n      \"command\": \"drafts-mcp-server\"\n    }\n  }\n}\n```\n\n### Configuration for Cursor\n\n**After publishing to npm**, add to your Cursor MCP settings (`.cursor/mcp.json` in your project or global settings):\n\n```json\n{\n  \"mcpServers\": {\n    \"drafts\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agiletortoise/drafts-mcp-server\"]\n    }\n  }\n}\n```\n\n**For local development/testing**, use:\n\n```json\n{\n  \"mcpServers\": {\n    \"drafts\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/drafts-mcp-server/dist/index.js\"]\n    }\n  }\n}\n```\n\n### Configuration for Claude Code\n\nClaude Code (the CLI tool) can be configured using the `/mcp` command or by editing the settings file directly.\n\n**Using the CLI:**\n\n```bash\nclaude mcp add drafts -- npx @agiletortoise/drafts-mcp-server\n```\n\n**For local development/testing**, use:\n\n```bash\nclaude mcp add drafts -- node /absolute/path/to/drafts-mcp-server/dist/index.js\n```\n\nAfter adding, restart Claude Code or start a new session for the MCP server to be available.\n\n## Permissions\n\nThe first time the server runs, macOS will ask for permissions:\n\n1. **System Preferences** > **Security & Privacy** > **Privacy** > **Automation**\n2. Allow the MCP host (e.g., Claude Desktop, Claude Code, Cursor) to control **Drafts**\n\n## Available Tools\n\n### Workspace Management\n\n#### `drafts_list_workspaces`\nList all workspaces in Drafts.\n\n```typescript\n// No parameters required\n```\n\n### Draft Operations\n\n#### `drafts_get_drafts`\nGet drafts with flexible filtering by content, folder, tag, flagged status, and dates.\n\n```typescript\n{\n  query?: string;                // Optional: Query string to filter drafts\n  folder?: inbox, archive, trash // Optional: Limit to one folder\n  tag: string                    // Optional: Limit by assigned tag\n}\n```\n\n#### `drafts_create_draft`\nCreate a new draft with content and optional tags.\n\n```typescript\n{\n  content: string;        // Required: Draft content\n  tags?: string[];        // Optional: Array of tag names\n  flagged?: boolean;      // Optional: Flag the draft\n}\n```\n\n#### `drafts_get_draft`\nRetrieve a specific draft by UUID.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft\n}\n```\n\n#### `drafts_update_draft`\nUpdate the content of an existing draft.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft\n  content: string;        // Required: New content\n}\n```\n\n#### `drafts_search`\nSearch for drafts across all workspaces.\n\n```typescript\n{\n  query: string;          // Required: Search query\n}\n```\n\n### Tags\n\n#### `drafts_add_tags`\nAdd tags to an existing draft.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft\n  tags: string[];         // Required: Array of tag names to add\n}\n```\n\n### Actions\n\n#### `drafts_list_actions`\nList all available Drafts actions.\n\n```typescript\n// No parameters required\n```\n\n#### `drafts_run_action`\nRun a Drafts action on a specific draft.\n\n```typescript\n{\n  draftUuid: string;      // Required: UUID of the draft\n  actionName: string;     // Required: Name of the action to run\n}\n```\n\n### Draft Status\n\n#### `drafts_flag`\nFlag or unflag a draft.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft\n  flagged: boolean;       // Required: true to flag, false to unflag\n}\n```\n\n#### `drafts_archive`\nArchive a draft.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft to archive\n}\n```\n\n#### `drafts_trash`\nMove a draft to trash.\n\n```typescript\n{\n  uuid: string;           // Required: UUID of the draft to trash\n}\n```\n\n## Example Usage\n\nHere are some example prompts you can use with Claude or other AI assistants:\n\n### Basic Operations\n\n```\n\"Show me all my workspaces in Drafts\"\n\n\"Get all drafts from my 'Work' workspace\"\n\n\"Create a new draft with the content 'Meeting notes for Q1 planning'\"\n\n\"Search for drafts containing 'budget'\"\n```\n\n### Advanced Operations\n\n```\n\"Create a draft with content 'Todo: Review PR #123' and tag it with 'work' and 'urgent'\"\n\n\"Find the draft about the marketing campaign and run the 'Send to Email' action on it\"\n\n\"Flag all drafts in my Inbox workspace that contain 'follow up'\"\n\n\"Archive all drafts tagged 'completed'\"\n```\n\n### Workflow Integration\n\n```\n\"Get all drafts from my 'Daily Notes' workspace from the last week, \n then create a summary draft tagged 'weekly-review'\"\n\n\"Search for all drafts tagged 'meeting-notes', extract action items, \n and create a new draft with all the action items combined\"\n```\n\n## Development\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/agiletortoise/drafts-mcp-server.git\ncd drafts-mcp-server\n\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Test with MCP Inspector\nnpm run inspector\n```\n\n### Project Structure\n\n```\ndrafts-mcp-server/\n├── src/\n│   ├── index.ts           # Main MCP server implementation\n│   ├── cli.ts             # Standalone CLI tool\n│   ├── drafts.ts          # Drafts-specific operations\n│   └── applescript.ts     # AppleScript execution utilities\n├── dist/                  # Compiled JavaScript (generated)\n├── package.json\n├── tsconfig.json\n└── README.md\n```\n\n### Testing\n\nUse the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) to test the server:\n\n```bash\nnpm run inspector\n```\n\nThis opens a web interface where you can test each tool interactively.\n\n## Troubleshooting\n\n### \"Drafts got an error: Can't get workspace...\"\n\nMake sure you've spelled the workspace name exactly as it appears in Drafts. Workspace names are case-sensitive.\n\n### Permission Errors\n\n1. Check **System Preferences** > **Security & Privacy** > **Privacy** > **Automation**\n2. Ensure your MCP client (Claude Desktop, Cursor, etc.) has permission to control Drafts\n3. You may need to restart the client after granting permissions\n\n### Script Execution Errors\n\n1. Ensure Drafts is installed and has been launched at least once\n2. Try running a simple AppleScript manually to verify permissions:\n   ```bash\n   osascript -e 'tell application \"Drafts\" to get name of first workspace'\n   ```\n\n### No Workspaces/Drafts Returned\n\nThis might indicate that AppleScript dictionary access isn't working. Check that:\n- You're using the latest version of Drafts\n- Your AppleScript dictionary is properly exposed in Drafts\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n\n## Related Projects\n\n- [Model Context Protocol](https://modelcontextprotocol.io) - The protocol specification\n- [Drafts](https://getdrafts.com) - Where text starts\n- [Claude Desktop](https://claude.ai/download) - AI assistant with MCP support\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/agiletortoise/drafts-mcp-server/issues)\n- **Drafts Support**: [Drafts Community](https://forums.getdrafts.com)\n- **MCP Documentation**: [MCP Docs](https://modelcontextprotocol.io/docs)\n","readmeFilename":"README.md"}