Skip to main content
Glama

Panther MCP Server

Official
Apache 2.0
31
  • Apple
Dockerfile1.05 kB
# Build stage FROM python:3.12-slim AS builder WORKDIR /app # Install build dependencies RUN apt-get update && apt-get install -y \ curl \ build-essential \ && rm -rf /var/lib/apt/lists/* # Install uv RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \ mv /root/.local/bin/uv /usr/local/bin/uv # Copy project files COPY pyproject.toml README.md ./ COPY src/ ./src/ # Build wheel RUN uv build --wheel # Create virtual environment and install the wheel RUN uv venv /opt/venv && \ . /opt/venv/bin/activate && \ uv pip install --no-cache-dir dist/*.whl # Runtime stage FROM python:3.12-slim # Create non-root user RUN groupadd -r appuser && useradd -r -g appuser appuser WORKDIR /app # Copy the virtual environment COPY --from=builder /opt/venv /opt/venv # Set environment variables (after copying venv, before USER) ENV MCP_PANTHER_DOCKER_RUNTIME=true \ PATH="/opt/venv/bin:$PATH" \ PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 # Switch to non-root user USER appuser ENTRYPOINT ["mcp-panther"]

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/panther-labs/mcp-panther'

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