Skip to main content
Glama

Hello MCP Server

by abudhu
Dockerfile637 B
# Use Python 3.13 slim image for smaller size FROM python:3.13-slim # Set working directory WORKDIR /app # Copy requirements first for better caching COPY requirements.txt . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy server code COPY server.py . # Set environment variables ENV TRANSPORT=http ENV HOST=0.0.0.0 ENV PORT=8000 # Expose the port EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/mcp')" || exit 1 # Run the server CMD ["python", "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/abudhu/hello-mcp'

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