dreampdf-pdf-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dreampdf-pdf-mcpopen /tmp/form.pdf, fill the name and date fields, and export it to /tmp/filled.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DreamPDF PDF Engine + MCP Server
Two small Node packages, published separately, usually used together:
Package | What it is |
| The underlying AcroForm extract/fill/export engine, built on |
| A local-only MCP server exposing that engine to AI agents — Claude Code, Claude Desktop, or any other MCP client. |
Local-only. No API key. No third-party network calls. Every tool runs against a PDF on your own filesystem, over stdio; nothing is uploaded anywhere.
What it can do
Open a PDF form, read its AcroForm fields, fill them, export the result
Build a brand-new fillable PDF form from a declarative field list — no source PDF needed
Extract and search text (fast path), or run full layout analysis (headings/paragraphs/tables/figures) when the optional self-hosted
layout_servicecompanion is runningRead and edit detected text/layout blocks, then re-export
A redaction-safe reconstruct export profile that rebuilds a PDF from extracted content plus current field values, rather than editing the original page content in place
See pdf_mcp/README.md for the full tool reference,
workflow examples, and known limitations.
Related MCP server: pdf-agent-toolkit-mcp
Quickstart
npm install -g @dreampdf/pdf-mcp
claude mcp add dreampdf-pdf -- dreampdf-pdf-mcppdf_open({ path: "/absolute/path/to/form.pdf" })
pdf_set_fields({ path: "...", fields: { "<field_id>": "value" } })
pdf_export({ path: "...", outPath: "/absolute/path/to/filled.pdf" })Why this exists
This engine is the headless counterpart to
DreamPDF, a mobile-first PDF form
editor: the app is for a human tapping through a form on a phone, this is
for an agent doing the same thing programmatically. Installing DreamPDF Pro
additionally unlocks pdf_get_profile — an agent can then autofill forms
from your saved name/contact/signature profile.
Development
This is an npm workspace with two packages:
npm install
npm test --workspacespdf_mcp depends on pdf_server via a normal published semver range; there
is no build step.
License
Apache-2.0 — see LICENSE. Copyright Canweb.net.
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic PDF tools for AI agents: inspect fields, fill forms, merge PDFs, invoices.
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
- docs2mcpOAuthcom.docs2mcp
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
Privacy-first PDF tools over MCP: merge, split, rotate, delete, compress, protect, inspect.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA local MCP server that extracts text-layer content from PDF files, enabling AI agents to inspect, extract text, outlines, and page content.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to perform comprehensive PDF operations locally, including compression, text extraction, PII redaction, page organization, splitting, merging, watermarking, creation, and form filling, all without cloud uploads.10 npm-
- AlicenseAqualityBmaintenanceEnables AI agents to inspect PDFs, merge or extract pages, and clean text entirely offline through the Model Context Protocol, with no uploads, API keys, or network calls.436 npmMIT
- AlicenseBqualityAmaintenanceEnables AI agents to perform local-first PDF processing entirely on-device, including OCR write-back to make scans searchable, unlocking and re-encrypting PDFs, splitting/merging/rotating pages, and compressing files, with no cloud calls or file uploads.251MIT