PDFMakerAPI

io.github.GerardoBarrera由 GitHub 账号 GerardoBarrera 发布v1.0.0更新于 Oct 24, 2026

Turn a description into a shareable, editable PDF — invoices, certificates, reports, resumes.

已验证Streamable HTTP可网页运行效率与工作流文件与存储

概览

AI 生成的概览

通过 PDFMakerAPI 把一段自然语言描述变成可分享、可编辑的 PDF 文档链接,仅提供一个 create_document 工具。

可以做什么
  • 创建文档:把自然语言描述生成发票、证书、报告、简历或合同等 PDF
  • 获取分享链接:返回的链接可在 PDFMakerAPI 编辑器中预览、修改字段并下载 PDF
  • 按提示生成:向助手描述所需文档,助手调用 create_document 完成生成
适用场景
适合希望由助手起草结构化文档(发票、证书、报告、简历等),并返回一个可查看、可编辑、可下载的链接,而不是在本地生成 PDF 的场景。
运行要求
可使用托管远程端点(无需 Node),或通过 npx 运行本地 npm 包,后者需要 Node.js 18 及以上。无需账号或凭据;可选环境变量 PDFMAKERAPI_BASE_URL 可指向其他 API。需要能访问 PDFMakerAPI 服务的网络。
安装前请注意
文档描述会发送给第三方 PDFMakerAPI 服务,生成的文档也保存在该服务上并以分享链接形式存在,因此不要在提示中放入敏感的个人或商业数据。文档 JSON 上限约 1 MB。免费额度为每月 100 份 PDF,用量更大可能涉及付费方案。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PDFMakerAPI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.GerardoBarrera%2Fpdfmakerapi-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "pdfmakerapi": {
      "type": "http",
      "url": "https://api.pdfmakerapi.com/mcp"
    }
  }
}

README

PDFMakerAPI MCP server

[npm] [smithery badge] [Glama score] [Add to Cursor] [Install in VS Code]

An MCP server for PDFMakerAPI. It exposes a single create_document tool that turns a plain-English document description into a shareable link which opens in the PDFMakerAPI editor — preview it, edit any field, and download the PDF.

Works with Claude Desktop, Claude.ai, Cursor, Windsurf, Cline, Zed, VS Code, ChatGPT, and any other MCP client. It's a thin client of the public API at https://api.pdfmakerapi.com, so it needs no account or credentials of its own.

What is PDFMakerAPI?

PDFMakerAPI is a PDF template builder and PDF generation API. Instead of hard-coding documents or wrestling with HTML-to-PDF converters that break when your content changes, you design a reusable template once in a visual, no-code editor — placing text, tables, images, and dynamic fields exactly where you want them — then feed it data to produce a finished, editable PDF.

Generate a single document or thousands. Fill a template in yourself, share a link so anyone completes it in the browser as a fillable PDF form, send JSON to the REST API, trigger generation from no-code tools like Zapier, Make, and n8n, or create documents straight from AI agents like Claude and ChatGPT. Prefer to start from a prompt? Describe what you need and let Quill build it.

Teams use PDFMakerAPI for invoices, receipts, certificates, reports, and contracts — anything you'd otherwise rebuild by hand every time the data changes. Start building free with 100 PDFs a month.

Quick install

One-click:

[Add to Cursor] [Install in VS Code]

Or add the same config manually (works in every desktop client):

json
{  "mcpServers": {    "pdfmakerapi": {      "command": "npx",      "args": ["-y", "@pdfmakerapi/mcp"]    }  }}

Setup by client

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json), add the mcpServers block above, and restart Claude.

Cursor

Use the Add to Cursor button, or add the block to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project).

Windsurf

Add the block to ~/.codeium/windsurf/mcp_config.json (or via Settings → Cascade → MCP).

Cline

Cline → MCP Servers → Configure, and add the mcpServers block.

VS Code

Use the Install in VS Code button, or add to .vscode/mcp.json (note: VS Code uses a servers key):

json
{  "servers": {    "pdfmakerapi": { "command": "npx", "args": ["-y", "@pdfmakerapi/mcp"] }  }}
Zed

In settings.json:

json
{  "context_servers": {    "pdfmakerapi": { "command": { "path": "npx", "args": ["-y", "@pdfmakerapi/mcp"] } }  }}

Hosted (remote) option — no install

If your client supports remote MCP servers, just point it at the hosted endpoint — no npx, no Node:

https://api.pdfmakerapi.com/mcp
  • Claude.ai (web): Settings → Connectors → Add custom connector → paste the URL.
  • ChatGPT (Plus/Pro/Enterprise): Settings → Connectors → add the URL.
  • Cursor / others: add { "url": "https://api.pdfmakerapi.com/mcp" } instead of command/args.

Usage

Ask your assistant for a document:

"Make a professional invoice for Acme with 3 line items." "Create a course completion certificate." "Build a clean one-page resume."

It calls create_document and returns a link like https://app.pdfmakerapi.com/d/<id> — open it to preview, edit any field, and download the PDF.

Configuration

Env varDefaultPurpose
PDFMAKERAPI_BASE_URLhttps://api.pdfmakerapi.comPoint at a different API (e.g. http://localhost:3001 for local dev).

Develop

bash
git clone https://github.com/GerardoBarrera/pdfmakerapi-mcp.gitcd pdfmakerapi-mcpnpm installnpm run build   # compile to dist/npm run dev     # run from source (tsx)

Troubleshooting

  • Server doesn't appear in your client — restart the client after editing its MCP config, and check the JSON is valid (no trailing commas). For remote clients, confirm the URL is exactly https://api.pdfmakerapi.com/mcp.
  • npx fails to start — ensure Node.js 18+ is installed (node -v), then retry npx -y @pdfmakerapi/mcp@latest.
  • Connection / timeout on the remote endpoint — verify your network/proxy allows HTTPS to api.pdfmakerapi.com, and that you're using the Streamable HTTP transport.
  • "Document is too large" — documents are capped at ~1 MB of JSON; trim large tables or split into multiple documents.
  • The returned link won't open — copy the full link (it ends in a document ID); if it 404s, generate the document again.
  • Still stuck? — open a GitHub issue or email [email protected].

License

MIT

来源:README.md,提交 8d010c9

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分