Optical Context MCP

v0.1.5
io.github.ChrBoebel/optical-context-mcp Checked 1 day ago Published 2 months ago

Compress OCR-heavy PDFs into dense packed images so agents can work with long visual documents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

compress_pdf Compress Pdf

Read a local PDF, run Mistral OCR, recompose it into dense packed PNG images, and create a retrievable compression job.

ParameterTypeDescription
pdf_path *string
chars_per_imageinteger
inline_imagesinteger

get_job_manifest Get Job Manifest

Load the saved manifest for a previously compressed PDF job.

ParameterTypeDescription
job_id *string

get_packed_images Get Packed Images

Return one or more previously generated packed PNG images for a stored job.

ParameterTypeDescription
job_id *string
limitinteger
start_indexinteger