
TemplateFoxPDF
io.github.TemplateFoxPDF由 GitHub 帳號 TemplateFoxPDF 發布v1.9.7更新於 Oct 24, 2026
MCP server for TemplateFox PDF generation API - Generate PDFs from templates via AI assistants
概覽
TemplateFox PDF 伺服器,讓 AI 助理列出範本、填入資料並透過 TemplateFox API 產生 PDF。
- 可以做什麼
- 列出可用範本,並查看每個範本在填寫前所需的欄位。以動態資料從範本產生 PDF,或排入非同步產生工作並可選擇設定 webhook。查詢非同步工作狀態並列出過往的 PDF 產生工作。查看帳戶資訊、剩餘額度與額度交易紀錄。
- 適用情境
- 適合希望助理在對話中直接用現有 TemplateFox 範本產生發票、報告等文件,或查詢 PDF 產生額度與工作紀錄的情境。
- 執行需求
- 以 npm 套件形式在本機執行(npx 或全域安裝),需要 Node.js。需要 TemplateFox 帳戶與 TEMPLATEFOX_API_KEY 環境變數。可選用 TEMPLATEFOX_BASE_URL 覆寫 API 位址。需要連線至 TemplateFox API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 TemplateFoxPDF,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
TemplateFox MCP Server
MCP (Model Context Protocol) server for the TemplateFox PDF generation API. Generate PDFs from templates directly through AI assistants like Claude, Cursor, and Windsurf.
Installation
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Claude Code
Then set the environment variable TEMPLATEFOX_API_KEY in your shell.
Cursor / Windsurf
Use the same npx -y @templatefox/mcp-server command in your MCP server configuration, with TEMPLATEFOX_API_KEY in the environment.
Global Install (alternative)
Then use templatefox-mcp-server as the command instead of npx.
Configuration
Available Tools
Remote Server (HTTP)
The MCP server also supports HTTP transport via Streamable HTTP, suitable for remote and cloud deployments.
Connect via URL
MCP clients must pass the API key via HTTP header:
or:
Self-host
Run the server in HTTP mode by setting the PORT environment variable:
Or with Docker:
The MCP endpoint is available at http://localhost:8080/mcp and a health check at http://localhost:8080/health.
Example Usage
Once configured, you can ask your AI assistant:
"List my PDF templates and generate an invoice using the Invoice Template with customer name 'John Doe' and amount 150.00"
The assistant will:
- Call
list_templatesto find available templates - Call
get_template_fieldsto discover required fields - Call
generate_pdfwith the template ID and data - Return the PDF download URL
Links
License
MIT
來源:README.md,提交 856fc82
工具
0版本歷史
1- v1.9.7最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分