Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCANNER_MCP_LOGNoLog level.INFO
SCANNER_MCP_SAVE_DIRNoWhere scans are written.~/Scans

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_scannersA

List all scanners reachable from this machine.

Discovers network scanners over mDNS (eSCL/AirScan) and local USB scanners via the platform driver stack (WIA on Windows, SANE on Linux/macOS). Returns a JSON array of scanners with their id (pass this to scan_document), name, backend, connection type and supported sources.

scan_documentA

Scan a document and return it so Claude can read it.

Args: scanner_id: Which scanner to use (from list_scanners). If omitted and exactly one scanner is found, that one is used; if several are found, an error lists them. source: auto | platen (flatbed glass) | adf (document feeder) | adf-duplex (feeder, both sides). resolution: DPI (150 fast, 300 documents, 600 fine). Default 300. color_mode: color | gray | lineart (1-bit black & white). output_format: png | jpeg | pdf. PDF is best for multi-page archives; images let Claude view the page inline. save_dir: Folder to save the scan in. Defaults to ~/Scans (or $SCANNER_MCP_SAVE_DIR). return_image: If true and the output is an image, the page images are returned inline so Claude can read the document directly. Ignored for PDF. ocr: If true, also OCR each page to text (requires Tesseract + pytesseract).

Returns a summary plus, when applicable, inline page images and/or OCR text.

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/AminHA1248/scanner-mcp'

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