# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use a Python image with uv pre-installed
FROM python:3.12-slim-bookworm
# Install uv
RUN pip install uv
WORKDIR /app
# Copy the application
COPY . .
# Create virtual environment and install dependencies including the package itself
RUN uv venv .venv && \
uv pip install -r requirements.txt && \
uv pip install -e .
# Set environment variables for the virtual environment
ENV PATH="/app/.venv/bin:$PATH"
ENV PYTHONPATH="/app:$PYTHONPATH"
# Environment variables for Jenkins server
ENV JENKINS_URL=https://your-jenkins-server/
ENV JENKINS_USERNAME=your-username
ENV JENKINS_PASSWORD=your-password
# Set to "true" to use API token authentication instead of username/password with crumb
# When using API token, set JENKINS_PASSWORD to your API token
ENV JENKINS_USE_API_TOKEN=false
# When running the container, add --db-path and a bind mount to the host's db file
ENTRYPOINT ["jenkins-mcp"]
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/kjozsa/jenkins-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server