
Shortcut Forge (Apple Shortcuts MCP)
io.github.Hyunki6040由 GitHub 帳號 Hyunki6040 發布v0.2.1更新於 Oct 24, 2026
Apple Shortcuts MCP: build, lint and sign iOS Shortcuts (.shortcut) from Claude, Codex or any LLM.
概覽
本機 MCP 伺服器,把自然語言描述的自动化需求轉成經過檢查並簽章的 Apple 捷徑 .shortcut 檔案,供 iPhone 匯入。
- 可以做什麼
- 依 JSON 規格建置捷徑,一律先檢查,並在 macOS 上自動簽章
- 瀏覽並取得 20 多個社群捷徑,或從 supplement-tracker、water-log 等範本開始
- 以 15 條語意規則檢查任何未簽章捷徑,並以縮排大綱檢視其結構
- 簽章捷徑、附 manifest 發佈以支援自我更新,並打包提交到捷徑庫
- 取得規格、常見陷阱、檢查規則、健康類型與 iOS 27 的參考資料,以及供沒有 MCP 的聊天機器人使用的提示詞
- 適用情境
- 適合想用自己慣用的 AI 直接產生可匯入的完整 iOS 捷徑,而不是逐步手動操作,或需要排查匯出的捷徑為何在裝置上失敗的情況。建置與檢查可在任何平台進行,簽章則需要 Mac。
- 執行需求
- 以 Python 套件形式透過 uvx 在本機執行(也可用 uv tool install 或 pipx)。簽章需要 macOS 與 Apple 的 shortcuts sign 指令;建置與檢查可在任何平台執行。選用環境變數 SHORTCUT_FORGE_OUT 可指定產生檔案的輸出資料夾。未宣告任何驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Shortcut Forge (Apple Shortcuts MCP),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[shortcut-forge: Apple Shortcuts MCP server. Say it, the AI builds it, your iPhone runs it.]
shortcut-forge: the Apple Shortcuts MCP server that ships shortcuts that actually run
Describe an automation to Claude, Codex or ChatGPT → get a signed .shortcut file → tap it on your iPhone.
Apple Shortcuts MCP · iOS Shortcuts generator · Siri Shortcuts for AI agents · iOS 27 aware · macOS auto-signing · open shortcut library
[tests] [PyPI] [iOS 27] [MCP server] [Claude, Codex, ChatGPT] [library] [MIT]
The problem (you've probably said one of these)
"I asked ChatGPT for a shortcut and got fourteen steps to tap in by hand."
"The file imported fine. Then: 'Choose a value for each parameter of this action.'"
"iOS 27 can build a shortcut from a description, but only on my iPhone 15 Pro, one shortcut at a time, and I can't review or version what it changed."
"Every MCP server I found for Shortcuts only runs shortcuts I already have."
"Every time I fix the family shortcut, everyone has to download it again."
Apple Shortcuts is the most powerful automation layer on the iPhone, and still the hardest thing to get an AI to produce. The file format is undocumented, a structurally valid plist can still break on the device, and nothing catches the difference until you're staring at an error on your phone.
The fix
shortcut-forge is an MCP server, a Claude plugin and a Python library that turns "make me a shortcut that…"
into a signed .shortcut file that has been checked against the ways shortcuts really fail on iPhone.
Apple's built-in builder is great for quick personal one-liners and lives right in the app; use it. Reach for shortcut-forge when you want an AI you already use to build something bigger, reviewable and shareable.
Install
Claude Code (plugin = MCP server + skill + /shortcut command)
Claude Desktop: double-click shortcut-forge.mcpb from Releases, or:
OpenAI Codex
ChatGPT, Gemini, any chatbot: connect over HTTP (shortcut-forge mcp --http) or, with no MCP at all, paste
prompts/LLM_PROMPT.md and drop the JSON it writes into the Mac watch folder (below).
Cursor, VS Code, Windsurf, Gemini CLI: see docs/CLIENTS.md.
Python / CLI
Mac auto-signing: drop a spec, get a shortcut
iOS only imports signed shortcuts, and only a Mac can sign them. shortcut-forge makes that invisible:
Ask ChatGPT on your phone for a spec, save it to Files, and the shortcut is ready on the same phone before you finish your coffee. In Claude Desktop / Claude Code on a Mac, signing happens inside the tool call.
What people build with it
From the Open Shortcut Library. Every one is a readable spec, lint-clean in CI.
…and more: mood journal, sleep diary, grocery list, weather voice brief, low-battery nudge, water log.
Built something? Share it → Tell your AI "submit this to the shortcut-forge library".
Use it
Plain language in any MCP client:
- "Make a shortcut that asks how I slept and every Sunday has Apple Intelligence summarise the week."
- "Start from the library's expense log, but in won and with my categories."
- "Here's my exported shortcut. Why does it crash?" →
shortcut_lint+shortcut_inspect
Python: variables work in f-strings.
JSON (what the MCP tools and chatbots write): 50+ step types, plus a raw escape hatch for any action.
MCP tools
Field notes: why "it imported" isn't "it works"
We built a two-person tracker by having Claude generate the plist. It took more than a dozen import → run → screenshot rounds. Every failure was invisible at build time:
The builder can't produce these; the linter catches them in any shortcut. Full notes: PITFALLS.md.
What is a .shortcut file?
- A
.shortcutfile (not.shortor.shortcuts) is an Apple Shortcuts workflow: a binary property list (WFWorkflowActions,WFWorkflowIcon, …) where every action is an identifier likeis.workflow.actions.gettextplus parameters. Variables are "token strings" with UTF-16 offsets. - Since iOS 15, shared shortcut files must be signed. A signed file is an Apple Encrypted Archive whose first
bytes are
AEA1. Unsigned plists import on a Mac but iOS refuses them. - Signing modes:
anyone(any device can import) orpeople-who-know-me(contacts only). Only macOS can sign (shortcuts sign), which is why shortcut-forge automates the Mac side. .wflowwas the format of the old Workflow app that became Shortcuts; iCloud links (icloud.com/shortcuts/…) are snapshots created from the app and can't be generated or updated programmatically.
FAQ
Do I need a Mac? To sign, yes (Apple's rule). Building and linting run anywhere; the watch-folder agent lets
one Mac sign for every device you own.
Does my data leave my machine? No. The server runs locally; nothing is uploaded. Library shortcuts that use
remote_config fetch only the JSON URL they name.
Is this affiliated with Apple or Anthropic? No. It is an independent open-source project.
iOS 26 or older? Most actions work; Stored Content needs iOS 27 and Use Model needs Apple Intelligence (the
linter flags these as SF013).
Roadmap: the update problem (help wanted)
Today every shortcut fix means re-sign → re-share → everyone re-downloads and taps "Replace". v0.2 ships the first
answers (remote_config for data, update_check + publish for code, a signing watch folder). Next is a
Shortcut Hub: one-command publish to GitHub, a stable install URL that always serves the latest version,
settings that survive updates, a signing relay for teams, and an experimental loader pattern.
Read ROADMAP.md and pick something. Device reports from real iPhones are the most valuable
contribution of all.
Contributing
- Share a shortcut → LIBRARY.md
- Found a new way shortcuts break? Open a pitfall issue with the error screenshot and the smallest spec; it becomes a lint rule and a builder fix.
- Code → CONTRIBUTING.md · agents read AGENTS.md
MIT licensed. Not affiliated with Apple Inc. or Anthropic. "Shortcuts" and "Siri" are trademarks of Apple Inc.
If shortcut-forge saved you a round of error screenshots, a ⭐ helps the next person find it.
Keywords: Apple Shortcuts MCP, iOS Shortcuts MCP server, Siri Shortcuts AI generator, create .shortcut file programmatically, sign shortcut macOS CLI, Claude Shortcuts, Codex Shortcuts, ChatGPT Shortcuts, iOS 27 Shortcuts Stored Content, Apple Health shortcut, shortcut library.
來源:README.md,提交 530384a
工具
0版本歷史
1- v0.2.1最新Oct 14, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分