PDF MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PDF_MCP_DEBUG | No | Enable debug logging | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extract_textA | Extract text content from a PDF file. Supports PDFs with searchable text and can extract text from specific pages or ranges. Returns plain text content. |
| extract_metadataA | Extract metadata from a PDF file including title, author, subject, keywords, creator, producer, creation date, modification date, and page count. |
| search_textA | Search for specific text within a PDF file. Returns page numbers and context around the found text. Useful for finding specific content in large documents. |
| get_page_countA | Get the total number of pages in a PDF file. Returns a simple integer count. |
| extract_pagesA | Extract specific pages from a PDF file and save as a new PDF. Supports page ranges and individual page selection. |
| merge_pdfsA | Merge multiple PDF files into a single PDF. Returns a base64-encoded merged PDF. Files are merged in the order provided. |
| split_pdfA | Split a PDF file into multiple separate PDF files based on page ranges. Returns a JSON with base64-encoded PDFs for each selected page. Supports single pages (e.g., '1'), page ranges (e.g., '1-3'), and all pages (e.g., 'all'). |
| pdf_to_imagesA | Convert PDF pages to PNG images. Returns a JSON with base64-encoded PNG images for each page. Supports custom DPI settings for resolution control. |
| get_form_fieldsA | Extract all form fields from a PDF document including field names, types, current values, and available choices for dropdown fields. |
| fill_formA | Fill form fields in a PDF document with provided values and save to output path. Supports text fields, checkboxes, radio buttons, and dropdowns. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/gzigurella/pdf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server