Optical Context MCP
v0.1.5Compress 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.
| Parameter | Type | Description |
|---|---|---|
pdf_path * | string | |
chars_per_image | integer | |
inline_images | integer |
get_job_manifest Get Job Manifest
Load the saved manifest for a previously compressed PDF job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
get_packed_images Get Packed Images
Return one or more previously generated packed PNG images for a stored job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
limit | integer | |
start_index | integer |