TemplateFox MCP Server
OfficialTemplateFox MCP Server
MCP(Model Context Protocol)服务器,用于 TemplateFox PDF 生成 API。你可以通过 Claude、Cursor 和 Windsurf 等 AI 助手直接从模板生成 PDF。
安装
Claude Desktop
在 macOS 上,将以下内容添加到 Claude Desktop 的配置(~/Library/Application Support/Claude/claude_desktop_config.json)中:
{
"mcpServers": {
"templatefox": {
"command": "npx",
"args": ["-y", "@templatefox/mcp-server"],
"env": {
"TEMPLATEFOX_API_KEY": "sk_your_api_key_here"
}
}
}
}Claude Code
claude mcp add templatefox -- npx -y @templatefox/mcp-server然后,在你的 shell 中设置环境变量 TEMPLATEFOX_API_KEY。
Cursor / Windsurf
在 MCP 服务器配置中使用相同的 npx -y @templatefox/mcp-server 命令,并将 TEMPLATEFOX_API_KEY 加入环境中。
全局安装(备选)
npm install -g @templatefox/mcp-server然后使用 templatefox-mcp-server 作为命令,而不是 npx。
Related MCP server: @docujson/mcp
配置
环境变量 | 必填 | 说明 |
| 是 | 你的 API 密钥(以 |
| 否 | 覆盖 API 基础 URL(默认: |
可用工具
工具 | 说明 |
| 使用模板和动态数据生成 PDF(1 积分) |
| 提交异步 PDF 生成任务,并可设置 webhook(1 积分) |
| 检查异步 PDF 任务的状态 |
| 列出异步 PDF 生成任务 |
| 列出所有可用模板 |
| 获取模板的字段/变量 |
| 查看剩余积分和账户信息 |
| 查看积分交易记录 |
远程服务器(HTTP)
该 MCP 服务器还支持通过 Streamable HTTP 进行 HTTP 传输,适用于远程和云部署。
通过 URL 连接
https://mcp-server-599407781746.us-central1.run.app/mcpMCP 客户端必须通过 HTTP 请求头传递 API 密钥:
Authorization: Bearer sk_your_api_key_here或:
x-api-key: sk_your_api_key_here自托管
通过设置 PORT 环境变量,以 HTTP 模式运行服务器:
PORT=8080 TEMPLATEFOX_API_KEY=sk_your_key node dist/index.js或者使用 Docker:
docker build -t templatefox-mcp .
docker run -p 8080:8080 templatefox-mcpMCP 端点为 http://localhost:8080/mcp,健康检查端点为 http://localhost:8080/health。
使用示例
配置完成后,你可以让 AI 助手执行:
“列出我的 PDF 模板,并使用“Invoice Template”模板生成一张发票,客户姓名为“John Doe”,金额为 150.00。”
该助手将:
调用
list_templates查找可用的模板调用
get_template_fields获取必填字段使用模板 ID 和数据调用
generate_pdf返回 PDF 下载 URL
链接
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents and users to process documents through natural language, supporting PDF operations like text extraction, redaction, splitting, form filling, annotations, and content search.1161MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to DocuJSON for PDF generation, template management, and API operations via natural language. It enables tasks like creating invoices, managing templates, and viewing usage stats through MCP-compatible tools.13MIT
- AlicenseBqualityDmaintenanceEnables PDF manipulation including text, images, annotations, form fields, page operations, and metadata through natural language.16MIT

mcp-server-pdfnoodleofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate PDF documents from templates or raw HTML using natural language, with tools for template creation, PDF generation, and utility operations.191MIT
Related MCP Connectors
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Turn a description into a shareable, editable PDF — invoices, certificates, reports, resumes.
Generate PDF reports from Re:port Flow templates via Claude and other AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TemplateFoxPDF/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server