Skip to main content
Glama

PDF Manipulation MCP Server

pdf_replace_text

Replace specific text in PDF documents by entering the old text and new text values, with optional page targeting for precise edits.

Instructions

Replace text in a PDF document.

Input Schema

NameRequiredDescriptionDefault
pdf_pathYes
old_textYes
new_textYes
page_numberNo

Input Schema (JSON Schema)

{ "properties": { "new_text": { "title": "New Text", "type": "string" }, "old_text": { "title": "Old Text", "type": "string" }, "page_number": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Page Number" }, "pdf_path": { "title": "Pdf Path", "type": "string" } }, "required": [ "pdf_path", "old_text", "new_text" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andr3medeiros/pdf-manipulation-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server