Skip to main content
Glama

MockLoop MCP Server

Official
by MockLoop
dockerfile_template.j2โ€ข936 B
{# Jinja2 template for Dockerfile #} FROM python:{{ python_version | default('3.9-slim') }} ARG APP_PORT={{ port | default(8000) }} ENV APP_PORT=${APP_PORT} WORKDIR /app COPY ./requirements_mock.txt . RUN pip install --no-cache-dir -r requirements_mock.txt COPY ./main.py . COPY ./logging_middleware.py . # Copy conditional feature files {%- if auth_enabled %} COPY ./auth_middleware.py . {%- endif %} {%- if webhooks_enabled %} COPY ./webhook_handler.py . {%- endif %} {%- if storage_enabled %} COPY ./storage.py . COPY ./mock_data ./mock_data {%- endif %} {%- if admin_ui_enabled %} COPY ./templates ./templates {%- endif %} EXPOSE ${APP_PORT} # Healthcheck (optional, but good practice) # HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ # CMD curl -f http://localhost:${APP_PORT}/health || exit 1 # (Requires a /health endpoint in the mock API) CMD uvicorn main:app --host 0.0.0.0 --port $APP_PORT

Latest Blog Posts

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/MockLoop/mockloop-mcp'

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