Skip to main content
Glama
snussik
by snussik

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OCR_DIRYesRequired directory path where files to be processed are located.
BATCH_MODENoBatch processing mode selection: auto, always, or never.auto
EXTRACT_FOOTERNoWhether to extract document footers by default.false
EXTRACT_HEADERNoWhether to extract document headers by default.false
INCLUDE_IMAGESNoWhether to include base64 images in the OCR output by default.false
BATCH_MIN_FILESNoMinimum number of files required to use batch processing in auto mode.5
MISTRAL_API_KEYYesRequired Mistral AI API key for OCR processing.
DEFAULT_TABLE_FORMATNoDefault format for tables in OCR output: null, markdown, or html.markdown
INLINE_BATCH_THRESHOLDNoThreshold for using inline batch processing (for less than 10 files).10
MAX_CONCURRENT_REQUESTSNoMaximum number of concurrent API requests.5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/snussik/mcp_mistral_ocr_opt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server