pdf-triage-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PDF_TRIAGE_ROOTS | No | Directories the server may read. Corresponds to the --root option (repeatable). Separate multiple directories with the platform PATH delimiter (`:` on macOS/Linux, `;` on Windows). If not set, defaults to the current working directory. | |
| PDF_TRIAGE_LOG_LEVEL | No | Logging level. Corresponds to --log-level. One of debug|info|warn|error|silent. Default: info. | |
| PDF_TRIAGE_MAX_CHARS | No | Maximum truncation ceiling for extracted text. Corresponds to --max-chars. Default: 40000. Max: 200000. | |
| PDF_TRIAGE_MAX_FILE_BYTES | No | Largest PDF file size in bytes to read. Corresponds to --max-file-bytes. Default: 104857600 (100 MB). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pdf_classifyA | Triage a local PDF without extracting its text (typically 10-50ms). Returns whether the document is text-based, scanned, image-based or mixed, a confidence score, and the exact 1-indexed pages that need OCR. ALWAYS call this before pdf_extract on an unfamiliar or large document: it is cheap, and it tells you whether local extraction is worth attempting at all. If it reports scanned, image_based, or encoding issues, do not extract — route the document to an OCR service instead. |
| pdf_extractA | Extract a local PDF to Markdown, preserving headings, lists and tables. Output is TRUNCATED by default to protect your context window — to read a long document, call repeatedly with the |
| pdf_searchA | Find text inside a local PDF and return matching pages with surrounding context. Much cheaper than pdf_extract when you only need to locate something — use this first on long documents, then pdf_extract with the |
| pdf_tablesA | Return only the tables from a local PDF as Markdown, skipping prose. Useful for invoices, financial statements and reports where the numbers are the point. Tables are detected from the PDF's own drawing operations and text alignment — the cell values are read directly from the document, not guessed by a model or OCR. |
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/vishalmeena2211/pdf-triage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server