Skip to content

v0.2.0 — Python (FastMCP) rewrite

Latest

Choose a tag to compare

@AryanBV AryanBV released this 02 Jun 12:04
· 1 commit to main since this release

pdf-edit-mcp is now a native Python (FastMCP) MCP server. The v0.1.x TypeScript server + bridge.py subprocess are gone — the pdf-edit-engine is imported in-process. One runtime, no Node.js.

📦 Install: uvx pdf-edit-mcp (or pip install pdf-edit-mcp) — https://pypi.org/project/pdf-edit-mcp/0.2.0/

Changed

  • Single-process Python FastMCP server (no Node.js, no JSON-RPC bridge). Distribution moves npm → PyPI; the old npm package @aryanbv/pdf-edit-mcp is deprecated.
  • Requires pdf-edit-engine >= 0.2.0, Python >= 3.10.

Added — engine v0.2.0 surface

  • Edit encrypted PDFs — a password= kwarg on the read/edit tools; the output is re-encrypted with the same password.
  • fit="shrink" shrink-to-fit on pdf_replace_block / pdf_batch_replace_block.
  • The 30 typed DegradationKinds flow through every fidelity report.

Preserved

  • All 38 tools + 3 prompts, with byte-compatible names, inputs, and return shapes. Section detection output is byte-identical to v0.1.x.

Full details in the CHANGELOG.