Skip to main content
Glama
pdfdotco

PDF.co MCP Server

Official
by pdfdotco

pdf_add_password

Secure PDF files by adding password protection and encryption. Control access permissions for printing, editing, copying, and form filling. Integrates with PDF.co MCP Server for efficient document security.

Instructions

Add password protection to a PDF file. Ref: https://developer.pdf.co/api-reference/pdf-password/add.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allow_accessibility_supportNoAllow or prohibit content extraction for accessibility needs.
allow_assembly_documentNoAllow or prohibit assembling the document.
allow_content_extractionNoAllow or prohibit copying content from PDF document.
allow_fill_formsNoAllow or prohibit the filling of interactive form fields (including signature fields) in the PDF documents.
allow_modify_annotationsNoAllow or prohibit interacting with text annotations and forms in PDF document.
allow_modify_documentNoAllow or prohibit modification of PDF document.
allow_print_documentNoAllow or prohibit printing PDF document.
api_keyNoPDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)
encryption_algorithmNoEncryption algorithm. Valid values: RC4_40bit, RC4_128bit, AES_128bit, AES_256bit. AES_128bit or higher is recommended.AES_256bit
httppasswordNoHTTP auth password if required to access source url. (Optional)
httpusernameNoHTTP auth user name if required to access source url. (Optional)
nameNoFile name for the generated output. (Optional)
owner_passwordYesThe main owner password that is used for document encryption and for setting/removing restrictions.
passwordNoPassword of the PDF file if it's already password-protected. (Optional)
print_qualityNoAllowed printing quality. Valid values: HighResolution, LowResolution.
urlYesURL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.
user_passwordNoThe optional user password will be asked for viewing and printing document.

Latest Blog Posts

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/pdfdotco/pdfco-mcp'

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