mcpField
A
Api2Pdf MCP by usefulapi

Api2Pdf MCP by usefulapi

Remote
usefulapi.ioProductivity0Updated today

About Api2Pdf MCP by usefulapi

Api2Pdf MCP by usefulapi is a hosted MCP server for turning documents and web content into PDFs or images, for people using Claude, Cursor, or other MCP clients. It also provides PDF operations and barcode generation through an Api2Pdf account.

Key features

  1. 01Create PDFs from HTML, URLs, Markdown, and Office files
  2. 02Render HTML and URLs as images
  3. 03Merge, compress, and extract PDF pages
  4. 04Password-protect PDFs and convert documents to Markdown
  5. 05Generate barcodes and QR codes

Use cases

  1. 01Create PDFs from a web page or Markdown document
  2. 02Convert Office documents and HTML into PDFs
  3. 03Combine or secure PDF files
  4. 04Create a barcode or QR code

MCP support

Exposes Api2Pdf conversion and document-management tools to MCP clients through a hosted endpoint. Users connect with OAuth and their Api2Pdf credentials.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api2pdf.usefulapi.io/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

16
ParameterTypeRequiredDescription
htmlstringYesThe HTML source to render into a PDF.
inlinebooleanNoIf true (Api2Pdf default), the generated file is served inline; if false, as an attachment.
optionsobjectNoEngine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf.
storageobjectNoCustom storage target, used when useCustomStorage is true.
storage.urlstringNoPre-signed destination URL for the upload.
storage.methodstringNoHTTP method Api2Pdf uses to upload (e.g. 'PUT').
fileNamestringNoA name for the generated file, e.g. 'invoice.pdf'.
output_binarybooleanNoIf true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link).
extraHTTPHeadersobjectNoExtra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file).
useCustomStoragebooleanNoIf true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it.

Details

From the project README

Api2Pdf MCP by usefulapi

Generate PDFs and images from HTML, URLs, Markdown or office files, from Claude, Cursor, or any MCP client. Hosted, no local install — connect with your Api2Pdf API key.

Live endpoint: https://api2pdf.usefulapi.io/mcp · Homepage: https://usefulapi.io/api2pdf

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://api2pdf.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
{
  "mcpServers": {
    "api2pdf": {
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Api2Pdf credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/api2pdf/

On first connect you'll paste your Api2Pdf API key. It's validated, stored per-user, and scoped to you.

Tools

ToolTypeWhat it does
api2pdf_html_to_pdfwriteHTML to PDF (Chrome)
api2pdf_url_to_pdfwriteURL to PDF (Chrome)
api2pdf_markdown_to_pdfwriteMarkdown to PDF (Chrome)
api2pdf_html_to_imagewriteHTML to image (Chrome)
api2pdf_url_to_imagewriteURL to image / screenshot (Chrome)
api2pdf_wkhtml_to_pdfwriteHTML to PDF (wkhtmltopdf)
api2pdf_office_to_pdfwriteOffice document to PDF (LibreOffice)
api2pdf_merge_pdfswriteMerge PDFs (PDFSharp)
api2pdf_compress_pdfwriteCompress PDF (PDFSharp)
api2pdf_extract_pageswriteExtract PDF pages (PDFSharp)
api2pdf_add_passwordwritePassword-protect PDF (PDFSharp)
api2pdf_convert_to_markdownwriteConvert document to Markdown (MarkItDown)
api2pdf_generate_barcodewriteGenerate barcode / QR code (Zebra)
api2pdf_get_balancereadGet account balance
api2pdf_get_statusreadGet service status
api2pdf_delete_filewriteDelete a generated file
api2pdf_usage_statusmetaUsage status (free-tier meter)
api2pdf_request_featuremetaRequest a missing feature
api2pdf_upgrademetaUpgrade to Pro (unlimited*)
api2pdf_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with api2pdf_upgrade (it returns a Stripe Checkout link). Cancel any time with api2pdf_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running api2pdf_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.