Skip to main content
Glama

Document Intelligence MCP Server

by dshivasane
test_ocr.py565 B
import pytesseract from pdf2image import convert_from_path # Test if pytesseract can find tesseract try: print(f"Tesseract version: {pytesseract.get_tesseract_version()}") print("✓ Tesseract is working") except: print("✗ Tesseract not found. Please install and add to PATH.") # Test if pdf2image can find poppler try: # This will fail if poppler is not installed from pdf2image.exceptions import PDFInfoNotInstalledError print("✓ Poppler dependencies available") except ImportError as e: print(f"✗ pdf2image import error: {e}")

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/dshivasane/Building-an-MCP-Server-with-OCR'

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