Skip to main content
Glama

Template MCP Server

Containerfile1.58 kB
FROM registry.access.redhat.com/ubi9/python-312:latest # -------------------------------------------------------------------------------------------------- # set the working directory to /app # -------------------------------------------------------------------------------------------------- WORKDIR /app # -------------------------------------------------------------------------------------------------- # Copy manifest files and install python packages # -------------------------------------------------------------------------------------------------- USER root COPY pyproject.toml /app/pyproject.toml RUN pip install uv RUN uv venv RUN source /app/.venv/bin/activate RUN uv pip install -r pyproject.toml USER default # -------------------------------------------------------------------------------------------------- # copy source code and files # -------------------------------------------------------------------------------------------------- COPY template_mcp_server /app/template_mcp_server # -------------------------------------------------------------------------------------------------- # Set PYTHONPATH to include /app # -------------------------------------------------------------------------------------------------- ENV PYTHONPATH=/app # -------------------------------------------------------------------------------------------------- # add entrypoint for the container # -------------------------------------------------------------------------------------------------- CMD ["/app/.venv/bin/python", "-m", "template_mcp_server.src.main"]

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/redhat-data-and-ai/template-mcp-server'

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