Skip to main content
Glama

Mevzuat MCP

by saidsurucu
MIT License
100
  • Apple
  • Linux
Dockerfile1.03 kB
# Use Python 3.12 slim image FROM python:3.12-slim # Set working directory WORKDIR /app # Install system dependencies for Playwright and Python packages RUN apt-get update && apt-get install -y \ gcc \ g++ \ wget \ gnupg \ && rm -rf /var/lib/apt/lists/* # Copy Python files and requirements COPY pyproject.toml setup.py ./ COPY *.py ./ COPY requirements.txt ./ # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Install Playwright browsers (Chromium only for smaller image) RUN playwright install --with-deps chromium # Install the package in development mode RUN pip install -e . # Expose port EXPOSE 8000 # Set environment variables ENV PORT=8000 ENV PYTHONUNBUFFERED=1 ENV CONTAINER_ENV=1 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ CMD python -c "import httpx; httpx.get('http://localhost:8000/health', timeout=5)" || exit 1 # Run the ASGI application CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]

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/saidsurucu/mevzuat-mcp'

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