Back to Home
Ricardo-M-L icon

mcp-ocr-server

by Ricardo-M-L

Overview

Provides a production-grade OCR server for text recognition from images, featuring intelligent preprocessing and integration with the Model Context Protocol (MCP).

Installation

Run Command
docker run --rm -it -v $(pwd)/configs:/app/configs -v $(pwd)/test:/app/test mcp-ocr-server:latest

Security Notes

The `ocr_recognize_text` and `ocr_batch_recognize` tools accept `image_path` as an argument, which, if not properly validated or constrained by the calling MCP client, could allow the server to read arbitrary local files (Local File Inclusion). This poses a significant risk if the server is exposed to untrusted input or is not run in a strictly sandboxed environment. No explicit 'eval' or obfuscation was found, nor were hardcoded secrets detected in the provided code snippets.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens200
Stars0
Forks0
Last Update2025-12-01

Tags

OCRGoTesseractOpenCVImage Processing