Skip to main content
Glama

SQL Query MCP Server

Dockerfile502 B
FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN apt-get update && apt-get install -y git netcat-openbsd && \ git clone https://github.com/modelcontextprotocol/python-sdk.git /tmp/python-sdk && \ pip install /tmp/python-sdk && \ pip install --no-cache-dir -r requirements.txt && \ rm -rf /tmp/python-sdk COPY . . RUN chmod +x /app/wait-for-postgres.sh CMD ["./wait-for-postgres.sh", "uvicorn", "server:app", "--app-dir", "src", "--host", "0.0.0.0", "--port", "3333"]

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/rajeevchandra/mcp-ollama-postgres'

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