TemplateFox MCP Server logo

TemplateFox MCP Server

Generate PDFs from TemplateFox templates, inspect template fields, manage async jobs, and monitor account credits through MCP.

Install TemplateFox MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-76": {
      "command": "npx",
      "args": [
        "-y",
        "@templatefox/mcp-server"
      ],
      "env": {
        "TEMPLATEFOX_API_KEY": "YOUR_VALUE_HERE",
        "TEMPLATEFOX_BASE_URL": "YOUR_VALUE_HERE",
        "PORT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 13 tools correctly ().

Overview

TemplateFox MCP Server MCP server connects AI assistants to the TemplateFox PDF generation API. It lets an assistant discover templates and their fields, generate PDFs synchronously or asynchronously, check job status, and review account usage. Use it when an agent needs to create documents from existing TemplateFox templates using dynamic data. The server supports local stdio setup with npm and remote Streamable HTTP deployments.

Use cases

  • Generate invoices from a stored PDF template
  • Discover required fields before filling a template
  • Queue large or deferred PDF generation jobs
  • Monitor PDF jobs and account credit usage

Key features

  • Synchronous PDF generation with dynamic data
  • Asynchronous PDF jobs with optional webhooks
  • Template and field discovery
  • PDF job status and history
  • Account credit and transaction reporting
  • Stdio and Streamable HTTP transport

Tools13

What TemplateFox MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 111d

What it can do

From the 13 tools this server returned when we ran it; 13 declare their own safety hints.

Makes network requests · 4Read-only tools · 13
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age187 days
Maintainers1

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @templatefox/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads245Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed13Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How TemplateFox MCP Server works

What TemplateFox MCP Server MCP server does

TemplateFox MCP Server MCP server exposes the TemplateFox PDF generation API through Model Context Protocol. It is intended for AI assistants that need to work with templates and produce PDF documents without requiring a custom application layer for each request.

The server can discover the templates available to an account and inspect the fields or variables required by a selected template. After identifying the appropriate template and data structure, an assistant can request a PDF using dynamic values such as customer details or invoice amounts. The example workflow uses template discovery, field inspection, and PDF generation in sequence, then returns a PDF download URL.

It also provides account and job-management operations. Assistants can submit asynchronous PDF jobs, optionally include a webhook, inspect the status of a submitted job, and list previous async jobs. Account tools expose remaining credits, account information, and credit transaction history.

How it works

The server authenticates with a TemplateFox API key and forwards MCP tool requests to the TemplateFox API. Synchronous generation uses one credit, and queued asynchronous generation also uses one credit. Status checks and listing operations are available for reviewing jobs, templates, account details, and transactions.

TemplateFox MCP Server MCP server supports two transport approaches. For local use, an MCP client starts the package through npx, or runs the globally installed templatefox-mcp-server command. For remote or cloud deployments, the server provides a Streamable HTTP endpoint. HTTP clients send the API key using either an Authorization: Bearer header or an x-api-key header.

Setup and configuration

Local configuration requires the TEMPLATEFOX_API_KEY environment variable. The key starts with sk_ and can be obtained from the TemplateFox API keys dashboard. TEMPLATEFOX_BASE_URL is optional and overrides the default API base URL, https://api.templatefox.com.

Claude Desktop, Cursor, and Windsurf can use the npx -y @templatefox/mcp-server command with the API key supplied in the MCP server environment. Claude Code can add the server with its claude mcp add command, followed by setting the key in the shell. A global npm installation is also available.

For self-hosted HTTP mode, set PORT and the API key before running the built server, or build and run the supplied Docker image. The MCP endpoint uses /mcp, and the self-hosted HTTP mode exposes /health for health checks.

Tools and capabilities

  • Generate a PDF from a template with dynamic data.
  • Queue asynchronous PDF generation with an optional webhook.
  • Check async job status and list async PDF jobs.
  • List templates and inspect a template's fields.
  • Check account information and remaining credits.
  • Review credit transaction history.

Limitations and notes

Template operations depend on templates already available in the connected TemplateFox account. PDF generation consumes credits, with the documented synchronous and asynchronous generation operations costing one credit each. An API key is required for normal use. The optional base URL setting is provided for API endpoint overrides; no other configuration variables are documented.

TemplateFox MCP Server MCP server can be used through the documented remote endpoint or self-hosted in HTTP mode, but HTTP clients must provide the API key in a supported header.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about TemplateFox MCP Server

TemplateFox MCP Server is an MCP server that connects AI assistants to the TemplateFox PDF generation API. Its main tools list templates, inspect template fields, generate PDFs synchronously or asynchronously, track PDF jobs, and check account credits and transaction history. It supports local npm-based setup and Streamable HTTP deployment.

Install it by configuring your MCP client to run `npx -y @templatefox/mcp-server` and provide `TEMPLATEFOX_API_KEY` in the environment. You can alternatively install the package globally with npm and run `templatefox-mcp-server`.

`TEMPLATEFOX_API_KEY` is required. `TEMPLATEFOX_BASE_URL` is optional and changes the API base URL from its default. HTTP self-hosting also uses `PORT` to select the listening port.

Yes, TemplateFox MCP Server works with Cursor using the same `npx -y @templatefox/mcp-server` command and an environment containing `TEMPLATEFOX_API_KEY`.

Use `list_templates` to find a template, then `get_template_fields` to identify its required variables and call `generate_pdf` with the template ID and dynamic data. For queued processing, use `generate_pdf_async` instead.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTemplateFox MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-76?style=directory)](https://allmcps.com/mcp/mcp-server-76)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-76"><img src="https://allmcps.com/api/badge/mcp-server-76?style=directory" alt="TemplateFox MCP Server on AllMCPs" /></a>