Skip to main content
Glama

Terminal MCP Server

by YongpengFu
Dockerfile663 B
# Use the official uv Python image with Python 3.12 FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim # Set working directory WORKDIR /app # Copy dependency files first for better caching COPY pyproject.toml uv.lock* ./ # Install dependencies using uv RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --locked # Copy the application code (including resource directory) COPY . . # Ensure resource directory exists and has proper permissions RUN mkdir -p /app/resource && chmod 755 /app/resource # Expose the port that FastMCP typically uses (you may need to adjust this) EXPOSE 8000 # Run the application using uv CMD ["uv", "run", "server.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/YongpengFu/mcp-server'

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