
StayPut
io.github.keenanlk由 GitHub 帳號 keenanlk 發布v0.1.0更新於 Oct 24, 2026
Local PDF and photo tools: merge, split, rotate, number PDFs; strip photo GPS. No uploads.
概覽
本機 MCP 伺服器,讓助理在自己的電腦上合併、拆分、旋轉與編號 PDF,並移除照片中的 GPS 等中繼資料。
- 可以做什麼
- 合併 PDF、拆分、擷取或重排頁面、旋轉頁面、加上頁碼,並讀取頁數、頁面尺寸與標題
- 把 JPG 與 PNG 圖片合成一份 PDF,不重新壓縮
- 檢視照片隱藏的中繼資料(GPS 位置、相機、拍攝時間),並輸出移除 EXIF、GPS、XMP 與註解的副本
- 每個工具都會寫入新檔案並回傳其路徑;輸入檔案不會被修改,既有檔案也不會被覆寫
- 適用情境
- 適合讓助理處理日常的 PDF 拼裝、頁面調整,以及在分享前清除照片隱私資訊,而不必把檔案上傳到線上服務。常用於發票、合約、論文,以及需要移除位置資訊的照片。
- 執行需求
- 需要 Node.js 20 或更新版本;以 npm 套件 stayput-mcp 安裝,並透過 stdio 在本機執行(例如使用 npx)。不需要帳號、API 金鑰或網路存取。加密 PDF 會在本機以 qpdf 解密;需要密碼開啟的 PDF 須透過 password 參數傳入密碼。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 StayPut,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Stayput MCP server
Local PDF and photo tools for Claude, Cursor, VS Code and any other app that speaks the Model Context Protocol. Ask your assistant to merge PDFs, pull out pages, or remove the GPS location from a photo, and it does the work on your own machine.
It runs the same code as stayput.dev, the browser version. Your files are read from disk and written back to disk; nothing is uploaded, and the server makes no network requests. It is free and open source (MIT), with no account and no API key.
Tools
Every tool writes a new file and returns its path. Input files are never modified, and an existing file is never overwritten (you get file-1.pdf instead). Encrypted PDFs (bank statements, forms with printing restrictions) are decrypted locally with qpdf; for PDFs that need a password to open, the assistant passes it in the password argument.
Install
Requires Node.js 20 or newer.
Claude Code
Claude Desktop, Cursor, Windsurf and other JSON configs (claude_desktop_config.json, .cursor/mcp.json, ...)
VS Code
Then ask things like:
- "Merge invoice-march.pdf and invoice-april.pdf in ~/Downloads"
- "Take pages 2 to 5 out of contract.pdf"
- "Does IMG_2041.jpg have a location in it? If so, make a copy without it"
- "Number the pages of thesis.pdf, starting on page 3"
Relative paths are resolved from the folder the server was started in, so absolute paths or ~/... are the safest thing to give it.
Not covered here
HEIC, WebP and AVIF conversion, compression, PDF to image and PDF signing need a browser engine. They are on stayput.dev, which works the same way: in your browser, nothing uploaded.
Development
The tests use the site's fixtures; generate them first from the repository root with python3 tests/fixtures/make-fixtures.py && node tests/fixtures/make-pdf.mjs (needs Pillow and pillow-heif).
The server imports the PDF and metadata code from ../src/lib and bundles it with esbuild (build.mjs). Two browser-only modules are swapped at build time: src/unlock.ts loads qpdf from node_modules instead of a <script> tag, and src/no-canvas.ts stands in for the canvas helpers that only PDF compression uses.
來源:mcp/README.md,提交 49a7dce
工具
0版本歷史
1- v0.1.0最新Sep 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分