Skip to main content
Glama
idin9

idin9-doc-ocr-mcp

by idin9

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_PATHNoSQLite database path
OCR_DPINoOCR DPI setting
SMB_HOSTNoSMB scanner share host (leave blank to disable)
SMB_USERNoSMB username (leave blank to disable)
SMB_SHARENoSMB scanner share name (leave blank to disable)
SMB_DOMAINNoSMB domain (optional)
WEBUI_PORTNoPort for the optional web review UI8080
SMB_PASSWORDNoSMB password (leave blank to disable)
OCR_LANGUAGESNoOCR language packstha+eng
SCAN_DROP_DIRNoLocal/mounted scanner drop folder
TESSERACT_CMDNoOCR engine commandtesseract
MIN_EMBEDDED_TEXT_CHARSNoThreshold to decide digital vs scanned extraction

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
ocr_extract_invoiceA

Extract a single PDF/image invoice and return structured JSON.

ocr_batch_processC

Process all pending files in the drop/staging directory.

ocr_poll_scanner_shareB

Connect to the configured SMB scanner share, pull and process new files.

ocr_get_recordC

Retrieve a processed invoice record from the database.

ocr_list_recordsC

List invoice records with optional status filter.

ocr_review_queueA

List low-confidence (need_train) records awaiting human confirmation.

ocr_review_recordB

Confirm (as success) or reject (as failed) a low-confidence record.

corrected is an optional JSON string of overridden fields (invoiceNumber, invoiceDate, currency, supplier_name, supplier_taxId, buyer_name, buyer_taxId, capture_rate).

ocr_manage_contactC

Perform CRUD operations on the contacts database.

ocr_system_healthA

Report database status, SMB status, and queue depth.

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/idin9/idin9-doc-ocr-mcp'

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