Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OCR_DIR | Yes | Required directory path where files to be processed are located. | |
| BATCH_MODE | No | Batch processing mode selection: auto, always, or never. | auto |
| EXTRACT_FOOTER | No | Whether to extract document footers by default. | false |
| EXTRACT_HEADER | No | Whether to extract document headers by default. | false |
| INCLUDE_IMAGES | No | Whether to include base64 images in the OCR output by default. | false |
| BATCH_MIN_FILES | No | Minimum number of files required to use batch processing in auto mode. | 5 |
| MISTRAL_API_KEY | Yes | Required Mistral AI API key for OCR processing. | |
| DEFAULT_TABLE_FORMAT | No | Default format for tables in OCR output: null, markdown, or html. | markdown |
| INLINE_BATCH_THRESHOLD | No | Threshold for using inline batch processing (for less than 10 files). | 10 |
| MAX_CONCURRENT_REQUESTS | No | Maximum number of concurrent API requests. | 5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tools | List available OCR tools. |
| process_local_file | Process a single local file from OCR_DIR. |
| process_batch_local_files | Process multiple local files concurrently. |
| process_url_file | Process a file from a URL. |
| create_batch_job | Create a batch processing job for large file sets. |
| check_batch_status | Check the status of a batch processing job. |
| download_batch_results | Download results from a completed batch job. |
| cancel_batch_job | Cancel a running batch job. |
| list_batch_jobs | List batch jobs with optional filtering. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |