Pdf 4 Me MCP server

Connect Pdf 4 Me to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Pdf 4 Me MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the run workflow tool in Pdf 4 Me
  • Use the flatten pdf tool in Pdf 4 Me
  • Use the create pdf/a tool in Pdf 4 Me
  • Use the extract content from pdf tool in Pdf 4 Me
  • Use the protect pdf tool in Pdf 4 Me
  • Use the rotate pdf tool in Pdf 4 Me

Supported Tools

run_workflow

Run Workflow

Execute a pre-configured Pdf4me workflow with a document. Workflows are reusable processing pipelines created in the Pdf4me dashboard that chain multiple operations together.

flatten_pdf

Flatten PDF

Flatten a PDF to remove all interactive form fields, making the document read-only with all form data permanently embedded.

create_pdfa

Create PDF/A

Convert a PDF document to PDF/A format for long-term archiving and compliance. Choose from multiple PDF/A standards (1a, 1b, 2a, 2b, 2u, 3a, 3b, 3u).

extract_content

Extract Content from PDF

Extract text, images, tables, or text matching a regular expression from a PDF document. Use this to pull structured data out of PDFs for further processing.

protect_pdf

Protect PDF

Set password protection on a PDF document with customizable permissions. Control what users can do with the document (print, copy, annotate, etc.).

rotate_pdf

Rotate PDF

Rotate pages in a PDF document. Rotate all pages at once or a specific page by 90, 180, or 270 degrees.

generate_document

Generate Document

Generate a document from a DOCX, PDF, or HTML template with dynamic data. Supports mail merge with JSON data, dynamic tables, and merge fields. Use for automating contracts, invoices, reports, and other data-driven documents.

linearize_pdf

Linearize PDF

Linearize (optimize) a PDF for fast web viewing. Linearized PDFs can start displaying before the full file is downloaded.

split_pdf

Split PDF

Split a PDF document into multiple files. Supports splitting by page number, recurring intervals, page ranges, text content, or barcodes. Returns an array of split document files.

read_barcode_from_pdf

Read Barcode from PDF

Read and extract barcode or QR code data from a PDF document. Returns all detected barcodes with their type, value, and page number.

unlock_pdf

Unlock PDF

Remove password protection from a PDF document. Requires the current password to unlock.

merge_pdfs

Merge PDFs

Merge multiple PDF files into a single PDF document. Files are merged in the order provided. Also supports overlaying one PDF on another (e.g. adding a letterhead or watermark layer).

repair_pdf

Repair PDF

Attempt to repair a damaged or corrupted PDF document to recover its content.

add_barcode_to_pdf

Add Barcode to PDF

Add a barcode or QR code to a PDF document. Supports 150+ barcode types including QR codes, Code128, DataMatrix, EAN13, UPC-A, and more. Configure position, size, opacity, and text display options.

extract_pages

Extract Pages

Extract specific pages from a PDF document into a new PDF. Specify which pages to keep by their page numbers.

convert_to_pdf

Convert to PDF

Convert office documents (Word, Excel, PowerPoint), images, HTML, Markdown, or URLs into PDF format. Supports **.docx, .xlsx, .pptx, .png, .jpg, .html, .md** and more. For HTML/Markdown, provide the file content as base64. For URL conversion, provide the web URL directly.

find_and_replace_text

Find and Replace Text

Find and replace text within a PDF document on specified pages.

add_page_numbers

Add Page Numbers

Add page numbers to a PDF document. Configure position, font size, formatting, and whether to skip the first page.

fill_pdf_form

Fill PDF Form

Fill a PDF form with data provided as a JSON string. Map field names to values to automatically populate form fields. Optionally keep the form editable after filling.

create_images_from_pdf

Create Images from PDF

Convert PDF pages to images (PNG, JPG, TIFF, BMP). Specify which pages to convert and the desired image width in pixels.

classify_document

Classify Document

Classify or identify a document based on its file content. Returns the document class name which can be used for routing and applying appropriate processing templates.

create_barcode_image

Create Barcode Image

Create a standalone barcode or QR code image from text. Returns the barcode as an image file.

delete_pages

Delete Pages

Remove specific pages or blank pages from a PDF document. Use page numbers for targeted removal or automatic blank page detection.

add_watermark

Add Watermark

Add a text or image watermark/stamp to a PDF document. Control position, size, transparency, rotation, and more. Use text watermarks for labels like "DRAFT" or "CONFIDENTIAL", or image watermarks for logos and signatures.

convert_from_pdf

Convert from PDF

Convert a PDF document to Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) format. Choose the target format and quality type to control the conversion output.

get_pdf_metadata

Get PDF Metadata

Retrieve metadata from a PDF document including title, author, page count, creation date, encryption status, PDF version, compliance level, and whether the document is signed.

compress_pdf

Compress PDF

Optimize and compress a PDF document to reduce file size. Choose from multiple compression profiles tailored for web viewing, printing, or maximum compression.

ocr_pdf

OCR PDF

Apply OCR (Optical Character Recognition) to a scanned PDF or image-based document to create a searchable PDF with selectable text. Useful for making scanned documents indexable and enabling text extraction.

add_margin_to_pdf

Add Margin to PDF

Add margins in millimeters to any side of a PDF document, adjusting the page layout for print preparation or consistent document formatting.

add_attachments_to_pdf

Add Attachments to PDF

Embed one or more files directly into a PDF document as attachments, creating a PDF package with supporting documents or resources.

extract_attachments_from_pdf

Extract Attachments from PDF

Extract all embedded file attachments from a PDF document and return each extracted file as a Slate attachment.

parse_document

Parse Document

Parse a PDF with a PDF4me dashboard parsing template and return extracted structured data, document type, page count, and confidence when available.

sign_pdf

Sign PDF

Add a visible image-based signature to a PDF. Provide a signature image and configure page range, alignment, size, margins, opacity, and layering.

extract_pdf_form_data

Extract PDF Form Data

Extract fillable form field names, values, and field types from a PDF form as structured JSON.

add_form_field_to_pdf

Add Form Field to PDF

Add an interactive TextBox or CheckBox field to a PDF at a specific position and page range.

Connect Pdf 4 Me to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Pdf 4 Me in Metorial. In your Metorial portal, enable the Pdf 4 Me MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Pdf 4 Me tools.

Run Pdf 4 Me through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Pdf 4 Me and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Pdf 4 Me tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Pdf 4 Me

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues.

Technical notes for Pdf 4 Me

Convert, merge, split, compress, and manipulate PDF and office documents. Perform OCR on scanned documents to extract text. Generate and read 150+ barcode and QR code types. Extract structured data from PDFs using templates. Classify documents by content. Generate dynamic documents via mail merge with JSON data. Fill PDF forms. Apply watermarks, stamps, headers, and footers. Protect PDFs with passwords and manage permissions. Convert between PDF, Word, Excel, PowerPoint, HTML, and image formats. Optimize PDFs for web or print. Create PDF/A compliant documents for archiving. Rotate, crop, remove, and reorder pages. Add digital signatures, redact content, edit metadata, and repair damaged PDFs. Execute reusable multi-step document processing workflows.

Frequently asked questions

Common questions about connecting Pdf 4 Me to AI agents with Metorial.

  1. How many tools does the Pdf 4 Me MCP server have?
    The Pdf 4 Me MCP server exposes 36 tools, including Run Workflow, Flatten PDF, Create PDF/A. Each one is governed and traced through Metorial.
  2. Pdf 4 Me exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Pdf 4 Me MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Pdf 4 Me and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Pdf 4 Me MCP server yourself or use the hosted gateway.

Connect Pdf 4 Me to production AI agents

See how Metorial gives your team governed access to Pdf 4 Me, with tracing and security controls built in.