بنقرة واحدة
mcp-install
從 GitHub Release 安裝 MCP Server 到 ~/bin
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
從 GitHub Release 安裝 MCP Server 到 ~/bin
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Turn a journal / reference article PDF into a faithful, compile-verified LaTeX "article record" — metadata frontmatter + every theorem, definition and numbered equation (original numbers preserved) + references + flagged editorial notes — saved next to the PDF as year_author_title.tex. Reach for this whenever the user wants to transcribe, OCR, extract, "make a record of", or pull the theorems / equations out of a paper or PDF into LaTeX, or adds a reference PDF and wants it turned into a structured .tex — even when they literally say "OCR it": this skill checks for a text layer first and deliberately avoids OCR on born-digital PDFs, because re-recognizing rendered math is less accurate than reading the embedded text. Especially valuable for math-heavy papers where equation fidelity matters.
發布或更新 MCP Server 到官方 MCP Registry 及第三方平台(Glama、awesome-mcp-servers)
Unblock Apple notarization / signed releases when blocked by an updated or expired Apple Developer Program License Agreement (the notarytool / Transporter HTTP 403 "A required agreement is missing or has expired"). Accepts the pending agreement on developer.apple.com via Safari + AppleScript, then re-verifies and resumes the release. Use when: `xcrun notarytool` / `make release-signed` fails with 403 "required agreement", or user says "notarization blocked", "公證被擋", "Apple 協議過期", "accept apple agreement", "Program License Agreement", "notary 403", "release 卡在 Apple 協議". Do NOT use for 401 "Invalid credentials" (that is an app-specific-password / key problem — re-run `xcrun notarytool store-credentials`, a user-only action).
macOS native browser automation via Safari + AppleScript. Use when the user needs to automate websites that require login (Plaud, Elementor, banking, social media) — Safari preserves localStorage and cookies permanently. Also use when agent-browser fails due to session/auth issues, or when the user explicitly asks to use Safari. Triggers on: "login to site", "automate with Safari", "use Safari", "session expired with agent-browser", "Plaud upload", or any website automation where persistent auth is needed.
更新 Plugin 到最新版本(marketplace.json 同步 + marketplace update + plugin update + 安裝檢查)。當修改了任何 plugin 原始碼後需要同步、或用戶提到「更新 plugin」、「同步 plugin」、「plugin 沒生效」、「reload plugins」時使用。
LaTeX source 編譯前的 static check — punct_check(半形/全形標點)+ fonts_check(字型缺字,需既有 .log)+ source-level pattern audit。當用戶說「precompile check」「編譯前檢查」「跑 make check」「source audit」「掃半形標點」「掃缺字」時使用。對應暑期班 typesetting-checklist 的
| name | mcp-install |
| description | 從 GitHub Release 安裝 MCP Server 到 ~/bin |
| argument-hint | ["version"] |
| allowed-tools | Bash(gh:*), Bash(curl:*), Bash(chmod:*), Bash(ls:*), Bash(mkdir:*), Bash(rm:*), Read, Glob, AskUserQuestion |
| disable-model-invocation | true |
從 GitHub Release 下載並安裝 MCP Server binary 到 ~/bin。
部署新版本請用 /mcp-tools:mcp-deploy
$1 = 版本號(可選,如 v1.2.0)
v1.2.0)--list:列出所有可用版本動任何事之前先用 TaskCreate 建 todo list:
TaskCreate(name="detect_project", description="Phase 0: 確認 MCP 專案目錄 + 讀專案資訊 + 確認 GitHub repo")
TaskCreate(name="version_selection", description="Phase 1: 選版本(latest / 指定 / list)")
TaskCreate(name="download_and_install", description="Phase 2: 確認 ~/bin + 取 binary 名 + 下載 + 設權限 + 驗證")
TaskCreate(name="report", description="Phase 3: 輸出完成報告")
完成每一步立即 TaskUpdate → completed。靜默完成 = 違規。
檢查當前目錄是否為 MCP 專案:
pwd
ls -la
必須存在的檔案:
mcpb/manifest.json如果不存在,提示使用者:
請先
cd到 MCP 專案目錄
從 mcpb/manifest.json 取得:
name: 專案名稱(用於 GitHub repo)homepage 或 repository.url: GitHub URLcat mcpb/manifest.json
從 manifest.json 提取 GitHub owner 和 repo:
# 例:https://github.com/kiki830621/che-word-mcp → owner=kiki830621, repo=che-word-mcp
$1 = --list列出所有可用版本:
gh release list --repo {owner}/{repo}
顯示結果後結束,不執行安裝。
$1 有指定版本使用指定版本(確保格式為 v{version}):
VERSION="v1.2.0" # 或使用者指定的版本
取得最新版本:
VERSION=$(gh release list --repo {owner}/{repo} --limit 1 --json tagName -q '.[0].tagName')
echo "最新版本: $VERSION"
mkdir -p ~/bin
從 manifest.json 取得 binary 名稱:
# 從 server.entry_point 取得:server/CheWordMCP → CheWordMCP
BINARY_NAME=$(cat mcpb/manifest.json | grep '"entry_point"' | sed 's/.*"server\/\([^"]*\)".*/\1/')
echo "Binary: $BINARY_NAME"
gh release download {VERSION} \
--repo {owner}/{repo} \
--pattern "{BINARY_NAME}" \
--output ~/bin/{BINARY_NAME} \
--clobber
參數說明:
--pattern: 只下載 binary 檔案(不下載 .mcpb)--output: 直接輸出到 ~/bin--clobber: 覆蓋已存在的檔案chmod +x ~/bin/{BINARY_NAME}
ls -lh ~/bin/{BINARY_NAME}
file ~/bin/{BINARY_NAME}
# MCP 安裝完成
## 安裝資訊
- 專案: {project-name}
- 版本: {VERSION}
- Binary: ~/bin/{BINARY_NAME}
## GitHub Release
- URL: https://github.com/{owner}/{repo}/releases/tag/{VERSION}
## 下一步
- 測試: `claude mcp list` 確認 MCP 已連線
- 如需更新 Claude Code 設定,編輯 `~/.claude/settings.json`
# 安裝最新版
/mcp-install
# 安裝指定版本
/mcp-install v1.2.0
# 列出所有版本
/mcp-install --list
# 下載並安裝最新版
gh release download --repo kiki830621/che-word-mcp --pattern "CheWordMCP" --output ~/bin/CheWordMCP --clobber
chmod +x ~/bin/CheWordMCP
| 問題 | 解決方案 |
|---|---|
| gh 未登入 | 執行 gh auth login |
| 找不到 release | 確認版本號正確,使用 --list 查看 |
| 權限不足 | 確認 ~/bin 目錄權限 |
| binary 無法執行 | macOS 可能需要允許:System Settings → Privacy & Security |
| 命令 | 用途 | 使用時機 |
|---|---|---|
/mcp-deploy | 編譯 + 打包 + 發布 + 安裝 | 開發完成後發布新版 |
/mcp-install | 從 GitHub 下載安裝 | 在其他機器安裝、更新版本 |
Reproducibility:/mcp-install 確保安裝的是已發布的 release 版本,可重現且版本明確。