Skip to main content
Glama

MCP Image Recognition Server

FROM python:3.10-slim AS builder WORKDIR /app # Install system dependencies (including Tesseract OCR) RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ tesseract-ocr \ && rm -rf /var/lib/apt/lists/* # Copy only the requirements files first to leverage Docker cache COPY requirements.txt . COPY requirements-dev.txt . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy project files COPY . . # Install the package RUN pip install -e . FROM python:3.10-slim AS release WORKDIR /app # Install Tesseract OCR RUN apt-get update && apt-get install -y --no-install-recommends \ tesseract-ocr \ && rm -rf /var/lib/apt/lists/* # Copy installed packages and project from builder COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages COPY --from=builder /app /app # Set environment variables ENV PYTHONUNBUFFERED=1 ENV TESSERACT_CMD=/usr/bin/tesseract # Expose port EXPOSE 8080 # Run the server when the container starts CMD ["python", "-m", "image_recognition_server.server"]

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/mario-andreschak/mcp-image-recognition'

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