Skip to main content
Glama

OXII Smart Home MCP Server

by BaoBao112233
Dockerfile970 B
FROM python:3.10-slim # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 ENV PIP_NO_CACHE_DIR=1 ENV PIP_DISABLE_PIP_VERSION_CHECK=1 WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/* # Install poetry RUN pip install poetry # Copy dependency files first for better caching COPY pyproject.toml . # Configure poetry and install dependencies RUN poetry config virtualenvs.create false \ && poetry install --only main --no-root # Copy application code COPY main.py . COPY tools/ ./tools/ # Create non-root user for security RUN useradd --create-home --shell /bin/bash appuser \ && chown -R appuser:appuser /app USER appuser # Expose the port EXPOSE 9031 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ CMD curl -f http://localhost:9031/health || exit 1 # Run the application CMD ["python", "main.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/BaoBao112233/Mockup-MCP'

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