PDF Writer (PDF Agent Stack) logo

PDF Writer (PDF Agent Stack)

Create and edit PDFs from text, Markdown, tables, and existing files, with page operations, forms, tagging, and Japanese font embedding.

Install PDF Writer (PDF Agent Stack)

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": {
    "pdf-writer-pdf-agent-stack": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-writer-mcp@latest"
      ]
    }
  }
}

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

Automated check passed— started and listed 20 tools correctly (9d ago).

Overview

PDF Writer (PDF Agent Stack) is an MCP server for generating PDFs from plain text, Markdown, or tabular data and modifying existing documents. Its tools cover page manipulation, metadata, bookmarks, annotations, attachments, forms, watermarks, PDF/UA tagging, and PDF/A containers. Japanese text can use embedded fonts, while tagged output supports accessibility workflows. Reach for it when an agent needs to produce or transform PDF files rather than only inspect them.

Use cases

  • Generate accessible reports from Markdown
  • Create Japanese-language PDFs with embedded fonts
  • Merge and reorder document pages
  • Fill and flatten PDF forms
  • Add metadata, bookmarks, annotations, or watermarks

Key features

  • Text, Markdown, and ruled-table PDF creation
  • Page merging, splitting, extraction, deletion, reordering, and rotation
  • PDF metadata, bookmarks, annotations, attachments, and page numbering
  • AcroForm filling, flattening, and tagged-field repair
  • PDF/UA-1 and PDF/A container support
  • Japanese font embedding and signature-preserving incremental edits

Tools20

What PDF Writer (PDF Agent Stack) lets your agent do. Expand a tool for its parameters.

Verified live~10.9k 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 1d ago

Recent health check succeeded.

9/9 checks healthy over the last 37d

What it can do

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

Can delete or modify data · 3Makes network requests · 1Read-only tools · 17
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age110 days
Maintainers1

Observed 2026-11-03 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 13d ago via OSV.dev · @shuji-bonji/pdf-writer-mcp@latest (npm)

Adoption & maintenance

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

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

How PDF Writer (PDF Agent Stack) works

What PDF Writer (PDF Agent Stack) does

PDF Writer (PDF Agent Stack) creates PDF documents from plain text, Markdown, and tables, then edits existing PDFs through MCP tools. Text generation preserves line breaks, separates paragraphs with blank lines, and wraps long lines. Markdown generation handles headings, paragraphs, lists, code blocks, quotations, rules, and tables. Table generation adds ruled cells, calculated column widths, wrapped content, and repeated headers when a table spans pages.

Creation options include page size, margins, font size, document metadata, optional title drawing, output encoding, and PDF version selection. Japanese content can use an embedded font. Tagged generation can produce PDF/UA-1 output with structure elements for headings, lists, tables, quotations, code, and other content.

How it works

Each MCP tool receives PDF content or file paths and writes a result to an output path, with an option to return Base64 data. Page specifications use one-based ranges such as 1,3-5,8-; ranges retain their requested order and remove duplicates. Page extraction can therefore also reorder selected pages.

Most page-editing operations rebuild the document. Attachments, language settings, viewer preferences, and output intents are carried forward, while structure trees, XMP, bookmarks, page labels, named destinations, and other page-reference data may be lost. The server reports such losses through warnings. Rotation edits are applied in place instead.

Editing signed PDFs is guarded by default. Supported editing tools can use an incremental update to preserve signatures, while explicitly allowing breaking signatures performs a destructive rewrite. Certified documents are rejected when the requested change conflicts with their certification permissions.

Tools and capabilities

  • Create PDFs from text, Markdown, or structured tables.
  • Merge, split, extract, delete, reorder, and rotate pages.
  • Set metadata and synchronize relevant XMP fields.
  • Add nested bookmarks, notes, highlights, square annotations, attachments, page numbers, and diagonal watermarks.
  • Fill AcroForm fields, flatten forms, and repair tagged form fields.
  • Add PDF/UA-1 scaffolding or place documents in PDF/A-3b, PDF/A-4, or PDF/A-4f containers.
  • Write PDF 2.0 files with pdfVersion: "2.0"; tagged output is restricted to PDF 1.7-based PDF/UA-1.

Limitations and notes

All file paths must be absolute. Relative paths and paths containing .. are rejected, and input PDFs larger than 100 MB are not accepted. Flattening a tagged PDF is refused by default because it can break PDF/UA conformance.

Tagged generation requires a document title. The lang value can be supplied explicitly as a BCP 47 language tag; otherwise, the server infers it from the text and reports warnings. Automated validation checks structural requirements, but human review remains necessary for reading order and the suitability of alternative text.

The add_bookmarks operation replaces the existing outline. Deleting every page is rejected. PDF 2.0 output cannot be combined with tagged output because the implemented accessibility declaration is PDF/UA-1, based on PDF 1.7.

Reviews

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

Frequently Asked Questions about PDF Writer (PDF Agent Stack)

PDF Writer (PDF Agent Stack) is an MCP server that connects agent workflows to PDF files for creation and editing. It provides text, Markdown, and table generation, plus page operations, metadata, forms, annotations, bookmarks, attachments, tagging, PDF/A, and watermark tools. Japanese font embedding and accessibility-oriented PDF/UA-1 output are supported.

Install the `@shuji-bonji/pdf-writer-mcp` npm package and register it as an MCP server in the client you use. Configure the client to launch the package, then provide absolute paths when calling its tools.

Yes, it can be used with Cursor as an MCP server. Cursor must be configured to launch or connect to the server, and PDF tool calls must use absolute file paths.

Yes, supported editing tools can preserve existing signatures with `preserveSignatures: true` by appending an incremental update. PDFs containing signatures are rejected by default, while `allowBreakingSignatures: true` permits a destructive edit that invalidates them.

Yes, pass `tagged: true` to generate PDF/UA-1 output. A title is required, and Markdown structure is mapped to tagged headings, lists, tables, quotations, and code. Human review is still needed for reading order and alternative text.

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 PreviewPDF Writer (PDF Agent Stack) AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pdf-writer-pdf-agent-stack?style=directory)](https://allmcps.com/mcp/pdf-writer-pdf-agent-stack)
HTML Embed
<a href="https://allmcps.com/mcp/pdf-writer-pdf-agent-stack"><img src="https://allmcps.com/api/badge/pdf-writer-pdf-agent-stack?style=directory" alt="PDF Writer (PDF Agent Stack) on AllMCPs" /></a>