# 1. Use an official Python base image
FROM python:3.12-slim
# 2. Install uv
RUN pip install --no-cache-dir uv
# 3. Set working directory
WORKDIR /app
# 4. Copy project files
COPY . /app
# 5. Install dependencies (if you have requirements.txt)
# If you have pyproject.toml, uv can install from it directly
RUN if [ -f requirements.txt ]; then pip install --no-cache-dir -r requirements.txt; fi
# 6. Expose the port
EXPOSE 3000
# 7. Command to run the MCP server
CMD ["uv", "run", "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/riteshbangal/BuildMcpServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server