Skip to main content
Glama

OpenAI MCP Server

Dockerfile477 B
FROM python:3.11-slim WORKDIR /app # Copy requirements and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy server code COPY server.py . # Expose the HTTP port EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ CMD python -c "import httpx; httpx.get('http://localhost:8000/health')" || exit 1 # Run the server CMD ["fastmcp", "run", "server.py", "--host", "0.0.0.0", "--port", "8000"]

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/NimbleBrainInc/mcp-openai'

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