Shortcut Forge (Apple Shortcuts MCP)

v0.2.1
io.github.Hyunki6040/shortcut-forge Checked 5 days ago Published 1 month ago

Apple Shortcuts MCP: build, lint and sign iOS Shortcuts (.shortcut) from Claude, Codex or any LLM.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shortcut_build

Build a .shortcut from a JSON spec ({"name": ..., "actions": [...]}) and lint it. See shortcut_reference(topic="spec") for every step type. Set sign=true on macOS to produce an importable signed file. Returns paths, action count and lint findings (fix all errors).

ParameterTypeDescription
spec *object
output_path
signboolean
sign_modestring

shortcut_from_template

Generate a shortcut from a ready-made template. template: "supplement-tracker" (multi-user supplements -> Apple Health + self-maintaining reminders, 7-day Apple Intelligence report) or "water-log". config: template config; omit to get the example. Call shortcut_reference(topic="templates") to see each template's config shape.

ParameterTypeDescription
template *string
config
output_path
signboolean
sign_modestring

shortcut_lint

Lint an unsigned .shortcut file against known on-device failure patterns (rules SF000-SF013).

ParameterTypeDescription
path *string

shortcut_inspect

Return an indented, human-readable outline of an unsigned .shortcut file.

ParameterTypeDescription
path *string

shortcut_sign

Sign a .shortcut with the macOS `shortcuts` CLI so iOS can import it. mode: anyone | people-who-know-me.

ParameterTypeDescription
path *string
modestring
output_path

shortcut_reference

Docs for building shortcuts. topic: spec | pitfalls | lint-rules | health-types | templates | library | ios27.

ParameterTypeDescription
topicstring

shortcut_library

Browse the community shortcut library (20+ ready shortcuts: productivity, health, money, dev, home...). No slug: list entries matching `query` (name/description/tags). With slug: return its meta, its spec (or template config) to use as a starting point, and the signed download link if published.

ParameterTypeDescription
querystring
slug

shortcut_submit

Package a shortcut for the open-source library (github.com/Hyunki6040/shortcut-forge/library). Validates the spec and metadata, lints it, and returns the exact files plus the git/gh commands to open a pull request. Encourage the user to run it on their iPhone first and fill `verified_on`.

ParameterTypeDescription
author *string
category *string
description *string
name *string
slug *string
spec *object
description_kostring
tags

shortcut_publish

macOS: build + sign + write manifest.json so installed copies can update themselves. Adds a daily update check (spec.update_manifest = base_url/manifest.json) to the shortcut. Host the two output files at base_url (GitHub raw/Pages/S3). Bump `version` for every release.

ParameterTypeDescription
base_url *string
spec *object
version *string
notesstring
output_dir

shortcut_llm_prompt

Return a copy-paste system prompt that teaches any chatbot (ChatGPT, Gemini...) to write specs.