Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OCR_MCP_DATA_DIRNodaemon 的 lock / socket / log 位置
OCR_MCP_LOG_LEVELNo日志级别INFO
OCR_MCP_MODEL_DETNo检测模型PP-OCRv6_medium_det
OCR_MCP_MODEL_DIRNo自定义模型缓存目录(离线部署,会设置 PADDLEX_HOME)
OCR_MCP_MODEL_RECNo识别模型PP-OCRv6_medium_rec
OCR_MCP_IDLE_TIMEOUTNodaemon 空闲退出秒数600
OCR_MCP_REQUEST_TIMEOUTNo单次 OCR 请求超时秒数60

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_imageB

Recognize text in a local image file. Returns text + per-line confidence + coordinates.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusion or overlapping purpose. An agent can immediately identify the sole OCR action.

Naming Consistency5/5

The single tool name, ocr_image, follows a clear snake_case convention. With only one tool, there is no inconsistency to evaluate.

Tool Count3/5

A single tool for OCR is thin for the apparent domain. While it performs the core recognition action, typical OCR servers would benefit from additional operations such as batch processing or URL/PDF handling.

Completeness3/5

The core local-image OCR operation is present, but notable gaps exist. There is no support for batch files, alternate image sources, language selection, or configuration options that agents might reasonably expect.

Maintenance

ActivityMaintained
ResponsivenessNo issues