Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OMLX_URLNoThe URL of the oMLX server (OpenAI-compatible endpoint).http://127.0.0.1:8080/v1
OMLX_API_KEYNoAPI key for the oMLX server. Auto-read from ~/.omlx/settings.json if not set.
OMLX_OCR_MODELNoOCR model to use. Auto-discovered from /v1/models if not set.
OMLX_OCR_PROMPTNoPrompt used for OCR extraction.OCR:

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_pdfA

Classify each page of a PDF as text / scanned / mixed / blank.

Uses the PDF text layer and image geometry only — no OCR is run. Use this first to decide whether (and which pages need) OCR.

ocr_pdfA

Convert a PDF to Markdown, OCR-ing scanned/image pages via oMLX.

Text-layer pages go through MarkItDown directly; scanned pages are rendered and OCR'd by the vision model. If pages is given (e.g. "1-5,9"), only those pages are converted. If out_path is given the Markdown is written there and a summary is returned instead.

omlx_modelsA

Check oMLX health: available models and the resolved OCR model.

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/phatpham9/markitdown-ocr-mcp'

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