Skip to main content
Glama

Test MCP Server

by mokesmokane
Dockerfile506 B
FROM python:3.11-slim # Set working directory WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY . . # Expose port EXPOSE 8000 # Health check (Railway sets PORT dynamically, so we skip the healthcheck) # HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ # CMD python -c "import requests; requests.get('http://localhost:8000/health')" # Run the HTTP server CMD ["python", "main_http.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/mokesmokane/mcp'

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