
Packforai Mcp
io.github.zymsj8j9z9-ship-it由 GitHub 帳號 zymsj8j9z9-ship-it 發布v0.1.1更新於 Nov 3, 2026
Convert PDF, DOCX, XLSX, CSV, JSON into clean, AI-ready Markdown via the PackForAI API.
概覽
透過 PackForAI API,在 MCP 用戶端內把 PDF、DOCX、PPTX、XLSX、CSV 與 JSON 檔案轉成乾淨、適合 AI 使用的 Markdown。
- 可以做什麼
- 依絕對路徑轉換本機文件為精簡 Markdown
- 抓取公開的 https 文件網址並回傳轉換後的 Markdown
- 對掃描檔或純圖片 PDF 強制使用 OCR
- 回傳完整版文件 Markdown(例如完整的試算表內容)而非精簡版
- 在結果中附上節省 token 的摘要
- 適用情境
- 適合需要讓助理閱讀雜亂的 PDF、Office 文件或試算表,並希望取得更省 token 的乾淨 Markdown,而不是直接貼上原始內容的情況。也適用於文件密集的資料研讀、報告與規格閱讀,以及需要 OCR 的掃描 PDF。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18 以上版本。需要 Pro 方案的 PackForAI API 金鑰,透過環境變數 PACKFORAI_API_KEY 提供。需要能連線至 PackForAI API;可用 PACKFORAI_BASE_URL 覆寫預設位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Packforai Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
PackForAI MCP server
Convert PDF, DOCX, PPTX, XLSX, CSV and JSON into clean, compact, AI-ready Markdown, directly inside Claude, Cursor and any other MCP client. Powered by PackForAI.
Instead of pasting a messy PDF into your AI (broken text, lost tables, wasted tokens), ask your assistant to convert it first: it comes back as clean Markdown with up to 65% fewer tokens.
What you need
- Node.js 18+
- A PackForAI API key (Pro plan). Create one at packforai.com/account.
Install
The server runs via npx, so there is nothing to install globally. Add it to your MCP client's config.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add:
Restart Claude Desktop.
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
Usage
Once connected, just ask your assistant, for example:
- "Convert
~/Downloads/Q4-report.pdfto clean Markdown." - "Fetch
https://example.com/spec.docxand give me the AI-ready version." - "Convert this scanned PDF with OCR:
/path/to/scan.pdf."
Tool
convert_document
Provide either path or url. Returns the Markdown plus a token-savings summary.
Config
PACKFORAI_API_KEY(required) — your PackForAI API key.PACKFORAI_BASE_URL(optional) — override the API base (defaults tohttps://packforai.com/api/v1).
Links
- Website: packforai.com
- API docs: packforai.com/docs
License
MIT
來源:README.md,提交 ad201d1
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分