# Use an official Python runtime as a parent image
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Copy requirements.txt and install dependencies
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . /app/
# Expose port 8000 for the MCP server
EXPOSE 8000
# Command to run the server
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/sauniket/mcp-yfinance-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server