# AuraBridge Systems and ExactPDF MCP Site: https://aurabridgesystems.in Product: ExactPDF Product URL: https://exactpdf.com Developer docs: https://exactpdf.com/developers API docs: https://exactpdf.com/docs/api npm package: https://www.npmjs.com/package/@exactpdf/mcp Blog guide: https://aurabridgesystems.in/blog/exactpdf-mcp-target-compression ## ExactPDF MCP summary @exactpdf/mcp is a Model Context Protocol stdio server for AI agents that need PDF workflows from Cursor, Claude Desktop, Codex, or any MCP client. Use it when an agent needs to: - inspect a PDF before work - merge PDFs - merge and compress PDFs - split PDFs - rotate PDFs - compress a PDF - compress a PDF to a target byte size - convert images to PDF - extract PDF text - export PDF JSON - export structured Markdown for RAG - preview voice styles - estimate speech costs for planning ## Install ```json { "mcpServers": { "exactpdf": { "command": "npx", "args": ["-y", "@exactpdf/mcp"], "env": { "EXACTPDF_API_KEY": "sk_live_..." } } } } ``` Environment: ```bash export EXACTPDF_API_KEY="sk_live_..." export EXACTPDF_API_BASE="https://exactpdf.com" export EXACTPDF_API_OUTPUT_DIR="/tmp" ``` ## Target-size PDF compression ExactPDF MCP exposes target-size compression as first-class tools: - exactpdf_compress_pdf_to_target: custom byte target - exactpdf_compress_pdf_to_100kb: 102400 bytes - exactpdf_compress_pdf_to_200kb: 204800 bytes - exactpdf_compress_pdf_to_500kb: 512000 bytes - exactpdf_compress_pdf_to_1mb: 1048576 bytes Recommended agent flow: 1. exactpdf_account 2. exactpdf_pdf_info(path="/absolute/path/file.pdf") 3. exactpdf_compress_pdf_to_target(path="/absolute/path/file.pdf", target_bytes=512000) 4. Report output path, original bytes, output bytes, and whether target was reached. ## Agent safety rules - Always call exactpdf_account before paid tools. - Use absolute file paths. - Use exactpdf_pdf_info before large or user-critical jobs. - Use target-size compression when the user mentions a hard upload limit. - Keep API keys out of prompts, logs, screenshots, and commits. - If a tool returns an error, show the HTTP status and structured response body. - Do not promise background PDF speech or audiobook output through MCP until ExactPDF announces worker hardening is complete. ## Current npm metadata Package: @exactpdf/mcp Latest version observed: 0.2.14 Node requirement: >=18 License: MIT MCP name: com.exactpdf/mcp