Shortcut Mcp

io.github.stayce由 GitHub 帳號 stayce 發布v1.0.0更新於 Oct 24, 2026

Shortcut project management. Create, update, search stories and manage workflows.

已驗證Streamable HTTP可網頁執行效率與工作流開發者工具

概覽

AI 產生的概覽

面向 Shortcut 專案管理的遠端 MCP 伺服器,讓助理透過一個精簡工具搜尋、讀取、建立與更新故事、新增留言並檢視史詩。

可以做什麼
  • 依文字查詢、結構化篩選、ID 或連結搜尋並讀取故事,檢視史詩及其包含的故事
  • 建立與更新故事,包括狀態、估點、負責人、類型、名稱與描述
  • 為故事新增留言
  • 呼叫 Shortcut 原始 REST API 處理其他操作未涵蓋的內容
  • 透過 help 動作查看內建說明文件
適用情境
適合在 Shortcut 中工作、希望助理直接查看進行中的故事、分派或更新任務、建立新缺陷或在對話中留言的情境。相較官方 Shortcut MCP,它的工具定義佔用的 token 少得多,適合上下文預算有限時使用。
執行需求
使用提供方的 Cloudflare Workers 遠端端點,無需本機安裝。需自備 Shortcut API 權杖,透過 X-Shortcut-Token 標頭或 Authorization Bearer 標頭傳送。設定後需重新啟動用戶端;部分 HTTP 用戶端需設定正常的 User-Agent 才能通過機器人防護。
安裝前請注意
需要提供個人 Shortcut API 權杖,該權杖可存取你的 Shortcut 工作區;README 建議將權杖明文寫入用戶端設定,因此會以明文保存。相關動作可建立、更新故事與發表留言,原始 API 動作還可執行其他寫入。請求會帶著你的權杖轉送至 Shortcut。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Shortcut Mcp,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.stayce%2Fshortcut-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "shortcut": {
      "type": "http",
      "url": "https://streamshortcut.staycek.workers.dev/mcp"
    }
  }
}

README

StreamShortcut (Cloudflare Workers)

A lightweight Shortcut MCP deployed on Cloudflare Workers. One tool, eight actions.

Live URL: https://streamshortcut.staycek.workers.dev/mcp

Why?

The official @shortcut/mcp uses ~11,652 tokens for tool definitions (52 tools). StreamShortcut uses ~500 tokens — a ~96% reduction.

Actions

ActionPurpose
searchFind stories (default: your active stories); text query or structured filters
getStory details by ID or URL
updateChange state, estimate, owner, type, name, or description
commentAdd comment to story
createCreate story with type, estimate, state, epic, owner, description
epicEpic details with its stories
apiRaw REST API access for everything else
helpDocumentation

Usage with Claude

You must provide your own Shortcut API token. Get one at: https://app.shortcut.com/settings/account/api-tokens

Option 1: claude mcp add (recommended)

One command, no file editing. Replace YOUR_TOKEN with your real token:

bash
claude mcp add --transport http shortcut https://streamshortcut.staycek.workers.dev/mcp --header "X-Shortcut-Token: YOUR_TOKEN"

Use -s user to make it available in every project instead of just the current one.

Option 2: Edit the config directly

Add this to your Claude Desktop / Claude Code config:

json
{  "mcpServers": {    "shortcut": {      "type": "http",      "url": "https://streamshortcut.staycek.workers.dev/mcp",      "headers": {        "X-Shortcut-Token": "your-token-here"      }    }  }}

Put the literal token in the config. A "${SHORTCUT_API_TOKEN}" reference only resolves if the variable is present in the environment the app was launched from. On macOS, apps started from the Dock or Finder do not read ~/.zshrc, so the variable will be undefined and the server will fail to authenticate. Environment references work reliably only when you launch from a terminal.

Either way, restart Claude afterwards so the new server is picked up.

Authentication

The server is stateless and stores nothing — every request carries your own token, and it is never persisted. Send it either way:

X-Shortcut-Token: your-token-hereAuthorization: Bearer your-token-here

X-Shortcut-Token takes precedence if both are present. There is no OAuth flow; an unauthenticated request returns 401 with a WWW-Authenticate header.

Verify It Works

Check the service is up (no token needed):

bash
curl -s https://streamshortcut.staycek.workers.dev/health

Confirm your token is valid, straight against Shortcut:

bash
curl -s -o /dev/null -w "%{http_code}\n" https://api.app.shortcut.com/api/v3/member -H "Shortcut-Token: YOUR_TOKEN"

200 means the token is good; 401 means it's wrong or expired.

Then test the full path — this returns your active stories:

bash
curl -s https://streamshortcut.staycek.workers.dev/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -H "X-Shortcut-Token: YOUR_TOKEN" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shortcut","arguments":{"action":"search"}}}'

Once configured in Claude, just ask: "show me my Shortcut stories."

Troubleshooting

SymptomCause
401 Missing Shortcut API tokenNo token sent — use either X-Shortcut-Token or Authorization: Bearer
Error: API error (401): UnauthorizedToken reached the server but Shortcut rejected it — expired or wrong token, or an unexpanded ${SHORTCUT_API_TOKEN} placeholder sent literally
403 Forbidden from the workerCloudflare bot protection. Some default HTTP clients (e.g. Python's urllib) are blocked by user agent — set a normal User-Agent header
Server missing after config editClaude needs a restart; it only reads MCP config at startup

Deploy Your Own (Optional)

If you prefer to self-host:

  1. Clone and install:

    bash
    git clone https://github.com/stayce/streamshortcut-cloudflarecd streamshortcut-cloudflarenpm install
  2. Deploy:

    bash
    npm run deploy

No server-side secrets needed — users always provide their own token.

Development

bash
npm run dev        # local server on http://localhost:8787npm run typecheck  # tsc --noEmitnpm run build      # verify the Worker bundles (dry-run deploy)

Examples

json
{"action": "search"}{"action": "search", "query": {"owner": "me", "state": "In Progress"}}{"action": "get", "id": "704"}{"action": "update", "id": "704", "state": "Done"}{"action": "comment", "id": "704", "body": "Fixed!"}{"action": "create", "name": "New bug", "type": "bug", "estimate": 3, "state": "Ready", "owner": "me"}{"action": "epic", "id": "308"}{"action": "api", "method": "GET", "path": "/workflows"}{"action": "help"}

Related

License

MIT

來源:README.md,提交 748f962

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分