Skip to main content
Glama

OpenAPI to MCP Server

by jeweis
Dockerfile617 B
FROM python:3.12-slim WORKDIR /app ENV PYTHONUNBUFFERED=1 ENV PYTHONPATH=/app RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/* COPY requirements.txt pyproject.toml ./ RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir -r requirements.txt COPY . . RUN pip install --no-cache-dir -e . RUN useradd --create-home --shell /bin/bash app && \ chown -R app:app /app USER app EXPOSE 9087 HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD curl -f http://localhost:9087/ || exit 1 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/jeweis/openapi2mcpserver'

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