# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the official Python image from the Docker Hub
FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy the requirements and source code into the container
COPY pyproject.toml /app/
COPY src /app/src
# Install dependencies
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir hatchling
# Install the project in the container
RUN pip install --no-cache-dir /app
# Define environment variables
ENV POLYMARKET_API_KEY="<insert api key>"
# Run the server
CMD ["python", "src/polymarket_mcp/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/berlinbra/polymarket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server