Skip to main content
Glama

OXII Smart Home MCP Server

by BaoBao112233
Dockerfile.alpine911 B
# Lightweight Dockerfile for MCP Oxii-server (Cloud Deployment) FROM python:3.10-alpine # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 ENV PIP_NO_CACHE_DIR=1 WORKDIR /app # Install system dependencies RUN apk add --no-cache \ curl \ gcc \ musl-dev \ python3-dev # Install poetry RUN pip install poetry # Copy dependency files COPY pyproject.toml . # 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 RUN adduser -D -s /bin/sh 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