# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the official Python image with version 3.10
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy the project files into the container
COPY . /app
# Install dependencies from pyproject.toml using uv
# We will install uv first to use it for dependency management
RUN pip install uv
# Install the project's dependencies using the lockfile
RUN uv sync --frozen --no-install-project --no-dev --no-editable
# Set environment variables for the API keys
ENV SEMANTIC_SCHOLAR_API_KEY=your_key_here
ENV CROSSREF_API_KEY=your_key_here
# Expose the port that the server will run on
EXPOSE 8000
# Command to run the server
CMD ["uv", "run", "server.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/afrise/academic-search-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server