Skip to main content
Glama

Git PR MCP Server

by peterj
Dockerfile888 B
# Use Python 3.11 slim as base image FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies (git for MCP operations) RUN apt-get update && apt-get install -y \ git \ curl \ && rm -rf /var/lib/apt/lists/* # Install uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv # Copy uv configuration files and README COPY pyproject.toml uv.lock README.md ./ # Install dependencies RUN uv sync --frozen --no-cache # Copy application code COPY . . # Create non-root user for security RUN useradd --create-home --shell /bin/bash app && chown -R app:app /app USER app # Expose default MCP server port EXPOSE 8000 # Health check for MCP server HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD curl -f http://localhost:${FASTMCP_PORT:-8000}/sse || exit 1 # 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/peterj/git-pr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server