PDF Processor Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TEMP_DIR | No | Working temp storage directory (default temp_files) | |
| LOG_LEVEL | No | Logging level (default INFO) | |
| SERVER_NAME | No | Server name (default pdf-processor-server) | |
| LOG_FILE_PATH | No | Log file path (default logs/pdf-processor-server.log) | |
| SERVER_VERSION | No | Server version (default 1.0.0) | |
| MAX_FILE_SIZE_MB | No | Max file size for inputs (default 50) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| server_infoA | Return basic server info and configuration snapshot (non-secret). |
| list_temp_resourcesA | List available temporary files with optional filtering.
|
| get_pdf_infoB | Get comprehensive PDF information without processing content. |
| get_resource_base64B | Return base64 for a file within the temp directory only. |
| extract_textA | Extract all text from a PDF. Accepts:
|
| extract_text_by_pageB | Extract text from specific pages or page ranges. |
| extract_metadataC | Extract comprehensive PDF metadata. |
| merge_pdfsB | Merge multiple PDF files into one document. |
| split_pdfB | Split PDF into separate files by page ranges. |
| rotate_pagesC | Rotate specific pages in a PDF. |
| pdf_to_imagesC | Convert PDF pages to image files. |
| images_to_pdfC | Create PDF from multiple image files. |
| upload_fileB | Persist an uploaded file into the server temp directory. Accepts:
|
| upload_file_base64B | Upload a file encoded as base64 and persist it in temp storage. Pass the base64-encoded content and the desired filename (e.g., "document.pdf"). |
| upload_file_urlA | Download a file from a URL and persist it in temp storage. Provide a direct URL and optional filename override. Requires 'requests' to be installed. |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/gabrielmrojas/pdf_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server