Skip to main content
Glama

Azure AI Image Editor MCP Server

by satomic
Dockerfile1.11 kB
# Use official Python runtime as base image FROM python:3.11-slim # Set working directory WORKDIR /app # Set environment variables ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 # Install system dependencies RUN apt-get update && \ apt-get install -y --no-install-recommends \ gcc \ && rm -rf /var/lib/apt/lists/* # Copy requirements first for better caching COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy source code COPY src/ ./src/ # Create directories for logs and images RUN mkdir -p /app/logs /app/images # Expose HTTP server port EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1 # Set default environment variables (can be overridden) ENV MCP_SERVER_HOST=0.0.0.0 \ MCP_SERVER_PORT=8000 \ DEFAULT_IMAGE_SIZE=1792x1024 # Run the HTTP server CMD ["python", "src/mcp_server_http.py"]

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/satomic/Azure-AI-Image-Editor-MCP'

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