Docjet MCP logo

Docjet MCP

Render branded PDFs and PNG images from DocJet templates or raw HTML through MCP tools.

Install Docjet MCP

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": {
    "docjet-mcp": {
      "command": "npx",
      "args": [
        "docjet-mcp"
      ],
      "env": {
        "DOCJET_API_KEY": "YOUR_VALUE_HERE",
        "DOCJET_BASE_URL": "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 3 tools correctly ().

Overview

The docjet-mcp MCP server connects MCP clients to the DocJet API for rendering branded PDFs and PNG images. It runs locally over stdio through npx, accepting a template ID or raw HTML with a JSON data object and returning signed download URLs. Use it when an agent needs to generate invoices, reports, certificates, social cards, or similar assets from DocJet templates. The server also lists available templates without requiring an API key.

Use cases

  • Render invoices from a DocJet template
  • Generate branded reports as PDFs
  • Create certificate documents from structured data
  • Produce PNG social cards from templates
  • List available DocJet templates before rendering

Key features

  • Render branded PDFs
  • Render PNG images
  • Accept templates or raw HTML
  • Return signed download URLs
  • List templates without an API key
  • Validate template IDs locally

Tools3

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

Verified live~421 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.

17/17 checks healthy over the last 78d

What it can do

From the 3 tools this server returned when we ran it.

Makes network requests · 2Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age147 days
Maintainers1

Observed 2026-11-07 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 3d ago via OSV.dev · docjet-mcp (npm)

Adoption & maintenance

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

npm downloads166Package downloads in the last 30 days.
Last commit5mo 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 exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Docjet MCP works

What docjet-mcp MCP server does

The docjet-mcp MCP server exposes DocJet rendering operations as MCP tools. Agents can generate branded PDF documents such as invoices, reports, and certificates, or create PNG images for uses such as Open Graph and social cards. Each rendering request can reference a DocJet template by ID or provide raw HTML instead. A JSON data object supplies the values used by the template or HTML.

The rendering tools return signed download URLs rather than embedding the generated files in the MCP response. A separate discovery tool lists the templates available to the connected DocJet account, including each template's ID, name, description, and output type. Template discovery does not require an API key.

How it works

The server uses the MCP SDK's version 1 implementation and communicates with clients over stdio. It can be started with npx, so the local process handles MCP communication while requests are sent to DocJet's API. The PDF tool calls the PDF rendering endpoint, the image tool calls the PNG rendering endpoint, and the template tool calls the templates endpoint.

Before sending a rendering request, the server checks template IDs locally. IDs must begin with a lowercase letter or number, may contain lowercase letters, numbers, and hyphens, and cannot exceed 64 characters. API failures are returned as MCP error content, including DocJet error codes such as quota and rate-limit errors.

Setup and configuration

Run the docjet-mcp MCP server from an MCP client's server configuration using the npx command and the docjet-mcp package argument. Set DOCJET_API_KEY in the server environment.

DOCJET_BASE_URL is optional and can override the default API base URL, https://api.docjet.dev. A DocJet API key is available from DocJet.

Tools and capabilities

  • render_pdf renders a branded PDF from a template ID or raw HTML plus data and returns a signed URL.
  • render_image renders a PNG from a template ID or raw HTML plus data and returns a signed URL.
  • list_templates returns template IDs, names, descriptions, and output types without an API key.

Limitations and notes

The docjet-mcp MCP server depends on DocJet availability and account limits. The public demo key is shared and has the documented rate and monthly render limits, so it is intended for limited trials rather than unrestricted use. Rendering requires an API key, while listing templates does not. The server is designed for local stdio use and does not require hosting a separate service.

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 Docjet MCP

docjet-mcp is an MCP server that connects MCP clients to the DocJet API. Its main tools render branded PDFs, render PNG images, and list available templates. Rendering accepts a template ID or raw HTML with JSON data and returns a signed download URL; template listing does not require an API key.

Install it through your MCP client's server configuration with the `npx` command and `docjet-mcp` as its argument. Set `DOCJET_API_KEY` in the server environment. The server runs locally over stdio, so no separate service needs to be hosted.

Yes, docjet-mcp works with Cursor through its stdio MCP configuration. The README also names Claude Desktop, Claude Code, and Windsurf as compatible MCP clients. Configure the server with `npx`, pass `docjet-mcp` as the argument, and provide a DocJet API key.

Call `render_pdf` with either a valid `template_id` or raw `html`, plus a `data` object. The tool sends the request to DocJet and returns a signed download URL. Rendering requires `DOCJET_API_KEY`; template IDs are checked locally before the network request.

Yes, call `render_image` with a template ID or raw HTML and a JSON data object. The tool renders a PNG, suitable for examples such as OG or social cards, and returns a signed download URL.

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 PreviewDocjet MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/docjet-mcp?style=directory)](https://allmcps.com/mcp/docjet-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/docjet-mcp"><img src="https://allmcps.com/api/badge/docjet-mcp?style=directory" alt="Docjet MCP on AllMCPs" /></a>