Skip to main content
Glama

StockMCP

by leogue
Dockerfile522 B
# Use Python 3.12 slim image FROM python:3.12-slim # Install UV COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv # Set working directory WORKDIR /app # Copy dependency files first for better caching COPY pyproject.toml uv.lock ./ # Install dependencies using UV RUN uv sync --frozen --no-dev # Copy source code COPY src/ src/ # Set environment variables ENV PYTHONPATH=/app/src ENV UV_PROJECT_ENVIRONMENT=/app/.venv # Expose port 3001 EXPOSE 3001 # Run the application CMD ["uv", "run", "python", "src/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/leogue/StockMCP'

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