Back to Browse

Docuqueue MCP Server

Developer ToolsUse Caution3.2MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.

About

Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.

Remote endpoints: streamable-http: https://docuqueue.com/mcp/sse

Security Report

3.2
Use Caution3.2High Risk

The DocuQueue MCP server is a document generation tool with reasonable architectural security, but has several concerning issues that merit attention. The main vulnerabilities are: (1) weak API key validation in the remote HTTP server that accepts any non-empty key without verification, (2) potential path traversal risk in file upload operations without visible path sanitization, (3) unsafe use of fetch() with user-controlled URLs in branding extraction that could enable SSRF attacks despite URL validation, and (4) missing input validation and error handling in several critical operations. While the permission scope (network_http, file_read, file_write) is appropriate for a document generation service, the implementation has gaps that could be exploited. Supply chain analysis found 3 known vulnerabilities in dependencies (2 critical, 1 high severity).

7 files analyzed · 13 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

DocuQueue — MCP Document Generation Server

npm version License: MIT Glama

Generate PDFs, receipts, invoices, and manage documents from AI chat. Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. MCP server for ecommerce receipts, invoices, contracts, and document generation.

MCP document generation lets AI assistants like Claude, ChatGPT, and Cursor create PDFs, contracts, and invoices directly from chat. The Model Context Protocol (MCP) connects your AI agent to a document generation API — no custom integration code required. DocuQueue is an MCP server that exposes tools like generate_document, fill_template, and batch_generate for any MCP-compatible client.

TL;DR

claude mcp add docuqueue -e DOCUQUEUE_API_KEY=your_api_key -- npx docuqueue-mcp

Features

  • Template Management: Browse, create, and preview document templates
  • PDF Generation: Fill templates with data and generate PDFs instantly
  • Form Filling: Auto-detect and fill PDF form fields (W-9, W-4, contracts)
  • Batch Processing: Generate multiple documents from CSV/Excel data
  • Brand Extraction: Extract colors, fonts, and logos from any website
  • DOCX Support: Upload and use Word documents as templates
  • Tool Annotations: Read-only and destructive operations clearly marked

Common Forms

Fill and generate these popular forms directly from AI chat:

FormDescriptionLink
W-9Request for Taxpayer Identification NumberFill Online
W-4Employee's Withholding CertificateFill Online
I-9Employment Eligibility VerificationFill Online
1040U.S. Individual Income Tax ReturnFill Online

Quick Start

Option 1: Hosted (Recommended)

No installation required. Add this URL to your AI client:

https://docuqueue.com/mcp/sse

Option 2: Local Install

# Claude Code
claude mcp add docuqueue -e DOCUQUEUE_API_KEY=your_api_key -- npx docuqueue-mcp

# Or install globally
npm install -g docuqueue-mcp

Client Integration

Claude.ai (Hosted)

  1. Go to Settings → Connectors → Add custom connector
  2. Paste: https://docuqueue.com/mcp/sse
  3. Click Authorize in the browser popup
  4. Start generating documents

Claude Desktop

Add to ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "docuqueue": {
      "command": "npx",
      "args": ["docuqueue-mcp"],
      "env": {
        "DOCUQUEUE_API_KEY": "your_api_key"
      }
    }
  }
}

Claude Code

claude mcp add docuqueue -e DOCUQUEUE_API_KEY=your_api_key -- npx docuqueue-mcp

Codex

Add to ~/.codex/config.toml:

[mcp_servers.docuqueue]
command = "npx"
args = ["docuqueue-mcp"]

[mcp_servers.docuqueue.env]
DOCUQUEUE_API_KEY = "your_api_key"

OpenCode

Add to ~/.config/opencode/opencode.jsonc:

{
  "mcp": {
    "docuqueue": {
      "type": "local",
      "command": ["npx", "docuqueue-mcp"],
      "env": {
        "DOCUQUEUE_API_KEY": "your_api_key"
      }
    }
  }
}

Cursor / Windsurf

Add to ~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "docuqueue": {
      "command": "npx",
      "args": ["docuqueue-mcp"],
      "env": {
        "DOCUQUEUE_API_KEY": "your_api_key"
      }
    }
  }
}

ChatGPT

  1. Go to Settings → Connectors → Add custom connector
  2. Enter URL: https://docuqueue.com/mcp/sse
  3. Add header: Authorization: Bearer YOUR_API_KEY

Available Tools

Templates

ToolDescriptionAnnotations
list_templatesBrowse available document designsRead-only
create_templateDesign a new document layoutWrite
preview_templateSee how your document will lookRead-only
upload_docx_templateUse your own Word document as a designWrite

Document Generation

ToolDescriptionAnnotations
fill_templateCreate a document with your dataWrite
get_statusCheck if your document is readyRead-only
download_pdfGet your finished documentRead-only

Branding

ToolDescriptionAnnotations
extract_brandingMatch your company's visual style from their websiteRead-only (external)
get_brandingView your saved style settingsRead-only

Comparison with Other MCP Document Servers

FeatureDocuQueueDocsAutomatorCarbonePDF Generator API
PDF generation
DOCX templates
PDF form filling
Batch processing
Free tier25 creditsLimitedSandbox
MCP server
Visual template editor

Tool Annotations

DocuQueue MCP tools include MCP ToolAnnotations so clients can:

  • Distinguish read-only tools from write-capable tools
  • Understand which operations are destructive
  • Identify tools that access external resources
ToolreadOnlyHintdestructiveHintidempotentHintopenWorldHint
list_templatestruefalsetruefalse
create_templatefalsefalsefalsefalse
preview_templatetruefalsetruefalse
fill_templatefalsefalsefalsefalse
get_statustruefalsetruefalse
download_pdftruefalsetruefalse
extract_brandingtruefalsetruetrue
get_brandingtruefalsetruefalse
upload_docx_templatefalsefalsefalsefalse

Usage Examples

Each example is a prompt you can paste directly into your AI chat:

Generate an invoice

Create an invoice for Acme Corp, 3 widgets at $50 each, 10% tax

The AI will list templates, preview the invoice, generate the PDF, and return a download link.

Generate a certificate

Create a certificate for John Doe, completed the Python bootcamp on August 12, 2026

Generate a contract

Create an NDA between Acme Corp and Globex Corp, effective January 1, 2026

Fill a form

Fill in this W-9 form: name "Acme Corp", EIN "12-3456789", address "123 Main St"

Extract branding from a website

Extract the brand colors and fonts from https://stripe.com

Generate a receipt

Create a receipt for customer John Smith, order #ORD-2024-0892, 3x Widget Pro at $24.99 each, subtotal $74.97, tax $5.62, total $80.59, paid with Visa ending in 4242

Upload a custom template

Upload this Word document as a template: /path/to/contract.docx

Configuration

Environment VariableRequiredDescription
DOCUQUEUE_API_KEYYes*Your DocuQueue API key

*Not required when using hosted OAuth mode.

Get your API key from docuqueue.com/dashboard.

How It Works

  1. Connect — Add the MCP server to your client with your API key
  2. Browse — Use list_templates to find a template
  3. Preview — Use preview_template to see how it looks with your data
  4. Generate — Use fill_template to create the PDF
  5. Download — Use download_pdf to get the finished document

Troubleshooting

SymptomFix
Authentication errorAsk the AI: "re-authenticate with DocuQueue"
Connection refusedCheck the server URL is https://docuqueue.com/mcp/sse
Rate limitedWait 1 minute, then retry
Template not foundAsk the AI to list templates first
Tool not appearingRestart your MCP client after adding the server

Privacy

DocuQueue MCP is a remote server — your requests go to DocuQueue's servers and return generated PDFs. Authentication tokens are sent only to DocuQueue's services during OAuth login and API calls. Documents are generated on-the-fly and not stored indefinitely.

Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Setup

git clone https://github.com/docuqueue/docuqueue-mcp.git
cd docuqueue-mcp
npm install

Run Locally

# Development mode with hot reload
npm run dev

# Or build and run
npm run build
npm start

Test

npm test

Project Structure

src/
├── index.ts          # Local MCP server (stdio)
├── remote.ts         # Remote MCP server (SSE/HTTP)
├── config.ts         # Configuration management
├── tools/            # Tool implementations
│   ├── listTemplates.ts
│   ├── createTemplate.ts
│   ├── fillTemplate.ts
│   ├── previewTemplate.ts
│   ├── getStatus.ts
│   ├── downloadPdf.ts
│   ├── uploadDocxTemplate.ts
│   └── uploadPdf.ts
├── branding/         # Brand extraction
├── api/              # API client
├── errors/           # Error handling
└── types/            # TypeScript types

License

MIT

Links

Reviews

No reviews yet

Be the first to review this server!