Limits

Generated from the exported limits object of @sezzlee/pdf-mcp 0.1.2.

Every limit is fixed at build time; none is configurable. A call that would cross one either answers with truncated: true and a way to continue, or fails with resource_limit.

Files and extraction

LimitValue
Largest document the server opens32 MB
Most pages a document may have; a longer one is refused before it is extracted2,000
Time one extraction may take before the call fails with resource_limit20 s
Documents that may be extracted at once before a new read fails with resource_limit2
Extracted documents kept in memory between calls2
Directory entries list_documents walks before it reports scanTruncated5,000
Documents list_documents returns when maxResults is omitted50
Largest maxResults for list_documents200
list_documents calls that may run at once4

Responses

LimitValue
Largest serialized answer; a longer page is clamped and continues through nextCursor512 KB
Pages read_pages returns when maxPages is omitted10
Largest maxPages for read_pages, and the most page numbers pages may name50
LimitValue
Matches find_in_document returns when maxResults is omitted50
Largest maxResults for find_in_document200
Longest context returned around one match240
Longest query, in characters256

OCR

LimitValue
Resolution pages are rendered at when the binding sets no dpi200
Pages sent to the provider in one call; a binding's maxPagesPerCall can lower it, never raise it10
Time one OCR run may take; a binding's timeoutMs can lower it, never raise it120 s
OCR runs that may be in progress at once before a new one fails with resource_limit1
Transcribed pages kept in memory, keyed by document content and page number256