Skip to main content
Glama

MCP Git Server

by MementoRC
Dockerfile1.28 kB
FROM python:3.12-slim-bookworm # Install git and essential build tools, which are runtime and build dependencies for the server # Also install curl for downloading uv RUN apt-get update && apt-get install -y --no-install-recommends git build-essential pkg-config libssl-dev curl && rm -rf /var/lib/apt/lists/* WORKDIR /app # Copy all project files into the image # This includes pyproject.toml, src/, tests/, etc. COPY . /app # Install uv # Pin a specific uv version for reproducibility. ENV UV_VERSION=0.1.37 RUN curl -LsSf https://astral.sh/uv/install.sh | sh \ && . $HOME/.local/bin/env \ && mv $HOME/.local/bin/uv /usr/local/bin/uv \ && rm -rf $HOME/.local # Install the project and its dependencies using uv # Use --system flag to install into the system Python environment in Docker # First install core runtime dependencies manually since pyproject.toml dependencies are managed by pixi RUN uv pip install --system \ "click>=8.1.7" \ "aiohttp>=3.8.0" \ "gitpython>=3.1.43" \ "mcp>=1.0.0" \ "psutil>=5.9.0" \ "pydantic>=2.0.0" \ "python-dotenv>=1.0.0" \ && uv pip install --system . # Set the entrypoint for the container # This uses the script defined in pyproject.toml under [project.scripts] ENTRYPOINT ["mcp-server-git"]

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/MementoRC/mcp-git'

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