Skip to main content
Glama

MCP PDF

by mcp-z

create-simple-pdf

Generate basic PDF documents with text content using this simplified tool. Supports emoji rendering and document title metadata for straightforward PDF creation.

Instructions

Create a simple PDF with just text content. A simplified version of create-pdf for basic use cases. Supports emoji rendering.

Input Schema

NameRequiredDescriptionDefault
filenameNoOptional filename for the PDF (defaults to "document.pdf"). SECURITY: Filenames are sanitized and written to a sandboxed directory: • Default: ~/.mcp-pdf/ • Override: Set PDF_OUTPUT_DIR environment variable • Path traversal attempts (.., /, etc) are blocked • Only alphanumeric, spaces, hyphens, underscores, and dots allowed • If file exists, timestamp is appended automatically
textYesText content for the PDF
titleNoDocument title metadata

Input Schema (JSON Schema)

{ "properties": { "filename": { "description": "Optional filename for the PDF (defaults to \"document.pdf\").\n\nSECURITY: Filenames are sanitized and written to a sandboxed directory:\n• Default: ~/.mcp-pdf/\n• Override: Set PDF_OUTPUT_DIR environment variable\n• Path traversal attempts (.., /, etc) are blocked\n• Only alphanumeric, spaces, hyphens, underscores, and dots allowed\n• If file exists, timestamp is appended automatically", "type": "string" }, "text": { "description": "Text content for the PDF", "type": "string" }, "title": { "description": "Document title metadata", "type": "string" } }, "required": [ "text" ], "type": "object" }

Other Tools from MCP PDF

Related Tools

    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/mcp-z/mcp-pdf'

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